Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi.
I'm using Episerver Commerce Version 13.6.0
So, I'm trying to create a promotion where you get a discount on the cheapest product.
That's working correctly when I have 2 products in the cart with quantity 1 on each of them. But if I have quantity 2 on each of them I get discount on one quantity on each product:
Example:
A: Price 50
B Price 100
If I have quantity 2 on A and quantity 2 on B I'm trying to get discount on A but not on B.
I have tried using sorting on Cheapest but then it uses A and quantity from this project first and then B so I get one discount on A and one on B but I want it to be 2 on A.
I have tried implementing a custom sort so I split it up like this:
But still when I run ExtractEntries it gives me the same situation I have explained over.
Does anybody know if this is possible to accomplish?
Kind regards Øystein