News:

Support the VirtueMart project and become a member

Main Menu

Tax rules not working for unregistered users

Started by emaravelia, August 28, 2012, 20:12:34 PM

Previous topic - Next topic

emaravelia

Hello,

I am using VM 2.10 and Joomla 2.5.

I have 2 different tax rules 1 at 0% and 1 at 18%. I need to apply the 0% rule to all orders in a specific region within my country (Las Canarias in Spain) and the 18% to the rest. In the configuration I have chosen the country and region correctly for each rule.

If a user is registered he can see the prices that apply to his address, but if the user is not registered (and most of them when they are browsing are not registered) see only the net price (without any tax)

I have selected Use generic rules at the product configuration but it doesn´t seem to work.

Any ideas at where the problem may lie?



Thank you

[attachment cleanup by admin]

Milbo

In your case, you must always use the generic rules. The other thing should not be touched. It is overwriting the price and just used without test (except the date).

So you must set your products to generic.

Next remove the shoppergroups from your rules. Then create a tax with all  Europen countries except spain (yehyeh, we wanna make that more easy). then create two rules, for spain... Now you must decide which tax rate should be the standard.

Then just add the states (or state) to the rule, which should not be the standard and thats it.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

emaravelia

#2
Thank you for the reply Milbo.

In the country  configuration I have only Spain and Andorra published as I don't sell to other countries. The rest of the countries are unpublished so I cannot create a general rule for all european countries.

I have tried removing the states for the standard rule but then the tax calculation doesn´t work for registered users.

As it is right know I have the following:

A tax rule for all categories, for Spain and for 2 states at 0%
A tax rule for all categories minus one, for Spain and Andorra with all the states minus the 2 before mentioned at 18%
A tax rule for one category(books) for Spain and Andorra with all states minus the 2 before mentioned at 4%

With the above rules if a user is registered he can see the right price except for that one category (books) that it adds el tax no matter where you are.

If a user is not registered they can only see the net prices.

Do you suggest i change the country configuration and add a general rule for all except spain and andorra?

emaravelia

Solved.

I found some other posts where somebody was suggesting to create a tax rule for anonymous shoppers and set it at your general tax. That has worked for me fine.