cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 1.9 tier discount precision

Magento 1.9 tier discount precision

We have a Problem with differences in the total price of the order between our Magento Webshop and ERP.

 

For example Magento (in our case 1.9.4.0) calculates this way:

  • 7.85 € (product price) - 5% (tier disc. for 5 pcs) = 7.4575 € => 7.46 € (will be rounded now)
  • 7.46 € (tier price) x 100 pcs (qty) = 746.00 € (position total)

 

But our german ERP calculates this way:

  • 7.85 € (product price) - 5% (tier disc. for 5 pcs) = 7.4575 €
  • 7.4575 € (tier price) x 100 pcs (qty) = 745.75 € (position total) => 745.75 € (will be rounded now)

 

Result for the order item total:

  • Mage: 746.00 € => more or less 5% discount ( 4.97% )
  • ERP: 745.75 € => exactly 5% discount

 

My reflections:

It could be a solution to...

  • ...increase the precision of the tier prices from 2 decimal places to X
  • ...use percentage tier discounts instead of amounts.

 

Questions:

  1. Is there a parameter in the magento configuration to increase the precision of the tier prices? ...or another easy way?
  2. Do you have a recommendation for a module, which allows percentage tier discounts, calulates with all decimal places and rounds the item total at the end?
  3. What are your thoughts?

 

Thanks and best regards,

Chris

1 REPLY 1

Re: Magento 1.9 tier discount precision

Too bad, there doesn't seem to be a Magento community anymore, at least for Magento 1.