Developer forum

Forum » Development » Sales Discounts + Discount Matrix

Sales Discounts + Discount Matrix

Nuno Aguiar
Reply

Hi,

 

We have a question about the using Sales Discounts and the Discount Matrix at the same time.

Considerations:

  • They both work independently
    • They have specific interfaces to mange agregated/highest/lowest ruling
    • We've tested setting up 50% discount in a specific product on both modules and ended up with a 100% discount
  • Only Sales Discounts provide custom providers
  • Neither one replaces the other entirely
  • The Discount Matrix is more user friendly and clients tend to prefer it

 

That being said, we need to develop a discount provider, but my question is, what is rendered first, Discount Matrix or Sales Discount?

  • Judging by the 50% example described above and the orderline output, I would say it's the Discount Matrix, which is perfect for us.
  • How can we tell on the provider if there is already a discount applied (assuming the above), so we can decide whether to apply our discount or not?

 

On a side note, how hard would it be to have a 3rd "General discount" control panel that would manage both discount modules interaction? "Keep all", "Highest", "Lowest" options should be enough (at least to start with). I know it's not optimal, but considering the calculations have all been done, seems doable without having to merge both modules.

 

Best Regards,

Nuno Aguiar


Replies

 

You must be logged in to post in the forum