${function() {
const variantData = data.variant || {"id":"8bdd2ba8-992a-4edf-aa03-c0d5d14c0d2f","product_id":"52830e9a-ffc4-4148-b8e9-fa844bbe40ad","title":"GreenRed-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103-240425-01-MS0006E2D9-GreenRed-S","barcode":"","position":7,"option1":"GreenRed","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/54ac9834311c2e6eda10bd940038559d.jpeg","path":"54ac9834311c2e6eda10bd940038559d.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/mens-casual-vacation-beach-gradient-palm-tree-art-print-polo-shirt-af0v?variant=8bdd2ba8-992a-4edf-aa03-c0d5d14c0d2f","available_quantity":999999999,"options":[{"name":"Color","value":"GreenRed"},{"name":"Size","value":"S"}],"off_ratio":0,"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.