we would like our customers to order only up to 5 items per order. I tried to use below script but I am having a problem. After alert is displayed, I want the customers to stay in the same page where they visited but it does not load that page and I rather get blank page.
if ($quantity > 5) DIE (“”);
Thanks for your help in advance.