${function() {
const variantData = data.variant || {"id":"c39f43ac-f75f-4f30-a5db-aa88c7755b00","product_id":"3128650f-4315-4ef7-a6d3-b2c7b4d9a0b1","title":"S","weight_unit":"lb","inventory_quantity":0,"sku":"HT28191_Pink_S","barcode":"1704339617189\/300","position":1,"option1":"S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":11.99,"min_quantity":1}],"weight":"0","compare_at_price":"14.99","price":"11.99","retail_price":"14.99","available":true,"url":"\/products\/kassandra-ribbed-top-pink?variant=c39f43ac-f75f-4f30-a5db-aa88c7755b00","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":20,"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.
Sku : HT28191_Pink_S
Barcode : 1704339617189/300
${function(){
const variantData = data.variant || {"id":"c39f43ac-f75f-4f30-a5db-aa88c7755b00","product_id":"3128650f-4315-4ef7-a6d3-b2c7b4d9a0b1","title":"S","weight_unit":"lb","inventory_quantity":0,"sku":"HT28191_Pink_S","barcode":"1704339617189\/300","position":1,"option1":"S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":11.99,"min_quantity":1}],"weight":"0","compare_at_price":"14.99","price":"11.99","retail_price":"14.99","available":true,"url":"\/products\/kassandra-ribbed-top-pink?variant=c39f43ac-f75f-4f30-a5db-aa88c7755b00","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}