${function() {
const variantData = data.variant || {"id":"9f2b75f8-dcab-4e5e-8bc1-82f8d9a57dbd","product_id":"cb237e8f-0e68-4002-a38a-576ac7d2fdc9","title":"Black-S","weight_unit":"g","inventory_quantity":806,"sku":"102293100008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3f2ca965f212547934c767fb3893b5ab.jpeg","path":"3f2ca965f212547934c767fb3893b5ab.jpeg","width":800,"height":800,"alt":"Evil Sheep Head Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/evil-sheep-head-printed-mens-t-shirt?variant=9f2b75f8-dcab-4e5e-8bc1-82f8d9a57dbd","available_quantity":806,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"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}
`
}()}
${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":"9f2b75f8-dcab-4e5e-8bc1-82f8d9a57dbd","product_id":"cb237e8f-0e68-4002-a38a-576ac7d2fdc9","title":"Black-S","weight_unit":"g","inventory_quantity":806,"sku":"102293100008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3f2ca965f212547934c767fb3893b5ab.jpeg","path":"3f2ca965f212547934c767fb3893b5ab.jpeg","width":800,"height":800,"alt":"Evil Sheep Head Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/evil-sheep-head-printed-mens-t-shirt?variant=9f2b75f8-dcab-4e5e-8bc1-82f8d9a57dbd","available_quantity":806,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1};
return `
`
}()}