${function() {
const variantData = data.variant || {"id":"0e8a6b3f-c306-463f-8358-3507e8b92f33","product_id":"ad8cb7f6-5069-4ca6-a38f-4e118270b8d2","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"S95726110000R","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b39e9b4a18ffa50e70e63108696cc671.jpeg","path":"b39e9b4a18ffa50e70e63108696cc671.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"21.99","retail_price":"45.99","available":true,"url":"\/products\/mens-zip-polo-lapel-polo-polo-shirt-golf-shirt-graphic-prints-geometry-turndown-yellow-light-green-blue-purple-green-outdoor-street-short-sleeves-zipper-print-clothing-apparel-fashion-designer?variant=0e8a6b3f-c306-463f-8358-3507e8b92f33","available_quantity":999999999,"options":[{"name":"COLOR","value":"Yellow"},{"name":"SIZE","value":"S"}],"off_ratio":52,"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.