${function() {
const variantData = data.variant || {"id":"eca3afcd-7ad7-4a54-8424-ce77bdef8efd","product_id":"63b71d67-653b-4aab-b834-e4c0ed14b261","title":"S-Yellow","weight_unit":"kg","inventory_quantity":999,"sku":"MY19110103","barcode":"","position":1,"option1":"S","option2":"Yellow","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/63f2cf5becce8ed8125b997cad78f9fb.jpeg","path":"63f2cf5becce8ed8125b997cad78f9fb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.76","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/turtleneck-chunky-cable-knitted-long-sweater?variant=eca3afcd-7ad7-4a54-8424-ce77bdef8efd","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Yellow"}],"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 : MY19110103
Weight : 0.76kg
${function(){
const variantData = data.variant || {"id":"eca3afcd-7ad7-4a54-8424-ce77bdef8efd","product_id":"63b71d67-653b-4aab-b834-e4c0ed14b261","title":"S-Yellow","weight_unit":"kg","inventory_quantity":999,"sku":"MY19110103","barcode":"","position":1,"option1":"S","option2":"Yellow","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/63f2cf5becce8ed8125b997cad78f9fb.jpeg","path":"63f2cf5becce8ed8125b997cad78f9fb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.76","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/turtleneck-chunky-cable-knitted-long-sweater?variant=eca3afcd-7ad7-4a54-8424-ce77bdef8efd","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Yellow"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}