VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: darkidas on September 16, 2013, 18:15:31 PM

Title: Want to auto assign users to shoppergroups based on country
Post by: darkidas on September 16, 2013, 18:15:31 PM
Hi,
Virtuemart 2.0.22d / joomla 2.5.14
I have an issue and i would like your help. I am working on an international eshop based on Greece. I want it to create the invoices like:

-Show tax in the invoice for greek shoppers
-hide tax in the invoice for all foreigners and only show the final price

I found a way to do that with shopper groups. I will make a shopper group for foreigners where i will assign it to a new price in my products. The new price will be the final price and no tax will be applied for that shopper group. This way i get what i want. Problem is i want to auto assign foreigners in the foreigners shopper group on registration or on checkout as guests. How can i do that? Any suggestions would be appreciated . thanks in advance.
Title: Re: Want to auto assign users to shoppergroups based on country
Post by: Maxim Pishnyak on September 16, 2013, 18:30:47 PM
Taxes is country related currently.
Title: Re: Want to auto assign users to shoppergroups based on country
Post by: darkidas on September 16, 2013, 20:39:04 PM
Thanks for your answer but that does not help me.
I'll give an example so you can understand my issue better.
I have a product with base price x and greek tax is y. Lets say the final price is z (x+y).
I want the invoices to greek customers to show that final price is x+y but the invoices for foreigners i want them to show that final price is z and no tax shown there.

If i use the method you suggested i cannot have this.
I can assign a base price of x and create 2 taxes(1 for greece and 1 for all other countries)
Greece invoices are ok but all the others show the tax too. I cant have them show that the product cost z. I hope i made myself clearer now. Thank you
Title: Re: Want to auto assign users to shoppergroups based on country
Post by: Maxim Pishnyak on September 17, 2013, 09:51:47 AM
Tax for other countries isn't apply at all? Could I see this tax setup on your screenshot?
Title: Re: Want to auto assign users to shoppergroups based on country
Post by: darkidas on September 17, 2013, 17:23:51 PM
It is applied just fine for all countries. My problem is that for all countries except greece i want it applied but not shown on the invoice. This is something my client wants that has to do with the greek tax system.
So if a product has a base price of 10 euros and a tax of 1 euro i want the invoices like this ->
greek invoices->Final price :10+1=11 euros
all other invoices->Final price : 11 euros (no tax is shown but is applied behind the scenes)
Thank you
Title: Re: Want to auto assign users to shoppergroups based on country
Post by: Maxim Pishnyak on September 17, 2013, 17:41:14 PM
Condition could be written in cart template overrides probably.
Title: Re: Want to auto assign users to shoppergroups based on country
Post by: jenkinhill on September 17, 2013, 18:07:27 PM
How does this fit with  EU VAT rules compliance?
Title: Re: Want to auto assign users to shoppergroups based on country
Post by: darkidas on September 17, 2013, 18:37:24 PM
I have no idea. My client informed he had asked his accountant and he advised him to do it this way. And as an example he told me that when he buys something from abroad the electronic invoice does not show any tax. Just the final price he pays. Should i advice him to ask another accountant ?