${function() {
const variantData = data.variant || {"id":"6b3b83d6-7038-46dd-9075-eae200bd7079","product_id":"7a47a71a-e681-4fc8-a166-3f3bb0ca943c","title":"Brown","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056713449","barcode":"","position":1,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5b477e9b90d4b8d2f2466bc11f1b0dd6.jpeg","path":"5b477e9b90d4b8d2f2466bc11f1b0dd6.jpeg","width":800,"height":800,"alt":"Leather vintage ethnic handbag","aspect_ratio":1},"wholesale_price":[{"price":103.32,"min_quantity":1}],"weight":"0","compare_at_price":"103.32","price":"103.32","retail_price":"103.32","available":true,"url":"\/products\/leather-vintage-ethnic-handbag-6801?variant=6b3b83d6-7038-46dd-9075-eae200bd7079","available_quantity":1000,"options":[{"name":"Color","value":"Brown"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"6b3b83d6-7038-46dd-9075-eae200bd7079","product_id":"7a47a71a-e681-4fc8-a166-3f3bb0ca943c","title":"Brown","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056713449","barcode":"","position":1,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5b477e9b90d4b8d2f2466bc11f1b0dd6.jpeg","path":"5b477e9b90d4b8d2f2466bc11f1b0dd6.jpeg","width":800,"height":800,"alt":"Leather vintage ethnic handbag","aspect_ratio":1},"wholesale_price":[{"price":103.32,"min_quantity":1}],"weight":"0","compare_at_price":"103.32","price":"103.32","retail_price":"103.32","available":true,"url":"\/products\/leather-vintage-ethnic-handbag-6801?variant=6b3b83d6-7038-46dd-9075-eae200bd7079","available_quantity":1000,"options":[{"name":"Color","value":"Brown"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}