${function() {
const variantData = data.variant || {"id":"e8ae5425-6fe9-4e62-9509-45cff20bbcba","product_id":"d39c85d0-cd7b-433a-aa33-707078a6d784","title":"Green-One-size","weight_unit":"kg","inventory_quantity":0,"sku":"dlz1693056488492","barcode":"","position":1,"option1":"Green","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/60230dd839897b38af088dae2f270a87.jpeg","path":"60230dd839897b38af088dae2f270a87.jpeg","width":1200,"height":1598,"alt":"Green Cotton Scarves & Shawls","aspect_ratio":0.7509386733416771},"wholesale_price":[{"price":22.16,"min_quantity":1}],"weight":"0","compare_at_price":"22.16","price":"22.16","retail_price":"22.16","available":false,"url":"\/products\/green-cotton-scarves-shawls-6545?variant=e8ae5425-6fe9-4e62-9509-45cff20bbcba","available_quantity":0,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"One-size"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"e8ae5425-6fe9-4e62-9509-45cff20bbcba","product_id":"d39c85d0-cd7b-433a-aa33-707078a6d784","title":"Green-One-size","weight_unit":"kg","inventory_quantity":0,"sku":"dlz1693056488492","barcode":"","position":1,"option1":"Green","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/60230dd839897b38af088dae2f270a87.jpeg","path":"60230dd839897b38af088dae2f270a87.jpeg","width":1200,"height":1598,"alt":"Green Cotton Scarves & Shawls","aspect_ratio":0.7509386733416771},"wholesale_price":[{"price":22.16,"min_quantity":1}],"weight":"0","compare_at_price":"22.16","price":"22.16","retail_price":"22.16","available":false,"url":"\/products\/green-cotton-scarves-shawls-6545?variant=e8ae5425-6fe9-4e62-9509-45cff20bbcba","available_quantity":0,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"One-size"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}