Developer forum

Forum » Dynamicweb 10 » Discount logic

Discount logic

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I am trying to configure a discount combining several conditions.
My purpose is to give 3% discount to products from a group, for a customer from a specific User group, and only if the quantity in the cart is greater than 10 units for any combination of products from a specific product group.
I have configured a Reward:

  • Type: Percentage
  • Applies to: all selected products
  • Included product groups: Mountain bikes

Then, I have configured Conditions:

1. UserGroup: B2B Customers

2. Product group:

  • Quantity:10
  • Counts total amount of products from selected product groups
  • Included product groups: Mountain Bikes

I have added 5 units of E-BIG TOUR 600EQ SILK BLUE/BLACK L 48CM and 8 units of eONE-SIXTY 9000 (V1), both from the Mountain Bikes group. I am logged in as a B2B customer.
However, no discount is applied in the cart.

There are no other discounts defined.
What am I doing wrong?

Thank you,
Adrian


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

I believe that no matter what I select here:

it will always count the number of products from that group and ignore the quantity.
I may be wrong, though.

Adrian

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi Adrian,

Good find. It seems to be an issue with the distinct quantifier. #26086

BR Rasmus Sanggaard

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Rasmus,

Thank you for the confirmation. It's probably the first time I am happy it is a bug :)

It drove me insane yesterday because I could not figure out how to make it work :)

Adrian

 

You must be logged in to post in the forum