${function() {
const variantData = data.variant || {"id":"e90e9000-a422-491f-a056-c6f7ab765bed","product_id":"237445eb-95a9-4787-b91f-43c33d12117c","title":"Orange-1 PC","weight_unit":"kg","inventory_quantity":1000,"sku":"ZRC-Orange-1 PC-A0036440","barcode":"","position":1,"option1":"Orange","option2":"1 PC","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f32c67d1eecf679f12967af42f16d687.jpeg","path":"f32c67d1eecf679f12967af42f16d687.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"0","compare_at_price":"12.99","price":"12.99","retail_price":"12.99","available":true,"url":"\/products\/chain?variant=e90e9000-a422-491f-a056-c6f7ab765bed","available_quantity":999999999,"options":[{"name":"COLOR","value":"Orange"},{"name":"Material","value":"1 PC"}],"off_ratio":0,"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":"e90e9000-a422-491f-a056-c6f7ab765bed","product_id":"237445eb-95a9-4787-b91f-43c33d12117c","title":"Orange-1 PC","weight_unit":"kg","inventory_quantity":1000,"sku":"ZRC-Orange-1 PC-A0036440","barcode":"","position":1,"option1":"Orange","option2":"1 PC","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f32c67d1eecf679f12967af42f16d687.jpeg","path":"f32c67d1eecf679f12967af42f16d687.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"0","compare_at_price":"12.99","price":"12.99","retail_price":"12.99","available":true,"url":"\/products\/chain?variant=e90e9000-a422-491f-a056-c6f7ab765bed","available_quantity":999999999,"options":[{"name":"COLOR","value":"Orange"},{"name":"Material","value":"1 PC"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}