${function() {
const variantData = data.variant || {"id":"74c8d772-119e-4e3e-a34a-efe6e153ca47","product_id":"4c828af4-cfa3-4093-ab35-ca6fd77ec3d2","title":"Colorful lighting effect","weight_unit":"g","inventory_quantity":300,"sku":"CJEJ173456301AZ","barcode":"","position":1,"option1":"Colorful lighting effect","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d02fe40d9e9e91d1b11706516928e201.jpeg","path":"d02fe40d9e9e91d1b11706516928e201.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"175","compare_at_price":"0","price":"45","retail_price":"0","available":true,"url":"\/products\/colorful-rgb-light-effect-f9-bluetooth-earphones?variant=74c8d772-119e-4e3e-a34a-efe6e153ca47","available_quantity":300,"options":[{"name":"Color","value":"Colorful lighting effect"}],"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":"74c8d772-119e-4e3e-a34a-efe6e153ca47","product_id":"4c828af4-cfa3-4093-ab35-ca6fd77ec3d2","title":"Colorful lighting effect","weight_unit":"g","inventory_quantity":300,"sku":"CJEJ173456301AZ","barcode":"","position":1,"option1":"Colorful lighting effect","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d02fe40d9e9e91d1b11706516928e201.jpeg","path":"d02fe40d9e9e91d1b11706516928e201.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"175","compare_at_price":"0","price":"45","retail_price":"0","available":true,"url":"\/products\/colorful-rgb-light-effect-f9-bluetooth-earphones?variant=74c8d772-119e-4e3e-a34a-efe6e153ca47","available_quantity":300,"options":[{"name":"Color","value":"Colorful lighting effect"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}