search
AI OnAI Off
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.
How do you create your custom promotion and how do you set it "exclude all other promotions"?
Hi,
I'm experiencing a problem with promotion exclusions. A custom promotion i created is not excluded from other promotions affecting the same lineitem when i run the promotion-engine or use the extension ApplyDiscounts. If i evaluate the lineItem using Evaluate(), only the one promotion that product should be eligible for is returned.
In my case i have one standard 10% off promotion and one 15% off for a specific brand promotion (which is my custom promotion), in my case the lineitem receives both discounts.
I am passing exclusion-level as a parameter, like this:
But it still returns both promotions, even though they both should exclude all other promotions.
GetFulfillmentStatus() in my processor returns Fulfilled with 1 exclusion.
Does anyone recognize this?