Developer forum

Forum » Ecommerce - Standard features » Discounts and Price Matrix

Discounts and Price Matrix

Nuno Aguiar
Reply

Hi,

 

Looks like the Discount Matrix is not taking the Price Matrix into account. We have a simple discount set up and when we increase the number of quantities, the unit price is updated, but the discount is not.

 

Is this by design or a bug? I understand the user would get a smaller discount, but he would also get a cheaper price.

http://screencast.com/t/ol7wgJ76Rr

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Høeg Pedersen
Reply

How is the discount configured?

 
Nuno Aguiar
Reply

Hi Nicolai,

 

In attachment. Can you see anything wrong with it?

 

Best Regards,

Nuno Aguiar

DiscountPriceMatrix.jpg
 
Nicolai Høeg Pedersen
Reply

Orderline discount... That might be it. What happens if you change it to an order discount?

 
Nuno Aguiar
Reply

Hi Nicolai,

 

It makes no difference for the end total. Check http://screencast.com/t/OxeMprAWEH 

 

I did notice something odd though.

  • The tag Ecom:Product.Discount.TotalAmount.IsZero and only true when it's an orderline discount
  • The tag Ecom:Product.Discount.Price value changes from $25 to $50 just by changing from orderline to order discount

 

The $45 per unit was never taken into account.

 

Best Regards,

Nuno Aguiar

 
Merethe Vrå Andersen
Reply

Hi,

I can't reproduce your setup.

I have a product with 100 kr as default price. Price is 50 kr if 5 of the same product are added to cart.

I have a 50% Order discount (exclusive).

The product costs 100 kr when quantity is 1-4, but > 5 then unit price is 50 kr and the discount is taken from the reduced price.
Product price: 5x50=250 kr
Discount: (50% of 50 kr = 25 kr)x5 = 125 kr

Video: http://screencast.com/t/O9qWo1Z594J (from our internal 8.8.1, but same result in 8.8)
Discount settings: http://screencast.com/t/QAhRuHJyqD6 

Kind regards,
Merethe

 
Nuno Aguiar
Reply

Hi Merethe,

 

I did a bit further digging and amount is accurately calculated, but the orderline discount tag never gets updated and that was confusing me (Ecom:Product.Discount.Price).

 

The problem is noticable when it's an orderline discount.

 

Can you reproduce that?

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum