${function() {
const variantData = data.variant || {"id":"8fc41cd0-6e63-4501-a01e-ec56fe9ab7c6","product_id":"9796ff05-c9b0-4b40-ac0e-eb725c27ff43","title":"Purple-xl","weight_unit":"kg","inventory_quantity":1000,"sku":"4000847","barcode":"","position":1,"option1":"Purple","option2":"xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a6449ed046907c5dc3b923c2127efd4.jpeg","path":"3a6449ed046907c5dc3b923c2127efd4.jpeg","width":826,"height":826,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"29.99","retail_price":"49.99","available":true,"url":"\/products\/maternity-off-shoulder-lace-maxi-dress-without-underwear?variant=8fc41cd0-6e63-4501-a01e-ec56fe9ab7c6","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"xl"}],"off_ratio":40,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"8fc41cd0-6e63-4501-a01e-ec56fe9ab7c6","product_id":"9796ff05-c9b0-4b40-ac0e-eb725c27ff43","title":"Purple-xl","weight_unit":"kg","inventory_quantity":1000,"sku":"4000847","barcode":"","position":1,"option1":"Purple","option2":"xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a6449ed046907c5dc3b923c2127efd4.jpeg","path":"3a6449ed046907c5dc3b923c2127efd4.jpeg","width":826,"height":826,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"29.99","retail_price":"49.99","available":true,"url":"\/products\/maternity-off-shoulder-lace-maxi-dress-without-underwear?variant=8fc41cd0-6e63-4501-a01e-ec56fe9ab7c6","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"xl"}],"off_ratio":40,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}