${function() {
const variantData = data.variant || {"id":"2d6e2277-c4a7-4ba5-9505-2f31a64883e5","product_id":"8bed647f-ab5c-4ca5-a8a1-4b3a7297f691","title":"1.2m pink with microphone","weight_unit":"g","inventory_quantity":300,"sku":"CJEJ172975501AZ","barcode":"","position":1,"option1":"1.2m pink with microphone","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2321a85cd64cfc2b8243580ede412281.jpeg","path":"2321a85cd64cfc2b8243580ede412281.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31,"min_quantity":1}],"weight":"50","compare_at_price":"0","price":"31","retail_price":"0","available":true,"url":"\/products\/girls-diamond-embedded-hifi-ear-loop-3-5mm-earphones?variant=2d6e2277-c4a7-4ba5-9505-2f31a64883e5","available_quantity":300,"options":[{"name":"Color","value":"1.2m pink with microphone"}],"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":"2d6e2277-c4a7-4ba5-9505-2f31a64883e5","product_id":"8bed647f-ab5c-4ca5-a8a1-4b3a7297f691","title":"1.2m pink with microphone","weight_unit":"g","inventory_quantity":300,"sku":"CJEJ172975501AZ","barcode":"","position":1,"option1":"1.2m pink with microphone","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2321a85cd64cfc2b8243580ede412281.jpeg","path":"2321a85cd64cfc2b8243580ede412281.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31,"min_quantity":1}],"weight":"50","compare_at_price":"0","price":"31","retail_price":"0","available":true,"url":"\/products\/girls-diamond-embedded-hifi-ear-loop-3-5mm-earphones?variant=2d6e2277-c4a7-4ba5-9505-2f31a64883e5","available_quantity":300,"options":[{"name":"Color","value":"1.2m pink with microphone"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}