${function() {
const variantData = data.variant || {"id":"abd2e8f1-c7f5-4526-8ff1-13da0fcb59a1","product_id":"4f3791f2-e9eb-4a35-925c-3cd110e4a5fc","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A134-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a5999df82b4141616b2395bb5cb40b1.jpg","path":"9a5999df82b4141616b2395bb5cb40b1.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.98","price":"14.98","retail_price":"21.98","available":true,"url":"\/products\/satan-love-you-for-who-you-are-t-shirt?variant=abd2e8f1-c7f5-4526-8ff1-13da0fcb59a1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":32,"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}
`
}()}
${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":"abd2e8f1-c7f5-4526-8ff1-13da0fcb59a1","product_id":"4f3791f2-e9eb-4a35-925c-3cd110e4a5fc","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A134-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a5999df82b4141616b2395bb5cb40b1.jpg","path":"9a5999df82b4141616b2395bb5cb40b1.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.98","price":"14.98","retail_price":"21.98","available":true,"url":"\/products\/satan-love-you-for-who-you-are-t-shirt?variant=abd2e8f1-c7f5-4526-8ff1-13da0fcb59a1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}