${function() {
const variantData = data.variant || {"id":"8954d2f0-e10a-4dfe-80eb-5c50d58a4073","product_id":"0ff79d25-033f-43c7-b6a0-50886e9bb2ca","title":"Light Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV358650-LGY00S","barcode":"","position":13,"option1":"Light Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d50432ba53a806321b49cf543a3c8dd.jpeg","path":"5d50432ba53a806321b49cf543a3c8dd.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"19.99","retail_price":"36.99","available":true,"url":"\/products\/mens-independence-day-retro-love-fireworks-flag-print-vest?variant=8954d2f0-e10a-4dfe-80eb-5c50d58a4073","available_quantity":999999999,"options":[{"name":"Color","value":"Light Grey"},{"name":"Size","value":"S"}],"off_ratio":46,"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.