Coupon codes issue

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
aimeos
Administrator
Posts: 8714
Joined: 01 Jan 1970, 00:00

Re: Coupon codes issue

Post by aimeos » 17 Jan 2026, 10:27

Threre seems to be something wrong because 500 is "internal server error".
Do you have any helpful log entries?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
matish
Posts: 43
Joined: 04 Nov 2025, 11:52

Re: Coupon codes issue

Post by matish » 17 Jan 2026, 12:48

aimeos wrote: 17 Jan 2026, 10:27 Threre seems to be something wrong because 500 is "internal server error".
Do you have any helpful log entries?
Well, I posted a screenshot about it. It is on the bottom part.
Log says, that "The amount of coupon codes exceeds the allowed limit"
So if there is only 1 coupon allowed per cart, then it is logical. Only problem is that it is expressed as HTTP500 instead of HTTP409.

Also discovered another wierd issue with the coupons.
If the coupon is in cart, then I can not place the order, because the server says the product is out of stock.
Image

If I remove the coupon, then order placement works.
Am I supposed to put the matching product to stock for the coupon to work?
It would be nice, that if it really is so, then adding the coupon itself should fail with some graceful error message.

Post Reply