${function() {
const variantData = data.variant || {"id":"4fbdc3f9-6a2e-4b8a-9b8a-e61343eb51e8","product_id":"2ecd9bf8-551e-4443-96ac-767bcf4519b8","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1167-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b29829f64b36543f67317f4ff90fd84b.jpeg","path":"b29829f64b36543f67317f4ff90fd84b.jpeg","width":750,"height":999,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.9","price":"32.99","retail_price":"48.9","available":true,"url":"\/products\/casual-side-pockets-floral-printed-shirt-dress-0r0k-xgfh-mnfl?variant=4fbdc3f9-6a2e-4b8a-9b8a-e61343eb51e8","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":33,"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.
${function(){
const variantData = data.variant || {"id":"4fbdc3f9-6a2e-4b8a-9b8a-e61343eb51e8","product_id":"2ecd9bf8-551e-4443-96ac-767bcf4519b8","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1167-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b29829f64b36543f67317f4ff90fd84b.jpeg","path":"b29829f64b36543f67317f4ff90fd84b.jpeg","width":750,"height":999,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.9","price":"32.99","retail_price":"48.9","available":true,"url":"\/products\/casual-side-pockets-floral-printed-shirt-dress-0r0k-xgfh-mnfl?variant=4fbdc3f9-6a2e-4b8a-9b8a-e61343eb51e8","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}