${function() {
const variantData = data.variant || {"id":"79e7d3be-ab26-47f8-8d12-7fb4d77d868a","product_id":"fb2310ab-d273-4bb6-a7de-8576e9115de9","title":"Gold-49mm","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Gold","option2":"49mm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09ad7fb39a29fcf04b88f392053f70a6.jpeg","path":"09ad7fb39a29fcf04b88f392053f70a6.jpeg","width":750,"height":750,"alt":"Glossy Leather Apple Watch Band-CHANEL-[GUCCLV]","aspect_ratio":1},"wholesale_price":[{"price":23.69,"min_quantity":1}],"weight":"0","compare_at_price":"269","price":"23.69","retail_price":"269","available":true,"url":"\/products\/glossy-leather-apple-watch-band?variant=79e7d3be-ab26-47f8-8d12-7fb4d77d868a","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"},{"name":"Size","value":"49mm"}],"off_ratio":91,"flashsale_info":[],"sales":230};
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}
`
}()}
Size
${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":"79e7d3be-ab26-47f8-8d12-7fb4d77d868a","product_id":"fb2310ab-d273-4bb6-a7de-8576e9115de9","title":"Gold-49mm","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Gold","option2":"49mm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09ad7fb39a29fcf04b88f392053f70a6.jpeg","path":"09ad7fb39a29fcf04b88f392053f70a6.jpeg","width":750,"height":750,"alt":"Glossy Leather Apple Watch Band-CHANEL-[GUCCLV]","aspect_ratio":1},"wholesale_price":[{"price":23.69,"min_quantity":1}],"weight":"0","compare_at_price":"269","price":"23.69","retail_price":"269","available":true,"url":"\/products\/glossy-leather-apple-watch-band?variant=79e7d3be-ab26-47f8-8d12-7fb4d77d868a","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"},{"name":"Size","value":"49mm"}],"off_ratio":91,"flashsale_info":[],"sales":230};
return `
`
}()}