${function() {
const variantData = data.variant || {"id":"0a91a61e-c452-47a0-9a58-be1e3f3e1f2b","product_id":"5cf48769-7ddc-4546-b323-22f0cac18a38","title":"Red-s","weight_unit":"kg","inventory_quantity":1000,"sku":"7001485","barcode":"7001485","position":5,"option1":"Red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c53a016c2343d3a6c1f31e86b347b84f.webp","path":"c53a016c2343d3a6c1f31e86b347b84f.webp","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/f407457c2339?variant=0a91a61e-c452-47a0-9a58-be1e3f3e1f2b","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"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 : 7001485
Barcode : 7001485
${function(){
const variantData = data.variant || {"id":"0a91a61e-c452-47a0-9a58-be1e3f3e1f2b","product_id":"5cf48769-7ddc-4546-b323-22f0cac18a38","title":"Red-s","weight_unit":"kg","inventory_quantity":1000,"sku":"7001485","barcode":"7001485","position":5,"option1":"Red","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c53a016c2343d3a6c1f31e86b347b84f.webp","path":"c53a016c2343d3a6c1f31e86b347b84f.webp","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.99","retail_price":"0","available":true,"url":"\/products\/f407457c2339?variant=0a91a61e-c452-47a0-9a58-be1e3f3e1f2b","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"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}
`
}()}