News:

Looking for documentation? Take a look on our wiki

Main Menu

Viewing cart when not logged in is disturbing.

Started by duncan12, October 08, 2015, 18:50:15 PM

Previous topic - Next topic

duncan12

If my customers are not logged in, and if they add something to their cart, then view their cart, the get a page riddled with warnings. It is a disturbing customer experience. See attachment:

I've temporarily hidden my store in a subdirectory until I can resolve some of these troubling errors: http://www.bevaradesign.com/joomla

jenkinhill

You are using a non-VirtueMart default template for checkout. Looks like an issue with Gavick's code - you don't give any versions, but is the template compatible with the one you are using?
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

duncan12

I released the site and it isn't hidden in a folder anymore: http://www.bevaradesign.com

I am using Virtuemart 3 and that's what came with the Gavick Template InStyle. So compatibility should not be the issue. I fiddled with a plugin that removed two of the warnings, but there are still two warnings which I'd like to remove.

When somebody views their cart and they are not logged in, it is obvious that we cannot calculate the tax, so I'd like that error to go away entirely.

jenkinhill

Quote
I am using Virtuemart 3 and that's what came with the Gavick Template

Means nothing to us. There have been many "VM3" versions released over the last year, the current version which you should be using is 3.0.10

You must first rule out issues that may be caused by your template, so test with the Protostar template to see if you get the same problem.
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

duncan12

I am using 3.0.10

Here is it on the Protostar template. Lots of warnings about not being able to calculate tax when not logged in.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

AH

You look to have tax based on address and as no address is entered the message pops up

Regards
A

Joomla 3.10.11
php 8.0

duncan12

#7
I'm using AvaTax. And I can understand why it can't calculate the tax... because I'm not logged in and it doesn't know my address.

I just think the user experience is bad. It would prefer if it did not throw an error at all. I tried this on some other stores (non-virtuemart) to see what they do, and they don't throw any errors. They just show tax as $0 until there is a shipping address. That approach makes sense to me.

It this error trigger configurable, or do I need to customize/hack virtuemart?

GJC Web Design

I'm surprised Avatax does this...  perhaps you should have used my TaxCloud extension instead...  ;)    :P

If there is no config for this I guess a hack to the avalara.php is required....  but I just tried enabling Avatax on a test site ..

not logged in I didn't receive any address notices... 

Please remove your attachment as it has your Avatax details..
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

duncan12

OK. I figured it out. There is a setting in Avatax called "Prevent checkout if address is invalid." Unselect it and this error condition goes away. Thanks GJC.

Milbo

Quote from: GJC Web Design on October 12, 2015, 19:44:49 PM
I'm surprised Avatax does this...  perhaps you should have used my TaxCloud extension instead...  ;)    :P

which is a clone of avatax. It is even so cloned (lol), that if both plugins are activated, the native one does not work anylonger. You should fix that, btw.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/