last day (15 days later) » 

6:57 PM
0
Q: Onepage checkout not working after upgrade

VishalI upgraded my site from Magento 1.7 to 1.8 but the onepage checkout is not working.I can never go to shipping method step.the continue button does nothing. I tried by modifying info.phtml and payment.phtml but no success. I have gone through the previous answers of same question and i tried every...

 
MTM
are you sure this not a form key issue?
 
@MTM Yes i checked the info.phtml file. and the review object is as follow: review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements')); Is there any other file to check?
 
MTM
any clues in log file?
 
@MTM:Nope no clues. I observed the requests and came to know that the GET request after POST/SaveBilling is not fetched.
@MTM : so the last request is POST which should be GET i think.
 
MTM
saveBilling request should be POST, if it is GET, it will not work.
 
6:57 PM
@MTM SaveBilling is POST but there is no request after that.
 
MTM
Were the checkout related JS files also updated?
 
@MTM: Yes i have not modified any checkout related JS files.
 
MTM
edit the opcheckout.js file from skin/frontend/base/default/js/ and on line 290 approx. you will find the Billing Class, try to alert msgs in nextStep function
 
ok let me tet it.
 
7:20 PM
I checked inthe alert message by printing the transfer object and it is getting responsetext. is that what you want me to check for?
 
MTM
the responseText, does that hold the goto_section?
 
Yes it is as below:
\"goto_section\":\"shipping_method\",\"update_section\":{\"name\":\"shipping-method\",\"html\":\"
 
MTM
try by adding checkout.setBilling(); at the end of nextStep function of Billing class
 
7:38 PM
It is going to shipping method but now shipping method section does not have anything.
 
MTM
the alert you posted above, does the update_section html is empty?
or u jst posted it short?
 
No it is not empty.i pasted it short.
it is showing the shipping method options in the update_section html
 
MTM
yes it has to
I jst have 10 mnts lets c if i can help u any more today
 
Yea thank you so much.
 
MTM
check if the id checkout-shipping-method-load exists for the shipping method fieldset?
you can use firebug if using firefox or check the source code of the page and search for this id
 
7:48 PM
yea i searched it and it is not there
 
MTM
thats it, revert the changes in js and check your template files
 
instead of that the id is opc-shipping_method
 
MTM
they are not updated properly
now i guess you wil go on? right?
 
so i should check shipping_method.phtml file?
 
MTM
yes
 
7:50 PM
Yea i will debug and will be on right track.Thank you so much.
 
MTM
do revert the changes done in JS file on my request
shall i post it as an answer?
 
Yea i did that.
i will try the phmtl and will let you know. is it ok?
 
MTM
posted the answer, if this resolved, please do accept and vote, poping out now . Take care
 
Yea sure. take care
its been nice to talk with you.
 

last day (15 days later) »