${function() {
const variantData = data.variant || {"id":"13f0e0a3-41da-4105-978b-3c41cad3fc82","product_id":"5bc6020b-242b-4a5f-aaa9-99ef4805303f","title":"Buy 1 Blue Ball Get Another Blue Ball FREE","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Buy 1 Blue Ball Get Another Blue Ball FREE","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/626d2dc9b275ef87c722fd1ebdb6c2b9.jpeg","path":"626d2dc9b275ef87c722fd1ebdb6c2b9.jpeg","width":576,"height":576,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"69","price":"32.99","retail_price":"69","available":true,"url":"\/products\/the-original-rolling-smart-ball?variant=13f0e0a3-41da-4105-978b-3c41cad3fc82","available_quantity":999999999,"options":[{"name":"COLOR","value":"Buy 1 Blue Ball Get Another Blue Ball FREE"}],"off_ratio":52,"flashsale_info":[],"sales":0};
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":"13f0e0a3-41da-4105-978b-3c41cad3fc82","product_id":"5bc6020b-242b-4a5f-aaa9-99ef4805303f","title":"Buy 1 Blue Ball Get Another Blue Ball FREE","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Buy 1 Blue Ball Get Another Blue Ball FREE","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/626d2dc9b275ef87c722fd1ebdb6c2b9.jpeg","path":"626d2dc9b275ef87c722fd1ebdb6c2b9.jpeg","width":576,"height":576,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"69","price":"32.99","retail_price":"69","available":true,"url":"\/products\/the-original-rolling-smart-ball?variant=13f0e0a3-41da-4105-978b-3c41cad3fc82","available_quantity":999999999,"options":[{"name":"COLOR","value":"Buy 1 Blue Ball Get Another Blue Ball FREE"}],"off_ratio":52,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}