1. Home
  2. WooCommerce Discount Manager
  3. Troubleshooting

The cart is showing the incorrect price for a "Buy X products for Y" discount

In WooCommerce Discount Manager, if you have taxes enabled then you might occasionally find rounding errors with the "Buy X products for Y" discount type. For example, if you have set up a "Buy 3 for $10" deal then the cart may show as $9.99 instead of $10.

This is caused by a bug in WooCommerce itself rather than WooCommerce Discount Manager, and you can read more about it in this or this thread. There are several solutions which you can use:

  • Go to WooCommerce → Settings → Tax and enable the Rounding option.
  • Alternatively, you can set the number of decimals to anything other than "2".

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.