${function() {
const variantData = data.variant || {"id":"57f9105d-04eb-487b-b3dd-075d1e928e2c","product_id":"2ba8af74-6171-481b-af49-b936c9e60eaf","title":"Pink","weight_unit":"kg","inventory_quantity":1000,"sku":"TX02772-Pink-A001714","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8ee534a5ffeaf3828274d3e784427ce.jpeg","path":"b8ee534a5ffeaf3828274d3e784427ce.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":116.99,"min_quantity":1}],"weight":"0","compare_at_price":"350.99","price":"116.99","retail_price":"350.99","available":true,"url":"\/products\/usb-rechargeable-portable-smoothie-blender-make-delicious-juices-smoothies-anywhere?variant=57f9105d-04eb-487b-b3dd-075d1e928e2c","available_quantity":1000,"options":[{"name":"Color","value":"Pink"}],"off_ratio":67,"flashsale_info":[],"sales":1000};
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.
Sku : TX02772-Pink-A001714
${function(){
const variantData = data.variant || {"id":"57f9105d-04eb-487b-b3dd-075d1e928e2c","product_id":"2ba8af74-6171-481b-af49-b936c9e60eaf","title":"Pink","weight_unit":"kg","inventory_quantity":1000,"sku":"TX02772-Pink-A001714","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8ee534a5ffeaf3828274d3e784427ce.jpeg","path":"b8ee534a5ffeaf3828274d3e784427ce.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":116.99,"min_quantity":1}],"weight":"0","compare_at_price":"350.99","price":"116.99","retail_price":"350.99","available":true,"url":"\/products\/usb-rechargeable-portable-smoothie-blender-make-delicious-juices-smoothies-anywhere?variant=57f9105d-04eb-487b-b3dd-075d1e928e2c","available_quantity":1000,"options":[{"name":"Color","value":"Pink"}],"off_ratio":67,"flashsale_info":[],"sales":1000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}