${function() {
const variantData = data.variant || {"id":"ea2c1478-cbad-4b77-bb1b-2642c6dac2ff","product_id":"f2d6df10-991b-4e1d-862c-de479e83be43","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"OHO354266-YEW00S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/63d28b8cf5b8ac69cfe1698fd2cab66d.jpeg","path":"63d28b8cf5b8ac69cfe1698fd2cab66d.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"33.99","retail_price":"49.99","available":true,"url":"\/products\/spring-and-summer-new-womens-loose-round-neck-fashion-comfortable-high-end-long-sleeved-printed-dress?variant=ea2c1478-cbad-4b77-bb1b-2642c6dac2ff","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":32,"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":"ea2c1478-cbad-4b77-bb1b-2642c6dac2ff","product_id":"f2d6df10-991b-4e1d-862c-de479e83be43","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"OHO354266-YEW00S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/63d28b8cf5b8ac69cfe1698fd2cab66d.jpeg","path":"63d28b8cf5b8ac69cfe1698fd2cab66d.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"33.99","retail_price":"49.99","available":true,"url":"\/products\/spring-and-summer-new-womens-loose-round-neck-fashion-comfortable-high-end-long-sleeved-printed-dress?variant=ea2c1478-cbad-4b77-bb1b-2642c6dac2ff","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}