${function() {
const variantData = data.variant || {"id":"dc3fbf07-a7cd-4376-9663-fc979344eddd","product_id":"cb4e7f2a-2095-47ff-ac12-687a81e8807c","title":"Colorful-S","weight_unit":"kg","inventory_quantity":999,"sku":"086-230328-03-MS0006G8F6-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c35b668ded9a595ce7044b10612262f6.jpeg","path":"c35b668ded9a595ce7044b10612262f6.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-rainbow-art-print-polo-shirt-1?variant=dc3fbf07-a7cd-4376-9663-fc979344eddd","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"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.