VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: BjornOnPole on May 23, 2014, 09:47:08 AM

Title: Cart popup not displaying after adding product to cart
Post by: BjornOnPole on May 23, 2014, 09:47:08 AM
Joomla version:  2.5.20
VirtueMart version: 2.6.4
PHP version: 5.4.10
Bug is also present in Beez5 template: Yes
OS: OSX
SSL: No
SEF: Yes

URL: http://onpole.org/testomgeving/ss/virtuemart/cilinders/cilinders-met-gecertificeerde-sleutels/evva-3ks/3ks-cilinder-t-b-v-oplegmeubelslot-detail

Description of the problem:

When you press the button "Toevoegen aan winkelwagen" (Add to cart), the Fancybox loading screen comes up, but after that nothing happens anymore.
It just keeps loading forever. Nothing is added to the cart.

I have found no Javascript errors.

Please look into this issue for me.
Title: Re: Cart popup not displaying after adding product to cart
Post by: GJC Web Design on May 23, 2014, 10:21:31 AM
it appears to try and redirect to http://onpole.org/testomgeving/ss/login
look in the Firebug console and you will see a 2nd get appears to that and a response page incl.  <li>U dient eerst in te loggen</li>
Title: Re: Cart popup not displaying after adding product to cart
Post by: BjornOnPole on May 23, 2014, 11:48:14 AM
Quote from: GJC Web Design on May 23, 2014, 10:21:31 AM
it appears to try and redirect to http://onpole.org/testomgeving/ss/login
look in the Firebug console and you will see a 2nd get appears to that and a response page incl.  <li>U dient eerst in te loggen</li>

Thank you for replying! I hadn't noticed that.

I found out what is causing the problem:

In the main menu where my home menu item also is, there is a menu item called 'Winkel' (Store).
This menu item points to an article called 'Winkel'.
This article contains some text, but really nothing else.

If I put that menu item on Public instead of Registered, the cart module works again!

Why it does this, I have no idea. It is not a VirtueMart menu item. It doesn't contain anything but text.

Could it be the word 'Winkel'? I can't think of anything else (right now).
Title: Re: Cart popup not displaying after adding product to cart
Post by: GJC Web Design on May 23, 2014, 12:33:39 PM
if I try  http://onpole.org/testomgeving/ss/virtuemart/winkel  it takes me to   http://onpole.org/testomgeving/ss/virtuemart  so it is an alias for your root VM