${function() {
const variantData = data.variant || {"id":"57925ae4-667d-4f30-b228-d79d59e66b19","product_id":"93fa5af0-c75e-481d-8e27-409c3e7cee95","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MPO378117-WHI00S","barcode":"","position":17,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f7a8e2975884ce00a957fd97c4bffa12.jpeg","path":"f7a8e2975884ce00a957fd97c4bffa12.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"50.99","price":"29.99","retail_price":"50.99","available":true,"url":"\/products\/mens-vintage-american-flag-independence-day-color-block-polo-shirt-24?variant=57925ae4-667d-4f30-b228-d79d59e66b19","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":41,"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.