${function() {
const variantData = data.variant || {"id":"05b74f5e-3eb3-4c5f-aee6-3848a5885333","product_id":"c5397f96-0636-4997-8298-ba72997a568d","title":"green-s","weight_unit":"kg","inventory_quantity":1000,"sku":"4838552","barcode":"4838552","position":1,"option1":"green","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/50e1357a46471528fc003dce59eb7601.webp","path":"50e1357a46471528fc003dce59eb7601.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.66,"min_quantity":1}],"weight":"0.35","compare_at_price":"0","price":"25.66","retail_price":"0","available":true,"url":"\/products\/sexy-green-sleeveless-plain-maxi-dress?variant=05b74f5e-3eb3-4c5f-aee6-3848a5885333","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"s"}],"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.
Sku : 4838552
Weight : 0.35kg
Barcode : 4838552
${function(){
const variantData = data.variant || {"id":"05b74f5e-3eb3-4c5f-aee6-3848a5885333","product_id":"c5397f96-0636-4997-8298-ba72997a568d","title":"green-s","weight_unit":"kg","inventory_quantity":1000,"sku":"4838552","barcode":"4838552","position":1,"option1":"green","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/50e1357a46471528fc003dce59eb7601.webp","path":"50e1357a46471528fc003dce59eb7601.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.66,"min_quantity":1}],"weight":"0.35","compare_at_price":"0","price":"25.66","retail_price":"0","available":true,"url":"\/products\/sexy-green-sleeveless-plain-maxi-dress?variant=05b74f5e-3eb3-4c5f-aee6-3848a5885333","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"s"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}