${function() {
const variantData = data.variant || {"id":"6b30fd4e-b462-4e18-a424-2727b702bbe0","product_id":"26e2d128-061a-4c38-b727-ba4a02992862","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--white-S-A0022776","barcode":"","position":13,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c8f7991da4c0d92152934385a1c35769.jpg","path":"c8f7991da4c0d92152934385a1c35769.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"33.99","retail_price":"59.99","available":true,"url":"\/products\/mothers-day-mama-sweatshirt-lv5l?variant=6b30fd4e-b462-4e18-a424-2727b702bbe0","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":43,"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":"6b30fd4e-b462-4e18-a424-2727b702bbe0","product_id":"26e2d128-061a-4c38-b727-ba4a02992862","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--white-S-A0022776","barcode":"","position":13,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c8f7991da4c0d92152934385a1c35769.jpg","path":"c8f7991da4c0d92152934385a1c35769.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"33.99","retail_price":"59.99","available":true,"url":"\/products\/mothers-day-mama-sweatshirt-lv5l?variant=6b30fd4e-b462-4e18-a424-2727b702bbe0","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":0};
return `
`
}()}