${function() {
const variantData = data.variant || {"id":"ff00f21e-8f91-4f82-873a-3f1c686849ab","product_id":"3c0817d0-9551-41dc-bf90-81886c75b77b","title":"black-S","weight_unit":"kg","inventory_quantity":167,"sku":"TSNC3971-black-S","barcode":"","position":6,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4d87c71513db7e8a3b9cbb77982c2b0.jpeg","path":"e4d87c71513db7e8a3b9cbb77982c2b0.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"42.98","price":"26.98","retail_price":"42.98","available":true,"url":"\/products\/womens-casual-shirt?variant=ff00f21e-8f91-4f82-873a-3f1c686849ab","available_quantity":167,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":2};
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 : TSNC3971-black-S
Weight : 0.26kg
${function(){
const variantData = data.variant || {"id":"ff00f21e-8f91-4f82-873a-3f1c686849ab","product_id":"3c0817d0-9551-41dc-bf90-81886c75b77b","title":"black-S","weight_unit":"kg","inventory_quantity":167,"sku":"TSNC3971-black-S","barcode":"","position":6,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4d87c71513db7e8a3b9cbb77982c2b0.jpeg","path":"e4d87c71513db7e8a3b9cbb77982c2b0.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.98,"min_quantity":1}],"weight":"0.26","compare_at_price":"42.98","price":"26.98","retail_price":"42.98","available":true,"url":"\/products\/womens-casual-shirt?variant=ff00f21e-8f91-4f82-873a-3f1c686849ab","available_quantity":167,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}