Developer forum

Forum » Ecommerce - Standard features » Product discount and order discounts

Product discount and order discounts

Siv-Renate Hansen
Siv-Renate Hansen
Reply

In a web shop, many discount types may  occur at the same time. Sometimes some products are on sales, and sometimes a customer has a order discount due to some criteria.

For example; I'd like to sell out the glasses in my webshop, with 20% discount. At the same time, John Doe have a 30% order discount due to membership in an organisation.

However, I don't want John Doe to get 50% discount on the helmets. How do I prevent discount combinations?

I tried the priority setting (1 for products) and "Stop further rules processing", and put 2 on the order discount and also the "stop further rules processing" setting. The order discount type is of Order Discount (Inclusive).

Still, the cart shows both disount types. I would like it to only use one; the one with the highest priority. I also want products that are not on sale to have the order discount applied.

I'm obviously missing something, and I cannot figure out what.

My testsite http://dxc.rapidodemo.dynamicweb-cms.com/


Replies

 
Nicolai Pedersen
Reply

Hi Siv

First of all - make sure you have read the details related to "Stop further rules processing" here: https://doc.dynamicweb.com/documentation-9/ecommerce/payment-shipping/discounts-offers#8284

Product discounts and order discounts are 2 different things with regards to that checkbox.

What you can do is, on the order discount set the checkbox "Only apply to products without a discount" - that should do the trick.

I know there is a lot of settings and that it can be triggy!

BR Nicolai

 
Siv-Renate Hansen
Siv-Renate Hansen
Reply

Ok, I tried your suggestion, but I still get the product discount AND the order discount.

Product discount

name 25% off

Active Yes

Valid until 2024

Priority 1 

Stop further rules processing Unchecked

Apply as Product Discount

Discount type Percentage

Percentage 25%

Limit discount
   
 

 

Products and groups Eyewear (Bikez)

 

 

Order discount

Name 30% ordrerabatt

Active Yes

Expire Never

Priority NULL

Apply to All products

 

Limit discount
   

 

 

And this is what I get

 

Performance Vector Multi-Lens
#10047
M
$ 29.99
$ 29.99
  25% off   $ -7.50
  30% ordrerabatt   $ -9.00
 
Subtotal
$ 13.50
Total
 
 
 

Is it possible that this is a bug? It is the same in this demo site http://dynamicwebdemo.dwsales.dynamicweb-cms.com/ ( on your demo site, I had to check Stop further rules processing, since there also was a 30% discount and I didn't want to delete that. However, your documentation says that the product discount and order discount do not intefere with eachother in relation with this setting)

 

 
Nicolai Pedersen
Reply

Hi Siv

Yes - I can see that is not working as intended. It does work on 9.6 and the upcoming 9.8, but there seems to be a bug here. I have notified the QA which will bug it and have it fixed.

Thanks and sorry about the inconvenience!

BR Nicolai

 

You must be logged in to post in the forum