${function() {
const variantData = data.variant || {"id":"1461992b-6447-4285-8b0b-f9b666c4acfe","product_id":"cf0d5bf8-7b38-4fa6-afb9-561edfac36ca","title":"Olive yellow-S","weight_unit":"g","inventory_quantity":20,"sku":"MWZX09479_OLY_S","barcode":"","position":1,"option1":"Olive yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d707acaa2917cd79610eb726c407da8.jpeg","path":"4d707acaa2917cd79610eb726c407da8.jpeg","width":533,"height":800,"alt":"","aspect_ratio":0.66625},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"250","compare_at_price":"49.99","price":"39.99","retail_price":"49.99","available":true,"url":"\/products\/linen-beige-black-contrast-trim-maxi-dress?variant=1461992b-6447-4285-8b0b-f9b666c4acfe","available_quantity":999999999,"options":[{"name":"Color","value":"Olive yellow"},{"name":"Size","value":"S"}],"off_ratio":20,"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.
Sku : MWZX09479_OLY_S
Weight : 250g
${function(){
const variantData = data.variant || {"id":"1461992b-6447-4285-8b0b-f9b666c4acfe","product_id":"cf0d5bf8-7b38-4fa6-afb9-561edfac36ca","title":"Olive yellow-S","weight_unit":"g","inventory_quantity":20,"sku":"MWZX09479_OLY_S","barcode":"","position":1,"option1":"Olive yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d707acaa2917cd79610eb726c407da8.jpeg","path":"4d707acaa2917cd79610eb726c407da8.jpeg","width":533,"height":800,"alt":"","aspect_ratio":0.66625},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"250","compare_at_price":"49.99","price":"39.99","retail_price":"49.99","available":true,"url":"\/products\/linen-beige-black-contrast-trim-maxi-dress?variant=1461992b-6447-4285-8b0b-f9b666c4acfe","available_quantity":999999999,"options":[{"name":"Color","value":"Olive yellow"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}