${function() {
const variantData = data.variant || {"id":"6a868d92-4d07-44d5-bf78-14ce311b0621","product_id":"0de1f51a-2e27-4426-a693-e70e4f4a757d","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH294678-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/85257423c89df6d6932dad0de169461a.jpeg","path":"85257423c89df6d6932dad0de169461a.jpeg","width":400,"height":533,"alt":"","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.83","price":"25.99","retail_price":"34.83","available":true,"url":"\/products\/womens-floral-graphic-print-casual-sweatshirt?variant=6a868d92-4d07-44d5-bf78-14ce311b0621","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":25,"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":"6a868d92-4d07-44d5-bf78-14ce311b0621","product_id":"0de1f51a-2e27-4426-a693-e70e4f4a757d","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH294678-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/85257423c89df6d6932dad0de169461a.jpeg","path":"85257423c89df6d6932dad0de169461a.jpeg","width":400,"height":533,"alt":"","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.83","price":"25.99","retail_price":"34.83","available":true,"url":"\/products\/womens-floral-graphic-print-casual-sweatshirt?variant=6a868d92-4d07-44d5-bf78-14ce311b0621","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}