${function() {
const variantData = data.variant || {"id":"2f3cad55-d8ed-4051-8b0f-c31cc14eb7a5","product_id":"0ff79d25-033f-43c7-b6a0-50886e9bb2ca","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV358650-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8e4ee9d9b1e996623d6126a7316b4dee.jpeg","path":"8e4ee9d9b1e996623d6126a7316b4dee.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=2f3cad55-d8ed-4051-8b0f-c31cc14eb7a5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.