${function() {
const variantData = data.variant || {"id":"e9e3373b-1b59-4343-b1e6-1f03a9174e7d","product_id":"b1b57edc-df07-4846-86c9-ad2f860d4589","title":"White-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"White 2XL-42018708","barcode":"","position":1,"option1":"White","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/219cf26b8130fbbe80ed2c63f6fead81.png","path":"219cf26b8130fbbe80ed2c63f6fead81.png","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":38.76,"min_quantity":1}],"weight":"0","compare_at_price":"38.76","price":"38.76","retail_price":"38.76","available":true,"url":"\/products\/chic-summer-shorts-shirt-two-pieces-set-207998467842?variant=e9e3373b-1b59-4343-b1e6-1f03a9174e7d","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"2XL"}],"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}
`
}()}
${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":"e9e3373b-1b59-4343-b1e6-1f03a9174e7d","product_id":"b1b57edc-df07-4846-86c9-ad2f860d4589","title":"White-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"White 2XL-42018708","barcode":"","position":1,"option1":"White","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/219cf26b8130fbbe80ed2c63f6fead81.png","path":"219cf26b8130fbbe80ed2c63f6fead81.png","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":38.76,"min_quantity":1}],"weight":"0","compare_at_price":"38.76","price":"38.76","retail_price":"38.76","available":true,"url":"\/products\/chic-summer-shorts-shirt-two-pieces-set-207998467842?variant=e9e3373b-1b59-4343-b1e6-1f03a9174e7d","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}