Social Icons

twitterfacebookgoogle pluslinkedinemail

Saturday 22 March 2014

shippng method and shopping cart not working in magento 1.8.1


In magento 1.8.1, there are the following issues and how to solve it.

When we are add to cart the product and  proceed for to checkout then that time shipping1 method not working because of the ajax not the loading any content from js.

I have fixed for that the copy the


 app\design\frontend\default\modern\layout\checkout.xml file and replaced with the your current theme in
app\design\frontend\default\yourthemename\layout\ and placed it. and now the shipping method is working properly.

When we are update the shopping cart quantity it is not update the quantity value.

for updating the shopping cart quantity you have to place the following code into the below file.
app\design\frontend\default\yourtheme\template\checkout\cart.phtml in that file around at 47 line
 <form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">  
after that place the following code.
<?php echo $this->getBlockHtml('formkey'); ?> 
,and now its working.

After the checkout process place order button is not working.

for that we have to change the following file:
app\design\frontend\default\yourtheme\template\checkout\onepage\review\info.phtml and

change the code:
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')); 
after change the place order button is working properly.





5 comments :

  1. Copying the checkout.xml file to the current theme from rwd (1.9) worked great!

    Just make sure you flush your cache and reindex all and it should work just great!

    Thanks!

    ReplyDelete
  2. thanks you so much !!!!!!!!!!!!!!!!!!

    ReplyDelete
  3. awesome buddy...!
    Many Thanks to you

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete

 

Free Advertisement

Free Advertisement

Free Advertisement

Free Advertisement