${function() {
const variantData = data.variant || {"id":"0939e620-a5c1-4c6b-b36a-1e1f3c04fbd0","product_id":"c1fde141-307b-4357-8d05-5b3fb0c1e96b","title":"grey-S","weight_unit":"kg","inventory_quantity":999,"sku":"grey-S-596580897769","barcode":"","position":1,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f60574b5070d2f46800e2f7aed6cbca8.jpeg","path":"f60574b5070d2f46800e2f7aed6cbca8.jpeg","width":815,"height":814,"alt":"","aspect_ratio":1.0012285012285012},"wholesale_price":[{"price":15.79,"min_quantity":1}],"weight":"0.3","compare_at_price":"0","price":"15.79","retail_price":"0","available":true,"url":"\/products\/596580897769?variant=0939e620-a5c1-4c6b-b36a-1e1f3c04fbd0","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"S"}],"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 : grey-S-596580897769
Weight : 0.3kg
${function(){
const variantData = data.variant || {"id":"0939e620-a5c1-4c6b-b36a-1e1f3c04fbd0","product_id":"c1fde141-307b-4357-8d05-5b3fb0c1e96b","title":"grey-S","weight_unit":"kg","inventory_quantity":999,"sku":"grey-S-596580897769","barcode":"","position":1,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f60574b5070d2f46800e2f7aed6cbca8.jpeg","path":"f60574b5070d2f46800e2f7aed6cbca8.jpeg","width":815,"height":814,"alt":"","aspect_ratio":1.0012285012285012},"wholesale_price":[{"price":15.79,"min_quantity":1}],"weight":"0.3","compare_at_price":"0","price":"15.79","retail_price":"0","available":true,"url":"\/products\/596580897769?variant=0939e620-a5c1-4c6b-b36a-1e1f3c04fbd0","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}