News:

Looking for documentation? Take a look on our wiki

Main Menu

Tax rates all show up as a guest user. Need fix!

Started by python8, October 03, 2012, 23:59:57 PM

Previous topic - Next topic

python8

Virtuemart 2.0.10 cart shows all tax rules for anonymous (guest or not logged in) users. How can this be fixed?

Hello,

Let me begin with specifications:

Virtuemart 2.0.10
Joomla 2.5.7

The store/site I am working on is in Texas. Therefore, I must add 8.25% sales tax to only Texas residents. I do not want to charge tax for everyone else in the United States. If a new user comes to my site, adds a product to their cart, and clicks show cart, they will see all tax rules (in my case Texas state taxes) that I have set up until they specify a Billing/Shipping address with a state. I do not want users from other states thinking that they will be charged sales tax on their order. Can someone please help me find a fix for this issue.

Here are some setting I currently have set in Virtuemart:

Tax Rule #1
Published: Yes
Ordering: 0
Description: Texas State Taxes
Type of Arithmetic Operation: Tax per bill
Math Operation: +%
Value: 8.25
Currency: United States Dollar
Product Category: Blank
Shopper Groups: Blank
Country: United States
State/Province/Region: Texas
Visible for Shopper: NO
Visible for Vender: No

----------------------------------------------------
Shopper Group Name: -anonymous-

Enable shoppergroup specific price display:    checked
Show Prices:               checked

********************************
(all sections below have show price and show label checked; rounding 2 digits)
Baseprice           
Baseprice modificator          
New baseprice modified by chosen product variant       Baseprice with Tax, but without discounts          
Discounted Price without tax          
Salesprice with discount, but without override          
Final salesprice          
Salesprice without tax          
Discount amount          
Tax amount
*********************************
----------------------------------------------------
Shopper Group Name: -default-

Enable shoppergroup specific price display:    not checked
Show Prices:               checked

********************************

Baseprice: Show Price checked;Show Label Checked        Baseprice modificator:    Show Price not checked;Show Label not Checked      
New baseprice modified by chosen product variant: Show Price not checked;Show Label not Checked          Baseprice with Tax, but without discounts: Show Price not checked;Show Label not Checked             
Discounted Price without tax: Show Price checked;Show Label Checked      
Salesprice with discount, but without override: Show Price not checked;Show Label not Checked                
Final salesprice: Show Price checked;Show Label Checked    
Salesprice without tax: Show Price checked;Show Label Checked    
Discount amount: Show Price checked;Show Label Checked       
Tax amount: Show Price not checked;Show Label not Checked
*********************************
----------------------------------------------------
Here are a couple photos of the configuration settings I have set.



I have tried almost everything and cannot seem to get anything to work. Please help! I would love to figure this out so that we can come up with a good solution to share with others. Once this issue is resolved I am going to create a clean and clear step by step work around for others to use.

Thanks! Alan

jenkinhill

Try setting your tax rule for the default group rather than anonymous.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

python8

Quote from: jenkinhill on October 04, 2012, 11:04:27 AM
Try setting your tax rule for the default group rather than anonymous.

Thank you for replying to my post. The tax rule was not set to any shopper group. It was blank. I did try setting the tax rule to Default shopper group and this is the result I got:

As I started off as a new anonymous user on the site, I added an item to my cart. When I clicked show cart, no tax was shown. I then clicked on Checkout Now at the bottom and it took me to the "Your account details" page/add/edit billing address page. From this page I tried it two different ways. First I filled out a whole new user account (with Texas address) and clicked register and checkout. This option showed no taxes (I believe even though I'm logged in it still thinks I am anonymous user). The second try I cleared my cookies and started again. This time I just chose to checkout as a guest with a Texas address and it didn't charge any tax either (it still shows me as a anonymous user).

Note: one thing I did notice in all of my testing is that if I set my tax rule to "Type of Arithmetic Operation: Vat Tax Per Product" it would behave properly, however, it wouldn't charge tax on shipping and in Texas I will need to charge tax on shipping. This is the only arithmetic operation that seems to work correctly.

Thanks again for your help! Any other ideas?

sondarva_niraj

Yes, I am having the same problem.

Even in virtuemart mini cart module shows up the price with tax included when I didn't put billing and shipping address.

But when I add proper addresses, they work all good showing tax only if address state matches the tax states.

system works fine for default (Registered,I guess) user but what if my site uses 'checkout without registration (anonymous user)' type system?

the site I am working on,http://store.lovegreencar.com/..

And Virtuemart2's checkout system is pathetic (VM 1.9's was way better), I had to modify it manually. though I can't extend it towards fourth step.

Thank you for the help

Virtuemart is like Girlfriend ! eats out your brain, yet you can't resist to love it..

PinnacleNS

#4
https://srihosting.com/about-sri/blog/2012/09/virtuemart-2-apply-tax-only-when-state-andor-country-match/?Itemid=189


I found this topic on the net, not sure if it works yet as i am testing myself. I have the same issue. Thank you for your detail in the top post, i am needing the same thing but for SC. Would some one please look at the link i found and see if it is a solution to what we are all needing?

I will report and let you guys know if it works for me, but another set of eyes (and testing) would be great.


Joomla 2.5.6
VM 2.0.10

PinnacleNS

One simple question i do have is:

When making a Tax Rule, for instance like the "Texas" one above and wanting it to be applied to every product IF the user (anonymous or not), but only be applied if the user's billing address is = Texas. Would I need to add the price rules to every product? Or make the value "Apply Default Rules"? I have used SC instead of Texas in my screenshots.



[attachment cleanup by admin]

PinnacleNS

Quote from: PinnacleNS on October 17, 2012, 19:26:21 PM
https://srihosting.com/about-sri/blog/2012/09/virtuemart-2-apply-tax-only-when-state-andor-country-match/?Itemid=189


I found this topic on the net, not sure if it works yet as i am testing myself. I have the same issue. Thank you for your detail in the top post, i am needing the same thing but for SC. Would some one please look at the link i found and see if it is a solution to what we are all needing?

I will report and let you guys know if it works for me, but another set of eyes (and testing) would be great.

I could not get this to work for me.


sondarva_niraj i see everything seem to working correctly on your site, can you please chare with us how you got it to not show tax on the "Show Cart" page?

tyrela

im having this issue too.  it is especially frustrating with international that have not state value.  having it blank shows the tax.

I tried the hack above and it made no change.


dezinezone

#8
Has this issue been resolved? I need to set the price with NO tax and the tax ONLY be applied when a New York Resident is logged in.

If a customer lives in a state other than New york, then they do not have to pay sales tax, but if they do live in New York then they need to pay 8.5% sales tax. I meed to have the price shown without tax until the checkout page. At the checkout page it needs to add the tax if they have a New York Shipping address.

This is standard for almost every shopping cart I have ever used online.

Is there a way to set VirtueMart 2.0.14 in that manner?
At this time I do not have any tax rate associated with products so that it shows the price without tax. I need to be able to set it to 8.5% but still show the price without tax.
Any help would be greatly appreciated.

I am using
php version 5.2.17
Joomla 2.5.8
Virtuemart 2.0.14
My url to the page in question is:
http://www.trailridingsaddles.com/25/en/online-shop/all-saddles/western-trail-saddles.html

jenkinhill

Set up just one Tax/calculation rule for 8.5% and apply it to Country US and State / Province / Region to New York.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

dezinezone

Hello jenkinhillI
have already done that and it doesn't work correctly. There are many posts in this forum with people having the same issue. Can you show me an example site where this works in the manner I need?
Thank you

tpascubarat

Under Tax & Calculation Rule, select the tax rule you created.  Under Type of Arithmetic Operation, choose Tax per bill.

Milbo

Shopper Group Name: -anonymous-

dont set any shoppergroup

Shop with working tax? http://extensions.virtuemart.net/ You dont see anytax? of course you are from usa,...
try a european proxy, voila there is a tax suddenly.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

dimi2013

VM is now up to 2.018a and looks and works great--except, of course for that whole guest checkout/tax thing. Like a cancer that won't go away--I've read all the posts, scoured as many forums as I could, spent endless hours applying "fixes" yet nothing. I've had to put a link under Subtotal to explain how the tax will disappear once a person enters his/her info that doesn't include a taxable state.  All I have is one state, yet that's enough for it show up. Oh well, maybe it'll go away after some subsequent update.

Milbo

There is no need for any "fixes". What do you want todo?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/