${function() {
const variantData = data.variant || {"id":"95422d81-a2b2-4974-b081-167a5b3148f6","product_id":"aa896fb0-cf7b-4ed6-8fc0-2235ab8c05c7","title":"Colorful-S","weight_unit":"kg","inventory_quantity":995,"sku":"103-221123-09-MS0007PHW2-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a6ca4c006a0cc277725614cf8469e5b.jpeg","path":"6a6ca4c006a0cc277725614cf8469e5b.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-color-fashion-simple-polo-shirt-13?variant=95422d81-a2b2-4974-b081-167a5b3148f6","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"off_ratio":0,"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.