${function() {
const variantData = data.variant || {"id":"29e8b1e9-8265-4128-83c9-443f4ba07ad9","product_id":"a0303147-b768-428e-aa65-d04d1a194c23","title":"white-XL","weight_unit":"kg","inventory_quantity":1000,"sku":"XKLW21B-U1015-white-XL","barcode":"","position":1,"option1":"white","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/00138b083ae4e7005715a7602f094f01.jpg","path":"00138b083ae4e7005715a7602f094f01.jpg","width":730,"height":730,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"62.99","price":"25.99","retail_price":"62.99","available":true,"url":"\/products\/lets-watch-the-sunset-oversized-hoodie9ddbdb08-6456-4015-8a16-d7d41bdbc782?variant=29e8b1e9-8265-4128-83c9-443f4ba07ad9","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"XL"}],"off_ratio":59,"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}
`
}()}
${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":"29e8b1e9-8265-4128-83c9-443f4ba07ad9","product_id":"a0303147-b768-428e-aa65-d04d1a194c23","title":"white-XL","weight_unit":"kg","inventory_quantity":1000,"sku":"XKLW21B-U1015-white-XL","barcode":"","position":1,"option1":"white","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/00138b083ae4e7005715a7602f094f01.jpg","path":"00138b083ae4e7005715a7602f094f01.jpg","width":730,"height":730,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"62.99","price":"25.99","retail_price":"62.99","available":true,"url":"\/products\/lets-watch-the-sunset-oversized-hoodie9ddbdb08-6456-4015-8a16-d7d41bdbc782?variant=29e8b1e9-8265-4128-83c9-443f4ba07ad9","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"XL"}],"off_ratio":59,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}