SaaS CMS has officially launched! Learn more now.

Is there a Built in group discount?


Customer wants to create a discount like this:

"Packageprice round table + 2 chairs for xxx SEK"

Is there a builtin discount that would fit?

Tried looking at fixed price, but it does not look like i can have two different articles and get a discount for them

Feb 27, 2018 14:05

Sounds more like you should create a "package" catalog entry and put pricing on that one instead of using promotions to achieve it :)

Feb 27, 2018 14:19


It appears that there is no built in discount for this. To solve this you could create and implement the "Package price" as a bundle and then create a custom promotion for setting discounts on bundles like so:

/ Jonathan

Feb 27, 2018 14:23

Joel's answer is correct - however keep in mind that package has its own inventory as well. So unless you allocate a number of combination for that package, say you have 120 tables and 200 chairs, then you might need to allocated 50 tables and 100 chairs for that specific "discount". If you want to have it dynamic, it can be very tricky to get right. 

Feb 27, 2018 14:55


Is the scenario above possible to do this with a custom promotion?

I ask because it could be a pretty big task to introduce package in a existing solution.


Mar 12, 2018 13:45

Yes, absolutely, you can do almost anything if you're creating your own promotion. In the promotion processor, you can implement any logic and give any amount of discount depending on what you have in the cart.

Mar 12, 2018 14:14

Ok, do you know which of the builtin promotions that are closest to scenario above?

Is it BuyQuantityPayFixedAmount that is most similar and most suitable to start from?



Mar 12, 2018 15:21

Well logically it seems to be it, but when it comes to implement the processor, things can drift quickly. I'd have to say to achieve what you are trying to do is a magnitude more difficult than BuyQuantityPayFixedAmount, so I really doubt it will be easier than actually implementing the package. 

Mar 12, 2018 15:28

Sounds like a good start! If you take a look at the conditions and rewards, they match the scenario. The only difference is that you might want to build the processor checking that you have all the provided condition items, not just one. So start there :)

Mar 12, 2018 15:30
To implement packages it sounds as it could effect many things as all from PIM system, import routines, find/search, stock levels etc.
On the other side I also understand from the answers that promotions could be difficult and mean much work.
It's seems to be hard to decide which way is the best and easiest...
As information, the customer wants it pretty dynamic.
Let say if you have 1 chair and one table in the cart and add one more chair to cart, then you automtically should have the promotion.
They don't promote the chair and table as a package in the search etc.
I've heard about dynamic package, is this something that is more lightweight that could be used in this scenario?
Edited, Mar 12, 2018 16:05

The reward matches, the conditions doesn't really match as you would have to add seperate field for the quantity of each article and seperate content references for each.

Then if you want to support a third article in the discount you have to extended the promotion further.

You can do it but implementing support for packages is by far a better software design solution and will most likely turn out to be the cheapest alternative in the long run.

For instance what would you do if the customer decides that they want to give a discount to additional chairs if the customer has bought the "Packageprice round table + 2 chairs for xxx SEK"?

If it is a package it is an easy matter to create a discount for the additional chairs, if it is a would most likely have to extended your discount something horrible to account for all possible variations...

Mar 12, 2018 16:10

I'm of course not seeing the big picture (it's your solution, you know it best ;) ), but my gut feeling is that if you can, always use the native/fully support feature from the framework. It will help a lot in long run.

The new promotion engine is of course very flexible and you can do a lot of thing with it, but, remember, the package is fully supported and intensively tested. If you found a bug in that we would be happy to work on that. But if you have a bug in your custom promotion, well, you're on your own (technically, it can be a bug in the engine, but that's very unlikely) 

Mar 12, 2018 16:19

I have a few minutes to spare, so I try and create this 

Full disclosure in the post, but TL;DR: this is for fun and for educational purposes only 

Mar 13, 2018 11:44

I intended to start doing som POC tomorrow about writing this as a custom promotion. ( I'm not sure, but I think promotions would fits our needs better.)

And just in time you have posted a blogpost about it with codeexample. Perfect!

I havent read the post yet. I understand it's for educational purposes and it's more to do then just copy and paste it, but it would be a god starting point.


Mar 13, 2018 18:18
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.