News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Microsoft Edge Show Cart Issue

Started by lineit, April 17, 2018, 15:18:46 PM

Previous topic - Next topic

lineit

Hi,

We've been having major problems with the add to cart issue.  When you add a item to a cart and then click on 'show cart', the cart is empty.  My developer is stumped and unable to resolve it :( 

The website is primepackaging.com.au

Please help regarding this issue. 

jenkinhill

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

lineit

Sure.

Currently using J3.6.2 and VM3.0.18. 

jenkinhill

Then for site security reasons you are advised to update to current versions, which are Joomla 3.8.7 and VirtueMart 3.2.14  - https://virtuemart-help.co.uk/VM3214/

Any update should be tested on a backup version of the site.

If updating does not fix your issue then the problem may lie with your Joomla template overrides or the JavaScript used by the template, however I could not see any JavaScipt errors with your site. I have tested the current Joomla/VM releases in Edge and have no problems using the default VirtueMart templates  or templates from https://www.olympianthemes.com which use overrides, in all cases VirtueMart worked as expected.
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

lineit

The problem is there is a lot of modification within Joomla and Virtuemart.  My developer seems like they have given up or unable to work it out.

Do you offer paid services to fix the issue?

jenkinhill

I just tested your site again and it worked just fine for adding products to the cart, tested with Firefox and Chrome. So maybe they have now fixed it?

We would be unable to take this site on privatey at the moment due to other pressures.
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

lineit

Firefox and Chrome works okay.  Just Microsoft Edge :(

The developer has identify the issue which related to jquery file vmkeepalive.js. In case Microsoft edge browser the vmkeepalive.js -- file is not working even not added into the VM script.

Even though they have identified it, it's still not working.

jenkinhill

Default VirtueMart on the Protostar template works just fine using Edge, no issues with keepalive.js,  so the problem is certainly with your template. I don't have oplder versions of Joomla/VM to check this, but I don't remember anyone reporting a problem in this forum with Edge.
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

Jumbo!

I got an easy fix for you. Check "Enable SSL for Sensitive Areas" option in VirtueMart Configuration.

That's it.

jenkinhill

@Jumbo! the site already runs in https so can you explain why enableing cart SSL makes a difference? I have checked a couple of my my sites running in SSL and all work OK without that setting. Is this a template thing?
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

Jumbo!

No, it is not a template issue. Yes, I know the full site is over https. But check the cart page link in Ajax Add to Cart pop-up. It is still using http. Therefore a redirection occurs initially when you try to visit the cart page after adding a product to the cart. This may clear the https session in some browsers. If you enable SSL in VM Config then the issue gets resolved.

jenkinhill

Thanks for the explanation Abhishek, that makes sense. Our normal policy is to force all URLs to use https by .htaccess so that maybe why I have never seen this.
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

lineit

Thank you so much Jumbo.  Can't believe its that simple. 

You're from VirtuePlanet.  We use your really good VP one page checkout plugin.    :)

Thanks for the input from everyone. 


Jumbo!

You are welcome.

I am glad that you use our one page checkout plugin. :)