${function() {
const variantData = data.variant || {"id":"2c0698b9-0480-46b7-ba9e-5e839870dc95","product_id":"162272c0-40bb-4941-ad53-edf6b70125e6","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1563-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/23f8c452e7653ec3f2b9d9782accd43e.jpeg","path":"23f8c452e7653ec3f2b9d9782accd43e.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"53.99","price":"39.99","retail_price":"53.99","available":true,"url":"\/products\/womens-elegant-casual-double-layer-print-contrast-color-dress-4-v3ty?variant=2c0698b9-0480-46b7-ba9e-5e839870dc95","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":1};
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.
${function(){
const variantData = data.variant || {"id":"2c0698b9-0480-46b7-ba9e-5e839870dc95","product_id":"162272c0-40bb-4941-ad53-edf6b70125e6","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1563-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/23f8c452e7653ec3f2b9d9782accd43e.jpeg","path":"23f8c452e7653ec3f2b9d9782accd43e.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"53.99","price":"39.99","retail_price":"53.99","available":true,"url":"\/products\/womens-elegant-casual-double-layer-print-contrast-color-dress-4-v3ty?variant=2c0698b9-0480-46b7-ba9e-5e839870dc95","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":1};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}