${function() {
const variantData = data.variant || {"id":"ec67441e-32c5-40c8-9b3e-12ed33a26985","product_id":"b5a682e2-2270-46a6-92e9-527663b595f5","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MPO372955-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e13d2b25de694e441ec73b70f76aee2.jpeg","path":"3e13d2b25de694e441ec73b70f76aee2.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"47.99","price":"25.99","retail_price":"47.99","available":true,"url":"\/products\/mens-vintage-american-flag-independence-day-color-block-polo-shirt-2?variant=ec67441e-32c5-40c8-9b3e-12ed33a26985","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.