Title: Wrong Subtotal calculation
Last modified: June 6, 2017

---

# Wrong Subtotal calculation

 *  Resolved [vishal1988](https://wordpress.org/support/users/vishal1988/)
 * (@vishal1988)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/wrong-subtotal-calculation/)
 * Hello,
    we have issue with the plugin it affect our normal default country also.
   It affect on the zone which we have not added for the the currency change of 
   default country but it still affect on it. When i disable this plugin it works
   perfectly. we have getting issue in the my box and checkout subtotal value increased
   by 0.01 when there are multiple quantity of the product in cart. This is our 
   website [https://thebigfruit.com/](https://thebigfruit.com/) we are getting issue
   for the both of the products Also we have many more products on the demo server
   you can also check there we have same issue there. [http://180.211.106.98/thebigfruit/boosted-oral-health/](http://180.211.106.98/thebigfruit/boosted-oral-health/)
   Please help us to solve this issue as it affect in all the way it causes in the
   invoice and the order listing and detail page display wrong price As we are just
   live now please help us as soon as possible. we also have install your paid addon
   for the dynamic exchange rate.
 * Thanks
    The Bigfruit Team
    -  This topic was modified 8 years, 12 months ago by [vishal1988](https://wordpress.org/support/users/vishal1988/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/wrong-subtotal-calculation/#post-9202100)
 * Hi,
    I do not understand the problem fully. It’s strange that the increment affects
   to your _normal default country_ because for the _normal default country_ the“
   price based on country” isn’t loaded, unless you have added your _normal default
   country_ to a zone.
 * If the increase is small, and you are basing prices on the exchange rate, the
   0.01 increment may be due to the number of decimals in the exchange rate.
 * Can you give me a detailed example of the problem that includes your exchange
   rates and prices?
 * Regards,
    Oscar.
    -  This reply was modified 8 years, 12 months ago by [Oscar Gare](https://wordpress.org/support/users/oscargare/).
 *  [zauberware](https://wordpress.org/support/users/zauberware/)
 * (@zauberware)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wrong-subtotal-calculation/#post-9206818)
 * Hey Oscar,
 * we are having a problem with the subtotals in one of our shops. After the exchange
   rate is applied, the calculation goes on with more than 2 decimal numbers. If
   someone orders 100 pieces of something the listing is wrong and the invoice in
   the end too. See my screenshot.
 * ![wrong calculation in woocommerce cart](https://i0.wp.com/www.ghost-white-toner.
   com/wp-content/uploads/sample1.png?ssl=1)
 * What can we do? The customers CRM system sees these orders as errors because 
   it checks 2.25 CHF * 10000. I would also say 22.500 CHF is correct, but the cart
   and invoice in the end says 22.465,34 CHF
    -  This reply was modified 8 years, 11 months ago by [zauberware](https://wordpress.org/support/users/zauberware/).
 *  Plugin Author [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wrong-subtotal-calculation/#post-9208210)
 * Hi,
    This is a bug in WooCommerce that affects to default prices too.
 * If your product’s price is 22.34 and you have set 0 decimals in WooCommerce general
   settings, your product’s price looks at frontend as 22. If you add 10 products
   to your cart the total line item is 223 instead of 22*10 = 220.
 * I can add a patch to my plugin to solve problem with prices calculates by exchange
   rates, but the bug stills for manual prices (WooCommerce default prices included).
 * I’ll fix it in next release.
 * Thanks for feedback.
    -  This reply was modified 8 years, 11 months ago by [Oscar Gare](https://wordpress.org/support/users/oscargare/).
 *  Plugin Author [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wrong-subtotal-calculation/#post-9215207)
 * Hi, Fixed in 1.6.11.
 *  [wideroadby](https://wordpress.org/support/users/wideroadby/)
 * (@wideroadby)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wrong-subtotal-calculation/#post-9215305)
 * Hello.
    As soon as I updated to 1.6.11, WooCommerce Price Based on Country started
   working wrong. All goods in the shop have the On Sale status (the On Sale pics
   appeared next to each picture of the goods), each the good has the two prices(
   one price is strikethrough and placed higher, another price is regular and is
   placed lower). It looks like the On Sale price is filled in the same price as
   the Base price. You may see the problem here [https://menaco.by/product-category/tovary-dacia](https://menaco.by/product-category/tovary-dacia).
   Please advise me how to cover the problem.
 *  Plugin Author [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wrong-subtotal-calculation/#post-9215481)
 * Hi [@wideroadby](https://wordpress.org/support/users/wideroadby/),
    thank you
   so much for your feedback. I have found the problem and it’s fixed in 1.6.12.
   Let me know if you have any problem. Regards, Oscar.
 *  [wideroadby](https://wordpress.org/support/users/wideroadby/)
 * (@wideroadby)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/wrong-subtotal-calculation/#post-9215705)
 * Hi Oscar,
 * Thank you very much for your prompt fixing.
    WooCommerce Price Based on Country
   is the best again.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Wrong Subtotal calculation’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-product-price-based-on-countries/assets/icon-
   256x256.png?rev=1976858)
 * [Price Based on Country for WooCommerce](https://wordpress.org/plugins/woocommerce-product-price-based-on-countries/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-product-price-based-on-countries/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-product-price-based-on-countries/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-product-price-based-on-countries/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-product-price-based-on-countries/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-product-price-based-on-countries/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [wideroadby](https://wordpress.org/support/users/wideroadby/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/wrong-subtotal-calculation/#post-9215705)
 * Status: resolved