${function() {
const variantData = data.variant || {"id":"fe3d6ffb-e1a1-4b4d-9ef9-a84076f3f03c","product_id":"561a8cb8-ecd3-4eba-89d9-39a98671e929","title":"BlackCoffee-M","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693055630184","barcode":"","position":1,"option1":"BlackCoffee","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a142a1dec34173a17d4b2d7605dac7c.jpeg","path":"7a142a1dec34173a17d4b2d7605dac7c.jpeg","width":960,"height":960,"alt":"Vintage Floral Print Cotton Linen High Waist Casual Skirt","aspect_ratio":1},"wholesale_price":[{"price":32.7,"min_quantity":1}],"weight":"0","compare_at_price":"32.7","price":"32.7","retail_price":"32.7","available":true,"url":"\/products\/vintage-floral-print-cotton-linen-high-waist-casual-skirt-4652?variant=fe3d6ffb-e1a1-4b4d-9ef9-a84076f3f03c","available_quantity":1000,"options":[{"name":"Color","value":"BlackCoffee"},{"name":"Size","value":"M"}],"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.
${function(){
const variantData = data.variant || {"id":"fe3d6ffb-e1a1-4b4d-9ef9-a84076f3f03c","product_id":"561a8cb8-ecd3-4eba-89d9-39a98671e929","title":"BlackCoffee-M","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693055630184","barcode":"","position":1,"option1":"BlackCoffee","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a142a1dec34173a17d4b2d7605dac7c.jpeg","path":"7a142a1dec34173a17d4b2d7605dac7c.jpeg","width":960,"height":960,"alt":"Vintage Floral Print Cotton Linen High Waist Casual Skirt","aspect_ratio":1},"wholesale_price":[{"price":32.7,"min_quantity":1}],"weight":"0","compare_at_price":"32.7","price":"32.7","retail_price":"32.7","available":true,"url":"\/products\/vintage-floral-print-cotton-linen-high-waist-casual-skirt-4652?variant=fe3d6ffb-e1a1-4b4d-9ef9-a84076f3f03c","available_quantity":1000,"options":[{"name":"Color","value":"BlackCoffee"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}