${function() {
const variantData = data.variant || {"id":"055849b0-9d2a-43e4-abbe-562f84b67217","product_id":"f676cc1c-5593-43b9-911c-f2776eedba6c","title":"Light Green-m","weight_unit":"kg","inventory_quantity":999,"sku":"4438799","barcode":"4438799","position":1,"option1":"Light Green","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a4d16ce2d4b5e469c2c8b15e5c9cda5.jpeg","path":"8a4d16ce2d4b5e469c2c8b15e5c9cda5.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.73,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"22.73","retail_price":"0","available":true,"url":"\/products\/sexy-elegant-floral-print-half-sleeves-maxi-dress?variant=055849b0-9d2a-43e4-abbe-562f84b67217","available_quantity":999999999,"options":[{"name":"Color","value":"Light Green"},{"name":"Size","value":"m"}],"off_ratio":0,"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 : 4438799
Weight : 0.25kg
Barcode : 4438799
${function(){
const variantData = data.variant || {"id":"055849b0-9d2a-43e4-abbe-562f84b67217","product_id":"f676cc1c-5593-43b9-911c-f2776eedba6c","title":"Light Green-m","weight_unit":"kg","inventory_quantity":999,"sku":"4438799","barcode":"4438799","position":1,"option1":"Light Green","option2":"m","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a4d16ce2d4b5e469c2c8b15e5c9cda5.jpeg","path":"8a4d16ce2d4b5e469c2c8b15e5c9cda5.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.73,"min_quantity":1}],"weight":"0.25","compare_at_price":"0","price":"22.73","retail_price":"0","available":true,"url":"\/products\/sexy-elegant-floral-print-half-sleeves-maxi-dress?variant=055849b0-9d2a-43e4-abbe-562f84b67217","available_quantity":999999999,"options":[{"name":"Color","value":"Light Green"},{"name":"Size","value":"m"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}