${function() {
const variantData = data.variant || {"id":"e7bc7a18-fd63-4897-b23a-cb0e46b779b6","product_id":"7f42d739-1763-4a02-a0e0-9e56259ed2db","title":"Black-Bluetooth Headset","weight_unit":"g","inventory_quantity":200,"sku":"CJYP185462101AZ","barcode":"","position":1,"option1":"Black","option2":"Bluetooth Headset","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b34b971cff4a96f3012eca6c73d62147.jpeg","path":"b34b971cff4a96f3012eca6c73d62147.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33,"min_quantity":1}],"weight":"68","compare_at_price":"0","price":"33","retail_price":"0","available":true,"url":"\/products\/sports-neck-hanging-in-ear-bluetooth-headset?variant=e7bc7a18-fd63-4897-b23a-cb0e46b779b6","available_quantity":200,"options":[{"name":"Color","value":"Black"},{"name":"Type","value":"Bluetooth Headset"}],"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":"e7bc7a18-fd63-4897-b23a-cb0e46b779b6","product_id":"7f42d739-1763-4a02-a0e0-9e56259ed2db","title":"Black-Bluetooth Headset","weight_unit":"g","inventory_quantity":200,"sku":"CJYP185462101AZ","barcode":"","position":1,"option1":"Black","option2":"Bluetooth Headset","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b34b971cff4a96f3012eca6c73d62147.jpeg","path":"b34b971cff4a96f3012eca6c73d62147.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33,"min_quantity":1}],"weight":"68","compare_at_price":"0","price":"33","retail_price":"0","available":true,"url":"\/products\/sports-neck-hanging-in-ear-bluetooth-headset?variant=e7bc7a18-fd63-4897-b23a-cb0e46b779b6","available_quantity":200,"options":[{"name":"Color","value":"Black"},{"name":"Type","value":"Bluetooth Headset"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}