VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Liewilyn on July 25, 2012, 08:12:30 AM

Title: Show prices with tax (EU) for unregistered users
Post by: Liewilyn on July 25, 2012, 08:12:30 AM
Hi Guys,

We really need help here,
We are developing a webshop using Joomla 2.5.6/virtuemart 2.0.8e...

I configured virtuemart to give tax only on those countries under EU, the problem is I want to show those prices with tax when a visitor comes to the site. Because as of now if your not logged-in on the site you will just see prices without tax, the prices that are show on those outside EU Countries.

This was done in Virtuemart 1 with a hack, I hope this feature was added on this latest version or if there is a hack for this please let me know so I can try.

Thanks a lot to Virtuemart Team...
Title: Re: Show prices with tax (EU) for unregistered users
Post by: John2400 on July 25, 2012, 13:58:09 PM
tax can be configured by country , state etc in 2.0.8 -

this is tax shown added to the good + the tax shown by itself - non registered.( guest)

you should just test 2.0.8 on a new folder on your site first -


[attachment cleanup by admin]
Title: Re: Show prices with tax (EU) for unregistered users
Post by: Liewilyn on July 25, 2012, 17:50:04 PM
Hi John,

how did you made it to show prices with tax to non-registered(Guest) on the site?

My configuration under "Taxes and Calculation Rules" is:


Calculation Rule name: Eu Tax
Type of Arithmetic Operation: Tax per product
Math Operation: +%
Value: 19
Currency: Euro
Category: all products categories
shopper groups: -blank-
country: all countries under European Union
State / Province / Region: All that falls under EU
Visible for Shopper: yes
Visible for vendor: yes


and under the product configuration:

Pricing rules overrides: apply default rules (That is Eu Tax)

But it still shows prices of products without VAT for non-registered(Guest)...

Is there a mistake on my configuration? please let me know...

Thanks a Lot!
Title: Re: Show prices with tax (EU) for unregistered users
Post by: John2400 on July 25, 2012, 23:14:16 PM
In 2.0.8 versions - all and up to 2.0.8 e  this is the configuartion settings you can set in the back end.

This is not the configuration for your tax but you can do anything here- to show or hide a tax

* your setting is the tax - this is elsewhere in the main configuration

[attachment cleanup by admin]
Title: Re: Show prices with tax (EU) for unregistered users
Post by: Liewilyn on July 26, 2012, 04:11:32 AM
Hi John,

I tried that already on the configuration>Pricing tab

I even checked all of the possible options to show... but I still don't see prices with tax on the front-end as non-registered (Guest)
Title: Re: Show prices with tax (EU) for unregistered users
Post by: Liewilyn on July 26, 2012, 14:36:17 PM
Can you please give me your exact configuration? on your:
1. tax and calculations rules
2. products page configuration for prices and rules affecting
3. on the virtuemart configuration

Thanks in advance....
Title: Re: Show prices with tax (EU) for unregistered users
Post by: robboh69 on July 26, 2012, 14:47:15 PM
Shopper group for non logged in is "-anonymous-" I think. Try that.

Edit:
This is what I did.
1) Made one calculation rule for logged in "all EU countries and so on" Shopper group "-default-".
2) Made one more rule for not-logged in "no countries selected" and shopper group "-anonymous-"

One rule applies if you are logged in (and is within EU) and the other rule applies for not logged in...

Hope that makes sense and helps.  :)
Title: Re: Show prices with tax (EU) for unregistered users
Post by: John2400 on July 26, 2012, 23:23:57 PM
no , no .

non logged in users (guests) are in he default group and you do not have to set it on anything.
Title: Re: Show prices with tax (EU) for unregistered users
Post by: John2400 on July 27, 2012, 04:07:35 AM

Liewilyn,

a few images :
1/Set up the tax in image one-
2/ product set up
3/configuartion
4/image finished -

the text is done a different way -       not eno group set againt product

[attachment cleanup by admin]
Title: Re: Show prices with tax (EU) for unregistered users
Post by: Liewilyn on July 27, 2012, 07:35:24 AM
I tried your configuration John, but when I logged in using a non-EU country address the tax is still affecting... :(

I'll make a shot on the one robboh69 posted, I'll post an update later...
Title: Re: Show prices with tax (EU) for unregistered users
Post by: Liewilyn on July 27, 2012, 11:45:35 AM
Hi Robboh69,

Can you please give me the configurations on the two rules that you made?

Thanks...
Title: Re: Show prices with tax (EU) for unregistered users
Post by: robboh69 on July 27, 2012, 12:16:31 PM
I Don't know John2400... These settings did it for me. I'm not sure why exactly since I came up with this solution after som trial and error.

Edit: I should add that I had to do these settings after one of the upgrades (think it was after upgrading to 2.0.8c) before that things were like you describe.



[attachment cleanup by admin]
Title: Re: Show prices with tax (EU) for unregistered users
Post by: John2400 on July 31, 2012, 12:19:33 PM
Liewilyn,

Your request and settings ?
* You want the EU tax to show all the time? guest and logged in european user?
If this is correct then delete the country and state from the tax setup? then every one sees the tax.


-------------------------------------------------------------------------------------------------------------------------------------------------------
If not the your setting will only work for a person who is already registered on your site who lives in that region. Or when a guest is adding their address details.

So with the setting below that you have set .What happens a customer a guest will arrive at your shop, move to the shop to buy and when they add their address they will see the prices change. and show the tax.
Title: Re: Show prices with tax (EU) for unregistered users
Post by: Liewilyn on August 02, 2012, 09:09:56 AM
Hi John 2400,

Yes I want everyone to see it, but the point here is that only those who have EU address will only be affected with tax rate.
Title: Re: Show prices with tax (EU) for unregistered users
Post by: John2400 on August 02, 2012, 10:26:09 AM
mmm,

then that is different. If you have a good and apply the tax to be seen by all then everyone gets the tax.

* really I don't see the point if I am australian and you show me the european tax (alraedy displayed) but it does not apply to me they why show it?  You simply need to say that products will contain "regional taxes"  - this tax will be applied at the cart level.

* Customers will be aware of these taxes- If I was from Australia I would not purchase if I saw any tax not related to my region.

If not then you have to try and write a reverse tax - eg If not european then taxes will be deducted by X amount? You might try that.

http://forum.virtuemart.net/index.php?topic=105975.0;topic    seen interesting idea
Title: Re: Show prices with tax (EU) for unregistered users
Post by: esixtyone on August 08, 2012, 15:37:36 PM
I have the same requirement as the OP.

The point is this...

My shop is based in Australia and *most* of my customers are local. *Some* are overseas (and tax does not apply to them)

I want non-logged in users *browsing* my shop see the Australian tax. (In other words, I want to assume they are local)

If, after login / registration the shopper is in not in Australia, then the tax should not apply and therefore the configured tax rule should not be applied.

I hope this is clear.

I'm after guidance on how to configure for this scenario too.
Thanks.
Title: Re: Show prices with tax (EU) for unregistered users
Post by: esixtyone on August 08, 2012, 15:59:57 PM
OK, so setting up another tax rule the applies to the -anonymous- shopper group (and leaving the country blank) worked for me.

Additionally, FYI, If you set the tax rule in the shipping configuration to your local tax, then it will still be applied for an overseas buyer. This is useful because even if the buyer is overseas, the post office is still going to charge tax to ship the product.

Hope that help someone else out.
Title: Re: Show prices with tax (EU) for unregistered users
Post by: John2400 on August 08, 2012, 23:15:44 PM
Australian shops do not need to set a tax up at all - Infact the GST applies to all goods & services so the price is the price.

* I would not set up a tax rule (for australia) - You the seller are the only one who needs to worry about the tax rate - you do this through your monthly tax statement. Customers do not need to see this.

* the default setting is default and is infact - "blank" on all goods - you do not have to set groups at all.

* Then you set up a tax - for all other countries. Then if they purchase then the tax is added depending on their address and shipping based upon their address as well. Tax on shipping does not apply in australia, weight and size are the only component australia post use.
Title: Re: Show prices with tax (EU) for unregistered users
Post by: esixtyone on August 12, 2012, 05:30:41 AM
I have to disagree here.

Business customers expect to see the GST amount on their invoices. to do this a Tax rule needs to be setup for Australian customers.

I had also thought (Maybe mistakenly) that overseas customers were not charged local GST on the goods. I guess you could tax all customers with the local tax (apply it globally). I'll need to check with my store owner to see which is correct.
Title: Re: Show prices with tax (EU) for unregistered users
Post by: John2400 on August 12, 2012, 05:57:52 AM
Yep OK - GST overseas you are correct - and yes maybe for some business - they love to claim GST back - most will ask for it in a requested invoice. ( typical government agencies) -

For those overseas companies - you could just use a tax rule of 10% off. ( reverse tax)

In regards to the invoice - saying GST included - you could do that for Australian customers but .... 

* I have on the front of my store in the heading GST included for Australian goods. -

* For most they don't have the price and then add GST and show it like UK, USA ero. -
* they do add calculations - on overseas countries yes.  ( tomato , Tomato) - up to you - Thanks - I was just pushing the Australian - market only really.

Title: Re: Show prices with tax (EU) for unregistered users
Post by: esixtyone on August 13, 2012, 15:34:27 PM
Hi again John,

I checked with my store owner and his requirements are:-

GST for goods and postage for local, gst amount on the invoice.
No GST for goods *and* postage for overseas.

I checked the (gasp) ATO website. international mail is listed as GST free.

Anyway, the problem regarding display of prices without tax if the shopper is not logged in *is* fixed by the solution proposed above. (-anonymous- group tax rule)
Now the majority of customers (local) browsing the shop will see the GST inclusive price and everyone is happy.

Now if I can just get my other VM2 niggles sorted, I could go-live and have a beer.
Title: Re: Show prices with tax (EU) for unregistered users
Post by: John2400 on August 13, 2012, 23:24:59 PM
I don't use this but - interesting

http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-shipping/20740?qh=YToxMjp7aTowO3M6OToiYXVzdHJhbGlhIjtpOjE7czoxMToiYXVzdHJhbGlhJ3MiO2k6MjtzOjQ6InBvc3QiO2k6MztzOjU6InBvc3RzIjtpOjQ7czo3OiJwb3N0aW5nIjtpOjU7czo2OiJwb3N0ZWQiO2k6NjtzOjY6InBvc3QncyI7aTo3O3M6ODoicG9zdGluZ3MiO2k6ODtzOjU6InBvc3RlIjtpOjk7czo3OiIncG9zdCcsIjtpOjEwO3M6NjoicG9zdHMnIjtpOjExO3M6MTQ6ImF1c3RyYWxpYSBwb3N0Ijt9
Title: Re: Show prices with tax (EU) for unregistered users
Post by: gcoulter on September 03, 2012, 11:53:22 AM
Been trying to follow this thread and figure out the solution.
It's for a UK store but same principles apply, show VAT for everyone, then deduct/remove it for non EU customers.

After playing around with various combinations I eventually figured a really simple solution!
As well as a default rule i.e. vat @ 20% I also need to set up another rule for NON EU countries @ -20%.
Both rates do not have any shopper groups applied to them.
VM sees that both apply and the net result is zero VAT.

The other solution I found was to do a Tax per bill deduction (for the Non EU Countries) which in my case worked out at -16.66667%.

Graham
VM 2.10

Title: Re: Show prices with tax (EU) for unregistered users
Post by: iojens on September 05, 2012, 17:44:15 PM
I'm having the same problem like the OP. Customers in Germany are used to see the final price incl. tax. However if someone from outside the EU makes an order the shop owner cannot collect any taxes and hence no taxes should be applied. Manually refunding the money is a nuisance in particular if the customer uses a credit card or something. A global 'per order' tax rule wouldn't work since we have different taxes for different product types (e.g. books have a reduced tax rate).

The workaround with the anonymous user group raises a problem if you allow 'checkout as guest' - if this guest user tries to checkout both tax rules would be applied (the country specific ones and the one of the anonymous user group). This can be solved if you restrict the country specific tax settings to the 'default user' group.

However if now the non-EU shopper tries to checkout as guest something unexpected happens: For the non-EU countries I added a second rule that would again reduce the tax if needed.. (the rule would be set to apply to the anonymous user group and to selected non-EU countries). The math seems to work, but the display in the checkout process adds a confusing discount information and I don't understand where this comes from (see attachment).

Where do these '30 cent' discount come from? The total of 10 Euro is correct.

This is a fresh virtuemart 2.0.10 installation based on Joomla 2.5.6 - no other plugins, modules or anything installed. The shop only contains a single product category, a single product and 4 vattax rules:
Anyone has any idea what happens here / why those '30 cent' discount are shown? Any input greatly appreciated.

[attachment cleanup by admin]
Title: Re: Show prices with tax (EU) for unregistered users
Post by: lostmail on May 02, 2013, 16:13:53 PM
Quote from: John2400 on August 08, 2012, 23:15:44 PM
Australian shops do not need to set a tax up at all - Infact the GST applies to all goods & services so the price is the price.

* I would not set up a tax rule (for australia) - You the seller are the only one who needs to worry about the tax rate - you do this through your monthly tax statement. Customers do not need to see this.

* the default setting is default and is infact - "blank" on all goods - you do not have to set groups at all.

* Then you set up a tax - for all other countries. Then if they purchase then the tax is added depending on their address and shipping based upon their address as well. Tax on shipping does not apply in australia, weight and size are the only component australia post use.

.. in my configuration ( 2.0.20b)...i created a Tax rule for non EU Countries (-19%)
I took an existing user - changed the country from EU to non EU - but nothing happens - the Tax is still calculated....

Is there a workaround for setting up tax for german shops (EU - EU with VAT - non EU) ??
Not logged in users will have tax calculated by default...that should be clear....but latest if the user is registered and logged in - the prices yould change (without tax for non EU Contries).
That`s the way ALL E-Commerce Shops are setup...VM has it`s own way ? (Admin has to change Shoppergroup ???)
Title: Re: Show prices with tax (EU) for unregistered users
Post by: Mongrel on July 05, 2013, 02:17:00 AM
We are in the same boat here!!  :(  Arghh!!  Why is this so hard!!

We MUST as an Australian shop, display prices INCLUDING tax - so even when not logged in - it must show a price including tax.  HOWEVER, when someone purchases from say New Zealand, we don't want tax applied!

Come on VM - How hard can it be!! 

The system just needs to check country and apply or not apply tax!!  Surely it's not that hard!!!
Title: Re: Show prices with tax (EU) for unregistered users
Post by: roefen on October 17, 2013, 23:46:05 PM
Hi just moved up from VM 1.1.9 to 2.0.24 and can't get this TAX thing working.

I need to show all prices with TAX (since most my customers are within the EU),
but when changing country in checkout, the TAX should not be added if customer is outside EU.
The problem is that all my orders are guest-checkouts, so I can't get some of the sollutions here to work.

I have set up a TAX rule, "Tax by product", 25 +%, currency: Euro, country: all EU countrys. Shopper groups: blank.
And on product: Base price "Apply default rules"
This works fine in the checkout but shows the price without TAX in the store (since you can't log in)

When I tryed add a TAX rule for shopper group "Anonymous" with the same rate, the store shows the prices correct
but since its a guestcheckout then it applys both TAX-rules in the cart.

Not sure how to fix this, it worked fine in VM 1.1.9, can anyone help me with this please?
Thanks!
Title: Re: Show prices with tax (EU) for unregistered users
Post by: Mongrel on October 17, 2013, 23:52:29 PM
I solved this for our store as follows...

I have a Tax Rule setup for 10% GST. No countries selected and and for all shopper groups.

I then have another tax rule setup for all countries EXCEPT Australia and have -10% GST.  That works perfectly.

My terms and conditions state that Tax will be removed at chekout if you are from Overseas. 

Perfect!
Cheers
John
Title: Re: Show prices with tax (EU) for unregistered users
Post by: roefen on October 18, 2013, 00:22:25 AM
Quote from: Mongrel on October 17, 2013, 23:52:29 PM
I solved this for our store as follows...

I have a Tax Rule setup for 10% GST. No countries selected and and for all shopper groups.

I then have another tax rule setup for all countries EXCEPT Australia and have -10% GST.  That works perfectly.

My terms and conditions state that Tax will be removed at chekout if you are from Overseas. 

Perfect!
Cheers
John

You Sir are a genius!!
Thank you so much, never though about going the other way around, works great! :D
Title: Re: Show prices with tax (EU) for unregistered users
Post by: Mongrel on October 18, 2013, 00:27:24 AM
You are welcome!  Glad I could pay it forward and help someone else for a  change.  :D
Title: Re: Show prices with tax (EU) for unregistered users
Post by: Pete60 on May 28, 2014, 10:27:02 AM
Quote from: Mongrel on July 05, 2013, 02:17:00 AM
We are in the same boat here!!  :(  Arghh!!  Why is this so hard!!

We MUST as an Australian shop, display prices INCLUDING tax - so even when not logged in - it must show a price including tax.  HOWEVER, when someone purchases from say New Zealand, we don't want tax applied!

Come on VM - How hard can it be!! 

The system just needs to check country and apply or not apply tax!!  Surely it's not that hard!!!
Though this thread is a year old it might be useful if I add my own solution as its slightly different to others:
I have an Australian shop and need to:
1. display prices including GST to casual non-logged on visitors
2. display prices including GST to logged-in Australian shoppers
3. display prices excluding GST to logged-in users from all other countries

I have 3 tax rules which are, in order:
1. set +% 10.00 for GST and set shopper group to anonymous. This apparently shows the 10% gst to all non-registered users
2.  Set GST ( VAT tax) to 0.00 for all shopper groups, all countries selected. This sets price to include no GST for all but Australian logged-in users - see rule 3
3. set +% 10.00 for GST for all shopper groups, Australia set as country. This sets price to include GST for logged-in Australian users. It seems that rule 3 modifies rule 2 so that Austraians see the GST included when they log in

The down sides are that overseas users not logged in will see the GST-inclusive price, but it will revert to non-GST price once they log in. Cant see any way around this
Title: Re: Show prices with tax (EU) for unregistered users
Post by: GJC Web Design on May 28, 2014, 13:22:53 PM
Correct - we have the same problem with e.g. Swiss shops etc that have different GST to the rest of EU etc

The simplest way is clear labelling : most things can be solved with adequate feedback to visitors
A big fat notice saying Overseas visitors please make an account to see the huge reduction in prices ex Aussie.. etc

It's probably enough  - you could even make it geo related - something like http://www.metamodpro.com/metamod/download

GeoIP-based selection
switch based on user's country/state/city