${function() {
const variantData = data.variant || {"id":"696fdc87-a69f-403f-ba4e-6cfce6c84e19","product_id":"fb2310ab-d273-4bb6-a7de-8576e9115de9","title":"Rose Gold-49mm","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":6,"option1":"Rose Gold","option2":"49mm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/303d07975db0a2cf6584f786ec747f07.jpeg","path":"303d07975db0a2cf6584f786ec747f07.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=696fdc87-a69f-403f-ba4e-6cfce6c84e19","available_quantity":999999999,"options":[{"name":"Color","value":"Rose 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":"696fdc87-a69f-403f-ba4e-6cfce6c84e19","product_id":"fb2310ab-d273-4bb6-a7de-8576e9115de9","title":"Rose Gold-49mm","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":6,"option1":"Rose Gold","option2":"49mm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/303d07975db0a2cf6584f786ec747f07.jpeg","path":"303d07975db0a2cf6584f786ec747f07.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=696fdc87-a69f-403f-ba4e-6cfce6c84e19","available_quantity":999999999,"options":[{"name":"Color","value":"Rose Gold"},{"name":"Size","value":"49mm"}],"off_ratio":91,"flashsale_info":[],"sales":230};
return `
`
}()}