${function() {
const variantData = data.variant || {"id":"c59611ad-06a0-4333-b351-3d51fb4ccdee","product_id":"7a47a71a-e681-4fc8-a166-3f3bb0ca943c","title":"Yellow","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056713450","barcode":"","position":2,"option1":"Yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/994ba3f20e18b005ef743cf9001f6a30.jpeg","path":"994ba3f20e18b005ef743cf9001f6a30.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=c59611ad-06a0-4333-b351-3d51fb4ccdee","available_quantity":1000,"options":[{"name":"Color","value":"Yellow"}],"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":"c59611ad-06a0-4333-b351-3d51fb4ccdee","product_id":"7a47a71a-e681-4fc8-a166-3f3bb0ca943c","title":"Yellow","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693056713450","barcode":"","position":2,"option1":"Yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/994ba3f20e18b005ef743cf9001f6a30.jpeg","path":"994ba3f20e18b005ef743cf9001f6a30.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=c59611ad-06a0-4333-b351-3d51fb4ccdee","available_quantity":1000,"options":[{"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}
`
}()}