${function() {
const variantData = data.variant || {"id":"4460b155-aacb-4511-8f7c-82a11c2e346c","product_id":"2b813349-6acf-471e-b2d0-465f09164524","title":"1PC","weight_unit":"kg","inventory_quantity":998,"sku":"Measuring Tape Clip-1PC","barcode":"","position":1,"option1":"1PC","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/measuring-tape-clip-\ud83d\udca5hot-sale-50off\ud83d\udca5?variant=4460b155-aacb-4511-8f7c-82a11c2e346c","available_quantity":999999999,"options":[{"name":"STYLE","value":"1PC"}],"off_ratio":0,"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.