${function() {
const variantData = data.variant || {"id":"f5014e4f-55ee-4135-895e-a0d44ad8ed8c","product_id":"b475c65b-e30c-4f29-bf7c-2c95e8e10c2e","title":"Army Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1143-Army Green-S","barcode":"","position":1,"option1":"Army Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2283e3b9ff5c963ba061e78ea49ce57c.jpeg","path":"2283e3b9ff5c963ba061e78ea49ce57c.jpeg","width":794,"height":796,"alt":"","aspect_ratio":0.9974874371859297},"wholesale_price":[{"price":29.31,"min_quantity":1}],"weight":"0","compare_at_price":"35.18","price":"29.31","retail_price":"35.18","available":true,"url":"\/products\/plus-size-new-casual-short-sleeve-lapel-v-neck-mid-length-dress?variant=f5014e4f-55ee-4135-895e-a0d44ad8ed8c","available_quantity":999999999,"options":[{"name":"Color","value":"Army Green"},{"name":"Size","value":"S"}],"off_ratio":17,"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":"f5014e4f-55ee-4135-895e-a0d44ad8ed8c","product_id":"b475c65b-e30c-4f29-bf7c-2c95e8e10c2e","title":"Army Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1143-Army Green-S","barcode":"","position":1,"option1":"Army Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2283e3b9ff5c963ba061e78ea49ce57c.jpeg","path":"2283e3b9ff5c963ba061e78ea49ce57c.jpeg","width":794,"height":796,"alt":"","aspect_ratio":0.9974874371859297},"wholesale_price":[{"price":29.31,"min_quantity":1}],"weight":"0","compare_at_price":"35.18","price":"29.31","retail_price":"35.18","available":true,"url":"\/products\/plus-size-new-casual-short-sleeve-lapel-v-neck-mid-length-dress?variant=f5014e4f-55ee-4135-895e-a0d44ad8ed8c","available_quantity":999999999,"options":[{"name":"Color","value":"Army Green"},{"name":"Size","value":"S"}],"off_ratio":17,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}