Cannot update quantity from cart
-
12-12-2019 - |
Question
I've been working on a Magento website: satcogrowlight.com
I am very new to working with Magento in the back end.
My problem is that once I've added an item to my cart, I cannot change the quantity in the cart. I enter in the new quantity, click "Update Shopping Cart", the page refreshes, and everything remains the same.
I have no idea where to start troubleshooting. I haven't made any changes to the code, as far as I remember.
Solution
you have to include the form key,in cart.phtml.
<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>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange