${function() {
const variantData = data.variant || {"id":"8cef553e-cdf2-4ff0-a443-01b7037cf7cc","product_id":"17c0c070-ad8e-40ab-948b-b4411301aaa5","title":"White","weight_unit":"g","inventory_quantity":300,"sku":"CJYP185095702BY","barcode":"","position":2,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e103b538d5e789787d2c5e38d503f52c.jpeg","path":"e103b538d5e789787d2c5e38d503f52c.jpeg","width":790,"height":739,"alt":"","aspect_ratio":1.0690121786197564},"wholesale_price":[{"price":53,"min_quantity":1}],"weight":"136","compare_at_price":"0","price":"53","retail_price":"0","available":true,"url":"\/products\/new-bluetooth-gaming-electronic-sports-wireless-clip-on-sports-headset?variant=8cef553e-cdf2-4ff0-a443-01b7037cf7cc","available_quantity":300,"options":[{"name":"Color","value":"White"}],"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":"8cef553e-cdf2-4ff0-a443-01b7037cf7cc","product_id":"17c0c070-ad8e-40ab-948b-b4411301aaa5","title":"White","weight_unit":"g","inventory_quantity":300,"sku":"CJYP185095702BY","barcode":"","position":2,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e103b538d5e789787d2c5e38d503f52c.jpeg","path":"e103b538d5e789787d2c5e38d503f52c.jpeg","width":790,"height":739,"alt":"","aspect_ratio":1.0690121786197564},"wholesale_price":[{"price":53,"min_quantity":1}],"weight":"136","compare_at_price":"0","price":"53","retail_price":"0","available":true,"url":"\/products\/new-bluetooth-gaming-electronic-sports-wireless-clip-on-sports-headset?variant=8cef553e-cdf2-4ff0-a443-01b7037cf7cc","available_quantity":300,"options":[{"name":"Color","value":"White"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}