0

I have tried to update the core functionality, <?php echo $this->getBlockHtml('formkey'); ?>(after form tag begun) and also added this too:

<form method="post" action="<?php echo $this->getBaseUrl('checkout/cart/updatePost')?>">
         <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" >
</form>

Did the updations in this location:

/var/www/html/app/design/frontend/rwd/default/template/checkout/cart.phtml

4
  • have you check log files?
    – kunj
    Jul 24, 2018 at 6:42
  • @Kunj, verified log file's but there is no log record in this location: /var/log/apache2
    – YKB
    Jul 24, 2018 at 7:23
  • check in magento log at magento root var/log/
    – kunj
    Jul 24, 2018 at 8:07
  • checked and it's empty!
    – YKB
    Jul 25, 2018 at 12:12

1 Answer 1

0

In your Theme

/app/design/frontend/yourthemepackage/default/template/checkout/cart.phtml file

Or

/app/design/frontend/default/yourtheme/template/checkout/cart.phtml file

place on line after getUrl('checkout/cart/updatePost') ?>" method="post"> paste the below code

<?php echo $this->getBlockHtml('formkey'); ?>
2
  • @sanai, made the functionality changes with method: post <form action="<?php echo $this->getFormActionUrl() ?>" method="post"> <?php echo $this->getBlockHtml('formkey'); ?> but the issue is same.
    – YKB
    Jul 24, 2018 at 7:13
  • Updated this functions also: <form method="post" action="<?php echo $this->getBaseUrl('checkout/cart/updatePost')?>"> <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" > </form>
    – YKB
    Jul 24, 2018 at 7:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.