${function() {
const variantData = data.variant || {"id":"2e017ce5-c082-4c7e-aaf1-4d1ebd66b4ef","product_id":"36a8e013-6398-40f2-9acf-21776c8baa7e","title":"2","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057175621","barcode":"","position":2,"option1":"2","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c91c8b7ec38ec85eef0d14c0542b5eff.webp","path":"c91c8b7ec38ec85eef0d14c0542b5eff.webp","width":600,"height":800,"alt":"Vintage Feather Pattern Sewing Buttons","aspect_ratio":0.75},"wholesale_price":[{"price":7.99,"min_quantity":1}],"weight":"0","compare_at_price":"7.99","price":"7.99","retail_price":"7.99","available":true,"url":"\/products\/vintage-feather-pattern-sewing-buttons-5022?variant=2e017ce5-c082-4c7e-aaf1-4d1ebd66b4ef","available_quantity":1000,"options":[{"name":"Color","value":"2"}],"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":"2e017ce5-c082-4c7e-aaf1-4d1ebd66b4ef","product_id":"36a8e013-6398-40f2-9acf-21776c8baa7e","title":"2","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693057175621","barcode":"","position":2,"option1":"2","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c91c8b7ec38ec85eef0d14c0542b5eff.webp","path":"c91c8b7ec38ec85eef0d14c0542b5eff.webp","width":600,"height":800,"alt":"Vintage Feather Pattern Sewing Buttons","aspect_ratio":0.75},"wholesale_price":[{"price":7.99,"min_quantity":1}],"weight":"0","compare_at_price":"7.99","price":"7.99","retail_price":"7.99","available":true,"url":"\/products\/vintage-feather-pattern-sewing-buttons-5022?variant=2e017ce5-c082-4c7e-aaf1-4d1ebd66b4ef","available_quantity":1000,"options":[{"name":"Color","value":"2"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}