${function() {
const variantData = data.variant || {"id":"27533078-f44d-4571-b789-9ff205a4dade","product_id":"b0ff982e-b941-45e1-a2e5-08a26aa650ca","title":"Blue gray","weight_unit":"g","inventory_quantity":0,"sku":"IN-0304-Blue gray","barcode":"","position":3,"option1":"Blue gray","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f027896a28d42ad4d72c0ba8b04c95b4.jpeg","path":"f027896a28d42ad4d72c0ba8b04c95b4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/3d-surround-open-ows-bluetooth-headphones?variant=27533078-f44d-4571-b789-9ff205a4dade","available_quantity":999999999,"options":[{"name":"Color","value":"Blue gray"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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.