${function() {
const variantData = data.variant || {"id":"6163ecf6-a489-471b-929e-ec137a6bebd9","product_id":"4b17c8e4-2aa3-4aff-8e1b-7de1a4181430","title":"XS","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"XS","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7cf7d6ade9f2a412b2c3939f55c8692e.png","path":"7cf7d6ade9f2a412b2c3939f55c8692e.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"35","retail_price":"45","available":true,"url":"\/products\/got-you-blocked-tee?variant=6163ecf6-a489-471b-929e-ec137a6bebd9","available_quantity":999999999,"options":[{"name":"SIZE","value":"XS"}],"off_ratio":22,"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":"6163ecf6-a489-471b-929e-ec137a6bebd9","product_id":"4b17c8e4-2aa3-4aff-8e1b-7de1a4181430","title":"XS","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"XS","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7cf7d6ade9f2a412b2c3939f55c8692e.png","path":"7cf7d6ade9f2a412b2c3939f55c8692e.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"35","retail_price":"45","available":true,"url":"\/products\/got-you-blocked-tee?variant=6163ecf6-a489-471b-929e-ec137a6bebd9","available_quantity":999999999,"options":[{"name":"SIZE","value":"XS"}],"off_ratio":22,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}