且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Magento.结帐购物车中的数量无法正常使用

更新时间:2023-11-30 17:19:22

在主题目录中

在您的/app/design/frontend/yourthemepackage/default/template/checkout/cart.phtml文件中或/app/design/frontend/default/yourtheme/template/checkout/cart.phtml文件中

In your /app/design/frontend/yourthemepackage/default/template/checkout/cart.phtml file or /app/design/frontend/default/yourtheme/template/checkout/cart.phtml file

只需将第50行放在getUrl('checkout/cart/updatePost')吗?>"method =" post>粘贴以下代码之后

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

<?php echo $this->getBlockHtml('formkey'); ?>

现在可以正常工作.

P.S.有关更多信息,您可以在 http://magento-online-tutorials.blogspot.in/2015/11/shopping-cart-quantity-not-able-to.html

P.S. for more information you can check same answer on http://magento-online-tutorials.blogspot.in/2015/11/shopping-cart-quantity-not-able-to.html