${function() {
const variantData = data.variant || {"id":"74d2d47f-261e-448e-9203-1a947558c864","product_id":"b5a682e2-2270-46a6-92e9-527663b595f5","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MPO372955-KHA00S","barcode":"","position":17,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/88faf082763c73e8205c21a4473c5929.jpeg","path":"88faf082763c73e8205c21a4473c5929.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=74d2d47f-261e-448e-9203-1a947558c864","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"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.