${function() {
const variantData = data.variant || {"id":"4ee9e9ad-df26-42cf-ba13-ca755478fd24","product_id":"5af7f15d-4f56-45d8-8d90-0d528e851085","title":"Black Matte-USB","weight_unit":"g","inventory_quantity":200,"sku":"CJYP184536501AZ","barcode":"","position":1,"option1":"Black Matte","option2":"USB","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/718d97fb2bf2b55dfc4007869a036401.jpeg","path":"718d97fb2bf2b55dfc4007869a036401.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":77,"min_quantity":1}],"weight":"107","compare_at_price":"0","price":"77","retail_price":"0","available":true,"url":"\/products\/semi-in-ear-noise-reduction-bluetooth-headset?variant=4ee9e9ad-df26-42cf-ba13-ca755478fd24","available_quantity":200,"options":[{"name":"Color","value":"Black Matte"},{"name":"Type","value":"USB"}],"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":"4ee9e9ad-df26-42cf-ba13-ca755478fd24","product_id":"5af7f15d-4f56-45d8-8d90-0d528e851085","title":"Black Matte-USB","weight_unit":"g","inventory_quantity":200,"sku":"CJYP184536501AZ","barcode":"","position":1,"option1":"Black Matte","option2":"USB","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/718d97fb2bf2b55dfc4007869a036401.jpeg","path":"718d97fb2bf2b55dfc4007869a036401.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":77,"min_quantity":1}],"weight":"107","compare_at_price":"0","price":"77","retail_price":"0","available":true,"url":"\/products\/semi-in-ear-noise-reduction-bluetooth-headset?variant=4ee9e9ad-df26-42cf-ba13-ca755478fd24","available_quantity":200,"options":[{"name":"Color","value":"Black Matte"},{"name":"Type","value":"USB"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}