${function() {
const variantData = data.variant || {"id":"040f9028-7e50-4e2e-ad72-3252fc495c15","product_id":"077d19d4-c810-49a9-a8cb-6f91e7505ffa","title":"Green-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693026497146","barcode":"","position":1,"option1":"Green","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33723b4d094d4bb5fe0cbc418300c12a.jpeg","path":"33723b4d094d4bb5fe0cbc418300c12a.jpeg","width":1200,"height":1600,"alt":"Women Casual Loose Embroidered Tops Tunic Blouse Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":38.6,"min_quantity":1}],"weight":"0","compare_at_price":"38.6","price":"38.6","retail_price":"38.6","available":true,"url":"\/products\/women-casual-loose-embroidered-tops-tunic-blouse-shirt-5897?variant=040f9028-7e50-4e2e-ad72-3252fc495c15","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"One-size"}],"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":"040f9028-7e50-4e2e-ad72-3252fc495c15","product_id":"077d19d4-c810-49a9-a8cb-6f91e7505ffa","title":"Green-One-size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693026497146","barcode":"","position":1,"option1":"Green","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/33723b4d094d4bb5fe0cbc418300c12a.jpeg","path":"33723b4d094d4bb5fe0cbc418300c12a.jpeg","width":1200,"height":1600,"alt":"Women Casual Loose Embroidered Tops Tunic Blouse Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":38.6,"min_quantity":1}],"weight":"0","compare_at_price":"38.6","price":"38.6","retail_price":"38.6","available":true,"url":"\/products\/women-casual-loose-embroidered-tops-tunic-blouse-shirt-5897?variant=040f9028-7e50-4e2e-ad72-3252fc495c15","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"One-size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}