${function() {
const variantData = data.variant || {"id":"f72dbf20-8ee0-4ed0-9452-f56bec2a5195","product_id":"829b3ff4-720b-412f-82c6-f905c6a3c72b","title":"Light Khaki-S","weight_unit":"kg","inventory_quantity":999,"sku":"SP210726DLTR-90849799","barcode":"","position":1,"option1":"Light Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70c7d06b2a469106fad082af97fc8cff.jpeg","path":"70c7d06b2a469106fad082af97fc8cff.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.32,"min_quantity":1}],"weight":"0","compare_at_price":"24.32","price":"24.32","retail_price":"24.32","available":true,"url":"\/products\/colorblock-contrast-short-sleeved-polo-shirt-6646955?variant=f72dbf20-8ee0-4ed0-9452-f56bec2a5195","available_quantity":999,"options":[{"name":"Color","value":"Light Khaki"},{"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.