How can I use newer jQuery versions with ubercart?
If I use any version newer than 1.2.6, shipping quote ajax comes back, but never updates on the screen.
again, for the 3rd time, fixed my own problem.
For anyone who googles, this web site appears to be mostly abandoned. But fear not. I am here posting my resolutions!
There's some bad code in Ubercart
In your favorite editor, open up
ubercart/shipping/uc_quote/uc_quote.pages.inc
Go to around line 70 which should be the end of the uc_quote_request_quotes function
comment out or replace the broken drupal_json($return_quotes);
replace it with the standard PHP json encoder print( json_encode($return_quotes) );
I tested this with jQuery 1.2.6 and a few newer ones including jQuery 1.7.2
How on earth you worked out that was the issue is beyond me, I needed to update jQuery for various reasons on a proper Medusa of a multisite ubercart install, various things failed.... this was the least obvious one to fix!!
Many thanks