${function() {
const variantData = data.variant || {"id":"e61b352a-8317-490e-8e70-ff0ce37a16b0","product_id":"99717388-80ee-4dc0-9203-e187d41e58b8","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QF-Red-S-A00159232","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2653ba2a1cfbab22c6227bfd7ff170c.jpeg","path":"d2653ba2a1cfbab22c6227bfd7ff170c.jpeg","width":1000,"height":1333,"alt":"","aspect_ratio":0.7501875468867217},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"28.99","retail_price":"42.99","available":true,"url":"\/products\/womens-love-heart-print-casual-crewneck-sweatshirt-2?variant=e61b352a-8317-490e-8e70-ff0ce37a16b0","available_quantity":1000,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":33,"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":"e61b352a-8317-490e-8e70-ff0ce37a16b0","product_id":"99717388-80ee-4dc0-9203-e187d41e58b8","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"QF-Red-S-A00159232","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2653ba2a1cfbab22c6227bfd7ff170c.jpeg","path":"d2653ba2a1cfbab22c6227bfd7ff170c.jpeg","width":1000,"height":1333,"alt":"","aspect_ratio":0.7501875468867217},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"28.99","retail_price":"42.99","available":true,"url":"\/products\/womens-love-heart-print-casual-crewneck-sweatshirt-2?variant=e61b352a-8317-490e-8e70-ff0ce37a16b0","available_quantity":1000,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}