${function() {
const variantData = data.variant || {"id":"ebffcd2c-be14-42d4-828f-613634f3a48e","product_id":"57021706-3e8d-49aa-b2e7-82610b2d1a4b","title":"M-Blue","weight_unit":"kg","inventory_quantity":11,"sku":"","barcode":"","position":12,"option1":"M","option2":"Blue","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f927d9cd3b9967afdee7ed045dd9711d.jpeg","path":"f927d9cd3b9967afdee7ed045dd9711d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":7.51,"min_quantity":1}],"weight":"0","compare_at_price":"16.34","price":"7.51","retail_price":"16.34","available":true,"url":"\/products\/2piece-suit-women-t-shirt-shorts-set-tie-dye-loose-tshirt-and-wide-leg-middle-shorts-with-pockets-female-casual-soft-summer-sets?variant=ebffcd2c-be14-42d4-828f-613634f3a48e","available_quantity":999999999,"options":[{"name":"Size","value":"M"},{"name":"Color","value":"Blue"}],"off_ratio":54,"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":"ebffcd2c-be14-42d4-828f-613634f3a48e","product_id":"57021706-3e8d-49aa-b2e7-82610b2d1a4b","title":"M-Blue","weight_unit":"kg","inventory_quantity":11,"sku":"","barcode":"","position":12,"option1":"M","option2":"Blue","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f927d9cd3b9967afdee7ed045dd9711d.jpeg","path":"f927d9cd3b9967afdee7ed045dd9711d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":7.51,"min_quantity":1}],"weight":"0","compare_at_price":"16.34","price":"7.51","retail_price":"16.34","available":true,"url":"\/products\/2piece-suit-women-t-shirt-shorts-set-tie-dye-loose-tshirt-and-wide-leg-middle-shorts-with-pockets-female-casual-soft-summer-sets?variant=ebffcd2c-be14-42d4-828f-613634f3a48e","available_quantity":999999999,"options":[{"name":"Size","value":"M"},{"name":"Color","value":"Blue"}],"off_ratio":54,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}