${function() {
const variantData = data.variant || {"id":"1eedecc7-5aa8-4843-b962-4b1e1c056964","product_id":"e66f8215-fede-4794-a761-2e5de6080a9a","title":"BUY 1","weight_unit":"kg","inventory_quantity":999,"sku":"LY1592073-\u04bb\u04bb\u04e2","barcode":"","position":1,"option1":"BUY 1","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0","compare_at_price":"27.98","price":"13.99","retail_price":"27.98","available":true,"url":"\/products\/automatic-telescopic-tape-measure?variant=1eedecc7-5aa8-4843-b962-4b1e1c056964","available_quantity":999999999,"options":[{"name":"QTY","value":"BUY 1"}],"off_ratio":50,"flashsale_info":[],"sales":1};
const saveType = "percentage";
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":"1eedecc7-5aa8-4843-b962-4b1e1c056964","product_id":"e66f8215-fede-4794-a761-2e5de6080a9a","title":"BUY 1","weight_unit":"kg","inventory_quantity":999,"sku":"LY1592073-\u04bb\u04bb\u04e2","barcode":"","position":1,"option1":"BUY 1","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0","compare_at_price":"27.98","price":"13.99","retail_price":"27.98","available":true,"url":"\/products\/automatic-telescopic-tape-measure?variant=1eedecc7-5aa8-4843-b962-4b1e1c056964","available_quantity":999999999,"options":[{"name":"QTY","value":"BUY 1"}],"off_ratio":50,"flashsale_info":[],"sales":1};
return `
`
}()}