${function() {
const variantData = data.variant || {"id":"40a3d8d8-d3e9-4233-812d-93351e121fcd","product_id":"a813e33c-50f8-488c-8a5d-44233e9b6db0","title":"green-S","weight_unit":"kg","inventory_quantity":200,"sku":"TSLC2173-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a246da55d9e7ce15d3713177ab3be307.jpeg","path":"a246da55d9e7ce15d3713177ab3be307.jpeg","width":800,"height":1067,"alt":"","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":28.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"0","price":"28.98","retail_price":"0","available":true,"url":"\/products\/womens-solid-color-lapel-loose-casual-shirt-f92s-ppgi-i1cd-9xkr-jetg-o2b4?variant=40a3d8d8-d3e9-4233-812d-93351e121fcd","available_quantity":200,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"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.
Sku : TSLC2173-green-S
Weight : 0.26kg
${function(){
const variantData = data.variant || {"id":"40a3d8d8-d3e9-4233-812d-93351e121fcd","product_id":"a813e33c-50f8-488c-8a5d-44233e9b6db0","title":"green-S","weight_unit":"kg","inventory_quantity":200,"sku":"TSLC2173-green-S","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a246da55d9e7ce15d3713177ab3be307.jpeg","path":"a246da55d9e7ce15d3713177ab3be307.jpeg","width":800,"height":1067,"alt":"","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":28.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"0","price":"28.98","retail_price":"0","available":true,"url":"\/products\/womens-solid-color-lapel-loose-casual-shirt-f92s-ppgi-i1cd-9xkr-jetg-o2b4?variant=40a3d8d8-d3e9-4233-812d-93351e121fcd","available_quantity":200,"options":[{"name":"color","value":"green"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}