${function() {
const variantData = data.variant || {"id":"bb4f9897-6f9d-4ad6-b020-fb3b9d302bec","product_id":"d9d833cf-af6b-48c0-a665-227f0d2e186e","title":"creamy white-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"1511949521018470402","barcode":"","position":1,"option1":"creamy white","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/27900521ab3e0ec62867b7bae8ec7831.jpeg","path":"27900521ab3e0ec62867b7bae8ec7831.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26","retail_price":"0","available":true,"url":"\/products\/mens-cotton-and-linen-frayed-sleeveless-shirt?variant=bb4f9897-6f9d-4ad6-b020-fb3b9d302bec","available_quantity":999999999,"options":[{"name":"Color","value":"creamy white"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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}
`
}()}
${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":"bb4f9897-6f9d-4ad6-b020-fb3b9d302bec","product_id":"d9d833cf-af6b-48c0-a665-227f0d2e186e","title":"creamy white-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"1511949521018470402","barcode":"","position":1,"option1":"creamy white","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/27900521ab3e0ec62867b7bae8ec7831.jpeg","path":"27900521ab3e0ec62867b7bae8ec7831.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26","retail_price":"0","available":true,"url":"\/products\/mens-cotton-and-linen-frayed-sleeveless-shirt?variant=bb4f9897-6f9d-4ad6-b020-fb3b9d302bec","available_quantity":999999999,"options":[{"name":"Color","value":"creamy white"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}