Shipping by Rules for VirtueMart

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!



The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1


Tax on shipping added to actual price & taxed agn 29 Apr 2015 19:08 #1

  • tennessee
  • tennessee's Avatar Topic Author
I'm not sure if this problem originates with this plugin (Adv shipping by rules) or not, actually kind of doubt it. But I'm hoping you can help point me in the right direction even if it is, in fact, a virtuemart issue.

When we ship to Tennessee, we must charge tax on our orders...including tax on the shipping amount. So I have a tax rule set up in virtuemart that says if the bill to state is TN, charge 9.25% tax. This "per bill" tax rule is set for -default- and -anonymous- shopper groups. The math operation is set to +%.

Because I have to charge sales tax on any "shipping" charges collected (only when shipping to TN), I have the "advanced shipping by rules" rule set to follow "-default- tax rules". The problem that is happening is that the "tax" amount for shipping is being added to the bill twice.

An example case:
pre-tax product total is 13.43
tax for the product alone should be 1.24
the pre-tax shipping total (should be) 16.92
tax for the shipping alone should be 1.57
total for the order, should add those four numbers to result in 33.16

What is happening however, is the following:
pre-tax product total is 13.43 (as it should be)
the pre-tax shipping total is shown as 18.49 (it is adding in the tax to the actual shipping price...and then adding the tax amount again on top of that)
there is also a line that shows tax on the shipping alone should be 1.57
total for the order is presented as 34.73 (by adding product total 13.43, tax of 2.81 (which is tax for both the shipping and the products), and shipping charge of 18.49 (which is the shipping charge plus the shipping tax).

What setting is causing the shipping to get taxed double? Can you point me in the right direction please?


Tax on shipping added to actual price & taxed agn 04 May 2015 23:56 #2

Dear Tim,
Thank you for the bug report. I am able to reproduce the problem, but as you suspect, it is not specific to our shipping plugin (I'm actually reproducing it with the default shipping method of VM).

Notice, however, that the tax is correctly calculated when you choose "Vat Tax per Product". Only the "Tax per bill" seems to duplicate tax on shipping. Is there any particular (legal?) reason why you can't use Vat Tax per Product"?

Anyway, I'll forward this issue to the VM core developers to take a look.

Best regards,
  • Page:
  • 1