${function() {
const variantData = data.variant || {"id":"a35531b9-4091-43af-85db-f30dfdcc5fda","product_id":"a8d1a663-7476-4d82-8fd0-77ec3d279c8d","title":"Photo Color-S","weight_unit":"kg","inventory_quantity":999,"sku":"PH1-220502-14-PhotoColor-S","barcode":"","position":1,"option1":"Photo Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8b4e82b1a39c9ea1d991ca426ff1083.png","path":"b8b4e82b1a39c9ea1d991ca426ff1083.png","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":28.22,"min_quantity":1}],"weight":"0","compare_at_price":"28.22","price":"28.22","retail_price":"28.22","available":true,"url":"\/products\/mens-casual-printed-polo-shirt-7oad?variant=a35531b9-4091-43af-85db-f30dfdcc5fda","available_quantity":999,"options":[{"name":"Color","value":"Photo Color"},{"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.