${function() {
const variantData = data.variant || {"id":"438e8ebe-eb34-469e-9ac8-6e1fde0bba2a","product_id":"55760a43-d273-40ff-b6c1-06788b250f3a","title":"Yellow-S","weight_unit":"g","inventory_quantity":20,"sku":"MWZX09591_Y_S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c62497cf212fd1f92a023fc39d8a4c42.jpeg","path":"c62497cf212fd1f92a023fc39d8a4c42.jpeg","width":591,"height":788,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":43.99,"min_quantity":1}],"weight":"300","compare_at_price":"59.99","price":"43.99","retail_price":"59.99","available":true,"url":"\/products\/floral-v-neck-casual-long-maxi-dress?variant=438e8ebe-eb34-469e-9ac8-6e1fde0bba2a","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":27,"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 : MWZX09591_Y_S
Weight : 300g
${function(){
const variantData = data.variant || {"id":"438e8ebe-eb34-469e-9ac8-6e1fde0bba2a","product_id":"55760a43-d273-40ff-b6c1-06788b250f3a","title":"Yellow-S","weight_unit":"g","inventory_quantity":20,"sku":"MWZX09591_Y_S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c62497cf212fd1f92a023fc39d8a4c42.jpeg","path":"c62497cf212fd1f92a023fc39d8a4c42.jpeg","width":591,"height":788,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":43.99,"min_quantity":1}],"weight":"300","compare_at_price":"59.99","price":"43.99","retail_price":"59.99","available":true,"url":"\/products\/floral-v-neck-casual-long-maxi-dress?variant=438e8ebe-eb34-469e-9ac8-6e1fde0bba2a","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}