Title: Calculating VAT incorrectly
Last modified: August 22, 2016

---

# Calculating VAT incorrectly

 *  Resolved [Luis Martins](https://wordpress.org/support/users/lmartins/)
 * (@lmartins)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/calculating-vat-incorrectly/)
 * Hi,
 * Im using WooCommerce subscriptions and have noticed that with that plugin the
   menu item inserted by WooCommerce Menu Cart display the price incorrectly.
 * My store is configured to include VAT in the inserted values, so in the cart 
   the VAT is deduced from the original price and then added back on the cart totals.
   Menu Cart displays both values (now and then) for the subscription, the now value
   is correct but the then value adds VAT yet again.
 * You can see the problem in this screenshot, where I show bot the cart and the
   output of your plugin:
 * [https://www.dropbox.com/s/ma5sex6l3j5ikbp/Screenshot%202014-10-09%2008.30.42.png?dl=0](https://www.dropbox.com/s/ma5sex6l3j5ikbp/Screenshot%202014-10-09%2008.30.42.png?dl=0)
 * Thanks.
 * [https://wordpress.org/plugins/woocommerce-menu-bar-cart/](https://wordpress.org/plugins/woocommerce-menu-bar-cart/)

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

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/calculating-vat-incorrectly/#post-5372480)
 * Hi There,
    The plugin merely pulls the data from WooCommerce and doesn’t make
   any calculations. We cannot make any changes to this, so I advise you to contact
   the WooCommerce Subscription authors.
 * Let us know if you need anything from us though!
 * Ewout
 *  Thread Starter [Luis Martins](https://wordpress.org/support/users/lmartins/)
 * (@lmartins)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/calculating-vat-incorrectly/#post-5372482)
 * Hi,
 * Thanks for the feedback. Have you checked the screenshot, Subscriptions is showing
   the values correctly there. Guess i’ll have to check another option to show the
   cart in my navigation.
 * Thanks.
 *  Plugin Contributor [Jeremiah](https://wordpress.org/support/users/jprummer/)
 * (@jprummer)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/calculating-vat-incorrectly/#post-5372491)
 * Are you using the latest version of subscriptions? Older versions had a bug that
   causes this but it was fixed in 1.5.10. See this thread: [https://wordpress.org/support/topic/cart-with-subscriptions-and-products-not-working?replies=8](https://wordpress.org/support/topic/cart-with-subscriptions-and-products-not-working?replies=8)
 *  Thread Starter [Luis Martins](https://wordpress.org/support/users/lmartins/)
 * (@lmartins)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/calculating-vat-incorrectly/#post-5372496)
 * Yes, im running the latest version, just installed it yesterday.
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/calculating-vat-incorrectly/#post-5372506)
 * Which Subscriptions plugin are you using, from WooThemes or from CodeCanyon or
   another? The fix that Jeremiah mentioned is in the WooThemes plugin.
 * I did see that subscriptions is showing the correct values in your screenshot,
   but in that same screenshot, subscriptions is also showing the wrong values: 
   in the menu cart.
    Subscriptions alters the way the totals and prices are displayed,
   and this needs to be done at several levels. It looks like your settings do not
   come through correctly, but there’s nothing the menu cart can do about that. 
   I think you’ll be hard pressed to find an alternative solution that gets the 
   correct prices, since they’ll have to use the same functions!
 *  Thread Starter [Luis Martins](https://wordpress.org/support/users/lmartins/)
 * (@lmartins)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/calculating-vat-incorrectly/#post-5372524)
 * Im using the version from WooThemes.
 * Not sure what you mean by wrong values from Subscription on my screenshot.
    The
   cart totals show:
 * 28.46€ now then 28.46 / month (ex. VAT)
    VAT Standard 6.54€ / month Order Total:
   35.00€ / month
 * On menu cart it says:
    28.46€ now then 41.54 € / Month
 * The incorrect value is 41.54€.
    The “then” value is getting VAT added 2 times.
   Have no idea where that comes from but considering the cart totals shown bellow
   I would suspect is somehow Menu Cart is adding VAT two times on the second value.
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/calculating-vat-incorrectly/#post-5372530)
 * The line “28.46€ now then 41.54 € / Month” comes from WooCommerce/Subscriptions
   _as a whole_, not as separate amounts but as plain text. Therefor it’s not possible
   for the Menu cart to modify or recalculate anything (unless you strip out the
   numbers from the text and then replace them with new values): there is no ‘first’
   and ‘second’ value to the menu cart. That’s what I meant to say when I wrote 
   that Subscriptions is outputting the wrong values.
 * Please contact WooThemes about this, as this is really not something that we 
   can influence. I am sorry we cannot be of any help with this!
 *  Thread Starter [Luis Martins](https://wordpress.org/support/users/lmartins/)
 * (@lmartins)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/calculating-vat-incorrectly/#post-5372548)
 * Thank you for the clarification Ewout, with it I can try to get any clarification
   from WooThemes regarding the issue. If you don’t mind i’ll mention this discussion
   as a reference.
 * Cheers.

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

The topic ‘Calculating VAT incorrectly’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-menu-bar-cart/assets/icon-256x256.png?rev=2190481)
 * [Menu Cart for WooCommerce](https://wordpress.org/plugins/woocommerce-menu-bar-cart/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-menu-bar-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-menu-bar-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-menu-bar-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-menu-bar-cart/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Luis Martins](https://wordpress.org/support/users/lmartins/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/calculating-vat-incorrectly/#post-5372548)
 * Status: resolved