${function() {
const variantData = data.variant || {"id":"0ef0ee61-83e5-40c8-840a-8920bd2d6f90","product_id":"3a50bde3-f602-4329-843b-aed81f6e2317","title":"Black","weight_unit":"g","inventory_quantity":300,"sku":"CJEJ186054001AZ","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce08ef26dd5da279f19fb36da7e36c5b.jpeg","path":"ce08ef26dd5da279f19fb36da7e36c5b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69,"min_quantity":1}],"weight":"400","compare_at_price":"0","price":"69","retail_price":"0","available":true,"url":"\/products\/head-worn-fully-enclosed-monitoring-earphones?variant=0ef0ee61-83e5-40c8-840a-8920bd2d6f90","available_quantity":300,"options":[{"name":"Color","value":"Black"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"0ef0ee61-83e5-40c8-840a-8920bd2d6f90","product_id":"3a50bde3-f602-4329-843b-aed81f6e2317","title":"Black","weight_unit":"g","inventory_quantity":300,"sku":"CJEJ186054001AZ","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce08ef26dd5da279f19fb36da7e36c5b.jpeg","path":"ce08ef26dd5da279f19fb36da7e36c5b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69,"min_quantity":1}],"weight":"400","compare_at_price":"0","price":"69","retail_price":"0","available":true,"url":"\/products\/head-worn-fully-enclosed-monitoring-earphones?variant=0ef0ee61-83e5-40c8-840a-8920bd2d6f90","available_quantity":300,"options":[{"name":"Color","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}