Author Topic: Update to 2.0.22c breaks shopping cart  (Read 8452 times)

ZoBabe

  • Beginner
  • *
  • Posts: 32
Update to 2.0.22c breaks shopping cart
« on: September 05, 2013, 03:26:09 am »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2660
Re: Update to 2.0.22c breaks shopping cart
« Reply #1 on: September 05, 2013, 20:36:41 pm »
Url?

ZoBabe

  • Beginner
  • *
  • Posts: 32
Re: Update to 2.0.22c breaks shopping cart
« Reply #2 on: September 06, 2013, 04:38:37 am »
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

  • Beginner
  • *
  • Posts: 10
  • VirtueMart Version: 2.6.18
Re: Update to 2.0.22c breaks shopping cart
« Reply #3 on: September 06, 2013, 22:15:08 pm »
I've the same problem!!! Help me please!!!

Giovanni
Giovanni Roli

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28146
  • Always on vacation
    • Jenkin Hill Internet
Re: Update to 2.0.22c breaks shopping cart
« Reply #4 on: September 06, 2013, 23:31:05 pm »
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

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

I-LION

  • Beginner
  • *
  • Posts: 10
  • VirtueMart Version: 2.6.18
Re: Update to 2.0.22c breaks shopping cart
« Reply #5 on: September 07, 2013, 00:00:24 am »
I'm sorry but this solution is not recommended that you  :-\
Giovanni Roli

ZoBabe

  • Beginner
  • *
  • Posts: 32
Re: Update to 2.0.22c breaks shopping cart
« Reply #6 on: September 07, 2013, 00:18:52 am »
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

  • Beginner
  • *
  • Posts: 10
  • VirtueMart Version: 2.6.18
Re: Update to 2.0.22c breaks shopping cart
« Reply #7 on: September 07, 2013, 00:45:25 am »
I use the stockable variants issue and only this have the problem with the cart.
Giovanni Roli

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10094
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ZoBabe

  • Beginner
  • *
  • Posts: 32
Re: Update to 2.0.22c breaks shopping cart
« Reply #9 on: September 09, 2013, 12:17:21 pm »
Still breaks mine  :'(
  Rolled back to 2.0.22b again (still the last one that works)
  Z

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10094
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Update to 2.0.22c breaks shopping cart
« Reply #10 on: September 10, 2013, 14:24:43 pm »
Escapezone made some interesting observation

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?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ZoBabe

  • Beginner
  • *
  • Posts: 32
Re: Update to 2.0.22c breaks shopping cart
« Reply #11 on: September 10, 2013, 14:40:02 pm »
It does! It works!
  Have added it to my template overrides. Thank you!
  Z

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10094
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Update to 2.0.22c breaks shopping cart
« Reply #12 on: September 10, 2013, 16:00:05 pm »
Thanks to Escapezone and ZoBabe I was able to find the issue.

Please try this file

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

escapezone

  • Beginner
  • *
  • Posts: 24
Re: Update to 2.0.22c breaks shopping cart
« Reply #13 on: September 10, 2013, 16:42:25 pm »
Thank you very much Milbo for the updated file !

It works fine now!

I-LION

  • Beginner
  • *
  • Posts: 10
  • VirtueMart Version: 2.6.18
Re: Update to 2.0.22c breaks shopping cart
« Reply #14 on: September 12, 2013, 14:09:44 pm »
Thank you very much!!!!
Giovanni Roli