VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: mtrcek on November 24, 2015, 15:49:25 PM

Title: Updated to version 3.0.12 - text 'undefinded' in quantity box
Post by: mtrcek on November 24, 2015, 15:49:25 PM
Hello everybody,


There seems to be a problem with one of my websites after we upgraded to VirtueMart 3.0.12. We can not add products to cart, if I type number in box. It works wit +/- buttons, but not with manual keyboard input. When I click on quantity box, the word 'undefined' appears.

Here is an example:
http://www.eurotrade.si/ponudba/tehnika/seti-orodja/set-orodij-10407300-izdelek

Where seems to be the problem? I tried to disable jquery in VM, in some of plugins, tried to change live url in configuration and severeal other things, but nothing seems to work. I did not find any simmilar solution here on forum.

Thank you!
Title: Re: Updated to version 3.0.12 - text 'undefinded' in quantity box
Post by: jenkinhill on November 24, 2015, 16:21:30 PM
Looks like a problem with your template. Confirm this by testing with Protostar.
Title: Re: Updated to version 3.0.12 - text 'undefinded' in quantity box
Post by: mtrcek on November 24, 2015, 16:26:47 PM
Yes. I confirm. It works with Prostar.

Could this be linked to jquery or something diferent? It worked before upgrade....
Title: Re: Updated to version 3.0.12 - text 'undefinded' in quantity box
Post by: mtrcek on November 24, 2015, 16:37:16 PM
Found it. Seems that new addtocartbar.php is somehow diferent than previoius version. I have disabled this file in my template's html folder and works fine. Thank you for the tip.
Title: Re: Updated to version 3.0.12 - text 'undefinded' in quantity box
Post by: Milbo on November 25, 2015, 10:49:45 AM
Yes, the addtocartbar.php became a wrapper.