${function() {
const variantData = data.variant || {"id":"e79b047e-d5c3-4e4a-aed6-c8aa20531e3f","product_id":"6d1855de-ce9f-49f5-a11e-23d2dd434d4d","title":"Khaki-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1580492250365288450","barcode":"","position":1,"option1":"Khaki","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f454e3298f1c911403779680f7e475c6.jpeg","path":"f454e3298f1c911403779680f7e475c6.jpeg","width":1843,"height":1843,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/mens-autumn-winter-outdoor-casual-retro-ethnic-style-colorblock-print-hooded-jacket-d012?variant=e79b047e-d5c3-4e4a-aed6-c8aa20531e3f","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"M"}],"off_ratio":0,"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.
Sku : 1580492250365288450
${function(){
const variantData = data.variant || {"id":"e79b047e-d5c3-4e4a-aed6-c8aa20531e3f","product_id":"6d1855de-ce9f-49f5-a11e-23d2dd434d4d","title":"Khaki-M","weight_unit":"kg","inventory_quantity":1000,"sku":"1580492250365288450","barcode":"","position":1,"option1":"Khaki","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f454e3298f1c911403779680f7e475c6.jpeg","path":"f454e3298f1c911403779680f7e475c6.jpeg","width":1843,"height":1843,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/mens-autumn-winter-outdoor-casual-retro-ethnic-style-colorblock-print-hooded-jacket-d012?variant=e79b047e-d5c3-4e4a-aed6-c8aa20531e3f","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}