${function() {
const variantData = data.variant || {"id":"29a6a382-e7db-4bee-a49a-da943ea345ed","product_id":"93cb752c-a86e-46e1-b2a7-408157698b18","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"210304570365-Khaki-S","barcode":"","position":17,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d2483abd383d37e29151ecfabbd1fca.jpeg","path":"0d2483abd383d37e29151ecfabbd1fca.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"27.99","retail_price":"59.99","available":true,"url":"\/products\/mens-polo-shirt-lapel-polo-button-up-polos-golf-shirt-rainbow-graphic-prints-turndown-black-white-blue-khaki-gray-street-daily-short-sleeves-print-clothing-apparel-sports-fashion-streetwear-designer?variant=29a6a382-e7db-4bee-a49a-da943ea345ed","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":53,"flashsale_info":[],"sales":1};
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.