${function() {
const variantData = data.variant || {"id":"4da36375-dbb7-4210-a245-effc547d3375","product_id":"9685104c-fe9c-4e79-bf14-43d221dd4bd6","title":"emerald_green-2xl","weight_unit":"kg","inventory_quantity":1000,"sku":"3657129","barcode":"","position":1,"option1":"emerald_green","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4d1fcd9a1d59b85ed403ac42992b6d6.jpeg","path":"c4d1fcd9a1d59b85ed403ac42992b6d6.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.95","retail_price":"0","available":true,"url":"\/products\/round-neck-printed-mermaid-maxi-dress?variant=4da36375-dbb7-4210-a245-effc547d3375","available_quantity":999999999,"options":[{"name":"Color","value":"emerald_green"},{"name":"Size","value":"2xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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":"4da36375-dbb7-4210-a245-effc547d3375","product_id":"9685104c-fe9c-4e79-bf14-43d221dd4bd6","title":"emerald_green-2xl","weight_unit":"kg","inventory_quantity":1000,"sku":"3657129","barcode":"","position":1,"option1":"emerald_green","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4d1fcd9a1d59b85ed403ac42992b6d6.jpeg","path":"c4d1fcd9a1d59b85ed403ac42992b6d6.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.95","retail_price":"0","available":true,"url":"\/products\/round-neck-printed-mermaid-maxi-dress?variant=4da36375-dbb7-4210-a245-effc547d3375","available_quantity":999999999,"options":[{"name":"Color","value":"emerald_green"},{"name":"Size","value":"2xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}