VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: chill_e_g on June 02, 2014, 11:25:20 AM

Title: update quantity icon not responding after upgrade to VM 2.6.6
Post by: chill_e_g on June 02, 2014, 11:25:20 AM
So that is basically it, I can use the trash icon in the cart, but the update quantity does not do anything. Anybody have this problem?
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: jenkinhill on June 02, 2014, 11:32:58 AM
Possibly a JavaScript conflict. http://forum.virtuemart.net/index.php?topic=119638.0

Maybe you use a commercial template? But without a uRL nobody can really help.
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: chill_e_g on June 02, 2014, 11:40:10 AM
Sorry, not a frequent user of the forum, http://shop.scrapbookstudio.co.za. I will check the link you provided now.
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: chill_e_g on June 02, 2014, 11:50:56 AM
I am not coming right, would appreciate some assistance ( I have limited knowledge ). I have Jquery easy installed and published, but no change to the quantity update button. This was working before the upgrade.
http://shop.scrapbookstudio.co.za/shop

Let me know what other info you need. Thanks in advance.
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: AH on June 02, 2014, 13:34:13 PM
I would suggest a styling change to make your add to cart button fit better on browse and detail

span.addtocart-button {
  float: left;
  margin: 0 0 0 10px;
}

span.addtocart-button input.addtocart-button, span.addtocart-button input.notify-button {
  background: url("../images/vmgeneral/backgrounds.png") repeat-x scroll 0 -160px #E8E8E8;
  border: 1px solid #00A000;
  border-radius: 4px;
  color: #b9298b;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 4px 5px;
  text-align: center;
}
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: chill_e_g on June 02, 2014, 13:57:46 PM
Thank you, I only wish you had a solution to my problem. I do not know how to debug / source the error
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: AH on June 02, 2014, 15:01:28 PM
GET http://ajax.googleapis.com/ajax/libs/jqueryui/1.9/themes/base/jquery-ui.css 404 (Not Found) cart:24
GET http://shop.scrapbookstudio.co.za/components/com_virtuemart/assets/images/vmgeneral/search.png 404 (Not Found) cart:482
GET http://ajax.googleapis.com/ajax/libs/jqueryui/1.9/jquery-ui.min.js 404 (Not Found) cart:42
Uncaught TypeError: undefined is not a function cart:59
GET http://shop.scrapbookstudio.co.za/components/com_virtuemart/assets/images/vmgeneral/search.png 404 (Not Found)


Java errors from your site.

You have a java conflict somewhere
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: jenkinhill on June 02, 2014, 15:04:43 PM
Firebug gives these errors:

"NetworkError: 404 Not Found - http://ajax.googleapis.com/ajax/libs/jqueryui/1.9/themes/base/jquery-ui.css"

"NetworkError: 404 Not Found - http://ajax.googleapis.com/ajax/libs/jqueryui/1.9/jquery-ui.min.js"

"NetworkError: 404 Not Found - http://ajax.googleapis.com/ajax/libs/jqueryui/1.9/jquery-ui.min.js"

"CSS Usage: initializing extensions"
TypeError: $(...).chosen is not a function

...ect_all: true,select_all_text : vm2string.select_all_text,select_some_options_te...

"NetworkError: 404 Not Found - http://shop.scrapbookstudio.co.za/components/com_virtuemart/assets/images/vmgeneral/search.png"

"NetworkError: 404 Not Found - http://shop.scrapbookstudio.co.za/components/com_virtuemart/assets/images/vmgeneral/search.png"


You have jQueryEasy installed but you should do this for the chosen is not a function error: http://forum.virtuemart.net/index.php?topic=123564.msg421778#msg421778
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: chill_e_g on June 02, 2014, 16:31:05 PM
Thanks for all your input, but I am afraid it is way over my head, I am stressing as this site is huge and I cannot afford anything to ever go wrong with it.

As soon as I disable easy jquery, I cannot add to cart.

What bugs me is nothing has changed except for the VM upgrade
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: jenkinhill on June 02, 2014, 17:21:41 PM
Who said disable jQueryEasy? Just configure it correctly - fix the TypeError: $(...).chosen is not a function error by following the instruction in the link I provided earlier.
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: chill_e_g on June 02, 2014, 18:44:39 PM
Thanks for pointing it out, but alas the problem still exists. How do I use firebug to check for script conflicts
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: jenkinhill on June 02, 2014, 20:22:49 PM
See http://bit.ly/1kBuiiY
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: AH on June 02, 2014, 20:25:42 PM
QuoteThanks for all your input, but I am afraid it is way over my head, I am stressing as this site is huge and I cannot afford anything to ever go wrong with it.

So why did you do a live upgrade?

Always upgrade on a test server and do FULL regression testing before you commit to live.

As you are now in a pickle, follow Jenkin's advice
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: GJC Web Design on June 02, 2014, 23:29:27 PM
My 2 pennies worth..

It looks to me that on the cart page your not loading Mootools.core.js which is where some of the errors are coming from

Your also trying to load a non existant http://ajax.googleapis.com/ajax/libs/jqueryui/1.9/jquery-ui.min.js (do u need jquery-ui?)
Is that coming from Jqueryeasy?

It should be something like http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js as base versions aren't supported by Google anymore

If you fix these things and still you have errors then it is a case of disabling extensions that are calling JS (there are quite a few) until you find which one breaks it

Then work backwards from there

Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: chill_e_g on June 03, 2014, 07:33:01 AM
Thank you all, I was not expecting so much assistance, unfortunately I do not have the knowledge to understand any of this. I am a customizer, not a coder. I have been to the page Jenkil suggested to debug js, but I am understanding nothing, sorry. I fear you guys will give up on me and then I am truly buggered.

Please see if mootools is loading on cart page and suggest onother fix.
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6
Post by: GJC Web Design on June 03, 2014, 08:57:09 AM
Well done - all js errors solved - mootools is now loading..

sadly the update quantity still isn't working...

I think your using a cart template over ride and it is too old

The quantity update link basically posts the form (it is a submit) but your buttons are outside of the form so nothing posts..

If I look at the later VM cart pages the checkoutForm starts before the cart tables etc..

Yours is starting down at Notes and special requests
Title: Re: update quantity icon not responding after upgrade to VM 2.6.6 - SOLVED
Post by: chill_e_g on June 03, 2014, 09:58:19 AM
Thank You Thank You. I have just replaced my template cart overide with the latest file from VM 2.6 BOOM, Fixed

Thanks guys!