${function() {
const variantData = data.variant || {"id":"e497cc5e-4b8f-443c-9763-a792196c5273","product_id":"b2bb369a-893c-4f97-8a7f-b745b69c2b66","title":"Blue and Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1198-Blue and Yellow-S","barcode":"","position":1,"option1":"Blue and Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eff74eba26d7b1196e28fae0d4c01bdf.jpeg","path":"eff74eba26d7b1196e28fae0d4c01bdf.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.5,"min_quantity":1}],"weight":"0","compare_at_price":"65.9","price":"35.5","retail_price":"65.9","available":true,"url":"\/products\/sleeveless-black-plus-size-dress-bm22?variant=e497cc5e-4b8f-443c-9763-a792196c5273","available_quantity":999999999,"options":[{"name":"Color","value":"Blue and Yellow"},{"name":"Size","value":"S"}],"off_ratio":46,"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":"e497cc5e-4b8f-443c-9763-a792196c5273","product_id":"b2bb369a-893c-4f97-8a7f-b745b69c2b66","title":"Blue and Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1198-Blue and Yellow-S","barcode":"","position":1,"option1":"Blue and Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eff74eba26d7b1196e28fae0d4c01bdf.jpeg","path":"eff74eba26d7b1196e28fae0d4c01bdf.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.5,"min_quantity":1}],"weight":"0","compare_at_price":"65.9","price":"35.5","retail_price":"65.9","available":true,"url":"\/products\/sleeveless-black-plus-size-dress-bm22?variant=e497cc5e-4b8f-443c-9763-a792196c5273","available_quantity":999999999,"options":[{"name":"Color","value":"Blue and Yellow"},{"name":"Size","value":"S"}],"off_ratio":46,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}