Edit: I accidentally posted this in the wrong subforum. I meant to have placed it in the Checkout forum
Hello,
I posted here before about a PHP error I was getting in hikashop when I was using RSVP pro that I was able to fix, but I am now receiving the same error again. This time, I know what the issue is. The issue is dealing with auto loading a coupon into the cart.
I have a coupon for Local Residency that gets applied automatically if your country address is where the event is hosted. The Checkout works 100% fine only if I choose that specific country. But if I choose any other country besides the one that I have set to auto load, the site will crashes with the same error I was getting before
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /libraries/joomla/filter/input.php on line 809
Disabling auto load will fix this problem. I also tried making a coupon called Out of Country to be auto loaded when a user chooses any other country that is not the host country, but the issue still persists.
I also have tried making a discount instead, but for some reason, discounts do not seem to work. When I make a discount to be added on based on a country selection, it will show the discount next to the price of the item, for example, $100 - 15%, but it will not update the total price. Its appearance is working as it should, since if I pick any other country, it will not show the -15%, but choosing the correct country will make it show up.