${function() {
const variantData = data.variant || {"id":"1e2b3719-d0a1-4349-91c3-7c8bd7cb8663","product_id":"4fcb71d5-652b-43ac-bf18-7a418b3be200","title":"purple-XXS","weight_unit":"kg","inventory_quantity":200,"sku":"TSLC2470-purple-XXS","barcode":"","position":1,"option1":"purple","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b7ffb2c4977c226451cfe6fb79a4a7d.jpeg","path":"2b7ffb2c4977c226451cfe6fb79a4a7d.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"41.98","price":"28.98","retail_price":"41.98","available":true,"url":"\/products\/womens-solid-color-lapel-loose-casual-shirt-f92s-ppgi-n64y-pqb9-x2j5?variant=1e2b3719-d0a1-4349-91c3-7c8bd7cb8663","available_quantity":200,"options":[{"name":"color","value":"purple"},{"name":"size","value":"XXS"}],"off_ratio":31,"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.
Sku : TSLC2470-purple-XXS
Weight : 0.26kg
${function(){
const variantData = data.variant || {"id":"1e2b3719-d0a1-4349-91c3-7c8bd7cb8663","product_id":"4fcb71d5-652b-43ac-bf18-7a418b3be200","title":"purple-XXS","weight_unit":"kg","inventory_quantity":200,"sku":"TSLC2470-purple-XXS","barcode":"","position":1,"option1":"purple","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b7ffb2c4977c226451cfe6fb79a4a7d.jpeg","path":"2b7ffb2c4977c226451cfe6fb79a4a7d.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"41.98","price":"28.98","retail_price":"41.98","available":true,"url":"\/products\/womens-solid-color-lapel-loose-casual-shirt-f92s-ppgi-n64y-pqb9-x2j5?variant=1e2b3719-d0a1-4349-91c3-7c8bd7cb8663","available_quantity":200,"options":[{"name":"color","value":"purple"},{"name":"size","value":"XXS"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}