${function() {
const variantData = data.variant || {"id":"f67cff00-bb28-4509-b80e-8c718ad10b53","product_id":"95a1253a-642d-4623-a121-fd541f77891c","title":"Buy 1","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Buy 1","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"29.99","retail_price":"49.99","available":true,"url":"\/products\/car-charging-cable-hyot?variant=f67cff00-bb28-4509-b80e-8c718ad10b53","available_quantity":999999999,"options":[{"name":"QTY","value":"Buy 1"}],"off_ratio":40,"flashsale_info":[],"sales":629};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"f67cff00-bb28-4509-b80e-8c718ad10b53","product_id":"95a1253a-642d-4623-a121-fd541f77891c","title":"Buy 1","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Buy 1","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"29.99","retail_price":"49.99","available":true,"url":"\/products\/car-charging-cable-hyot?variant=f67cff00-bb28-4509-b80e-8c718ad10b53","available_quantity":999999999,"options":[{"name":"QTY","value":"Buy 1"}],"off_ratio":40,"flashsale_info":[],"sales":629};
return `
`
}()}