${function() {
const variantData = data.variant || {"id":"8905fa77-98d1-4311-8280-373a430a9aaa","product_id":"1d96a802-b4a5-4573-8ab1-2bbb1ece08ec","title":"Grey-M","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--Grey-M-A002371","barcode":"","position":11,"option1":"Grey","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/26dd742471807d1a993bd05bd22717b4.webp","path":"26dd742471807d1a993bd05bd22717b4.webp","width":667,"height":890,"alt":"","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"34.99","retail_price":"42.99","available":true,"url":"\/products\/cak?variant=8905fa77-98d1-4311-8280-373a430a9aaa","available_quantity":1000,"options":[{"name":"COLOR","value":"Grey"},{"name":"SIZE","value":"M"}],"off_ratio":19,"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":"8905fa77-98d1-4311-8280-373a430a9aaa","product_id":"1d96a802-b4a5-4573-8ab1-2bbb1ece08ec","title":"Grey-M","weight_unit":"kg","inventory_quantity":1000,"sku":"Zero--Grey-M-A002371","barcode":"","position":11,"option1":"Grey","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/26dd742471807d1a993bd05bd22717b4.webp","path":"26dd742471807d1a993bd05bd22717b4.webp","width":667,"height":890,"alt":"","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"34.99","retail_price":"42.99","available":true,"url":"\/products\/cak?variant=8905fa77-98d1-4311-8280-373a430a9aaa","available_quantity":1000,"options":[{"name":"COLOR","value":"Grey"},{"name":"SIZE","value":"M"}],"off_ratio":19,"flashsale_info":[],"sales":0};
return `
`
}()}