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

Update to 2.0.22c breaks shopping cart

Started by ZoBabe, September 05, 2013, 03:26:09 AM

Previous topic - Next topic

ZoBabe

JM: 2.5.14
VM: 2.0.22b

Upgraded from 2.0.22a to to 2.0.22c, and "Add to Cart" button stopped working on most products (I use child products for inventory control). Rolled back to 2.0.22a, and it solved the problem. Tried updating to 2.0.22b, that still works fine. Again tried to update to 2.0.22c, and that's where it gives up the ghost.
  The issue is, the pop-up window pops up with only the message

"Continue Shopping
0
undefined"

  The item does not get added to the cart. If modal popup is disabled, add to cart just redirects to the parent category, and the item is not added to the cart.
  Can't afford to leave shop useless, so just rolled back to 2.0.22b for now. Have attached images of modal pop-up in 2.0.22b and in 2.0.22c.
  Tried with Beez20 template, problem still exists.
  Anyone else having this problem?
  Z

[attachment cleanup by admin]

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

ZoBabe

#2
Let's say http://www.sweetskins.com/pants/culottes-detail.html, but any product would do.

  Things I have already tried that did not work:

  Switching to Beez20 Template
  Updating jQuery Library, and adding Easy jQuery plug-in
  Using the "Disable MooTools where possible" setting in the jQuery plug-in
  disabling other modules/plug-in on the page one by one.
  Updating the PHP version from 5.2 to 5.3
  lots of cashe clearing in between various attempts.

However, if you go look now, you won't see the problem. I rolled back to VM 2.0.22b in order to get the cart working. I would like to be able to update, but not at the expense of losing sales for several days.

I-LION

I've the same problem!!! Help me please!!!

Giovanni
Giovanni Roli

jenkinhill

Try this. In configuration/templates please ensure that Select the default template for your Shop is set to Use Joomla default, (and the same for Category template)
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

I-LION

I'm sorry but this solution is not recommended that you  :-\
Giovanni Roli

ZoBabe

Unfortunately, switching to default template is one of the first things I tried (top of the list in things I tried that did not work).
  I suspect that it's another stockable variants issue, as the only products that actually will still even add to the cart after update are the ones with no child products (unfortunately, their modal pop-up still go into never-load-limbo, as I reported on a different thread).
  I-Lion, are you also using stockable variants?
  To the developers, Is there any progress in debugging this feature? It's a kind of essential feature, but between ghosting out of stock options and breaking the whole cart, it seriously needs some work.
  Z

I-LION

I use the stockable variants issue and only this have the problem with the cart.
Giovanni Roli

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ZoBabe

Still breaks mine  :'(
  Rolled back to 2.0.22b again (still the last one that works)
  Z

Milbo

Escapezone made some interesting observation

Quote from: escapezone on September 10, 2013, 11:08:46 AM
Hello,

Since i updated to vm 2.0.22c i have a problem with my stockable variants. when i am in a product tha has stockable variant i can't see the price and the add to cart button doesn't work...

I don't know what causes the problem but i found the file that has the problem...

components/com_virtuemart/views/productdetails/tmpl/default_addtocart.php

I replaced this file from 2.0.22b and everything works fine ...

I know this is not a solution but plz take a look at this file and fix it because i am running all my sites with stockable variants.

Thank you!

Does this help you also?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ZoBabe

It does! It works!
  Have added it to my template overrides. Thank you!
  Z

Milbo

#12
Thanks to Escapezone and ZoBabe I was able to find the issue.

Please try this file

[attachment cleanup by admin]
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

escapezone

Thank you very much Milbo for the updated file !

It works fine now!

I-LION

Giovanni Roli