${function() {
const variantData = data.variant || {"id":"ce7ddd0e-0634-4bbd-b19e-fdbde40b3c6c","product_id":"383ec771-5814-4071-955c-17153cf1ce37","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":998,"sku":"MPO349958-MUL00S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1b2f8e5106319ba73789d3a708862d57.png","path":"1b2f8e5106319ba73789d3a708862d57.png","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"51.99","price":"26.99","retail_price":"51.99","available":true,"url":"\/products\/mens-rainbow-stripe-pink-print-polo-shirt-2?variant=ce7ddd0e-0634-4bbd-b19e-fdbde40b3c6c","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":4};
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.