A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
search
AI OnAI Off
Hi there!
I recently migrated to the latest Commerce 14 version and an error started when applying for promotions using the Redemption Limits rules. If there is a value greater than zero in the Per registered user field, the promotion is never applied. It only works for unlimited redemptions.
The following image shows the configuration for a limited promotion:
This is part of the code I am using for evaluating promotions:
Is there something else I need to consider in the new Commerce 14 version to evaluate promotions? (The same code was working in version 12.15)