${function() {
const variantData = data.variant || {"id":"66d9ff74-28b7-4720-9b17-416afc25bc65","product_id":"5cfd821e-3f8c-4509-ac61-b836323106e5","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-27-XHYLZDQWH8-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/90486988b869511ec7ba670168e30c18.jpeg","path":"90486988b869511ec7ba670168e30c18.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"300","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-linen-loose-stand-collar-solid-color-pocket-short-sleeve-shirt?variant=66d9ff74-28b7-4720-9b17-416afc25bc65","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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.