Magento 升級到 1.8 之後記得修正樣板裡的表單

edited 三月 2014 in Magento
新版本在許多表單加入了檢查碼,如果只是用預設畫面是不用調整,但是大部分都不是吧

在這些樣板裡的表單:
app/design/frontend/base/default/template/checkout/cart.phtml
app/design/frontend/base/default/template/checkout/multishipping/overview.phtml
app/design/frontend/base/default/template/checkout/onepage/login.phtml
app/design/frontend/base/default/template/customer/form/login.phtml
app/design/frontend/base/default/template/persistent/checkout/onepage/login.phtml
app/design/frontend/base/default/template/persistent/customer/form/login.phtml
app/design/frontend/base/default/template/review/form.phtml
app/design/frontend/base/default/template/sales/reorder/sidebar.phtml
app/design/frontend/base/default/template/wishlist/view.phtml

需要確認有無加入
<?php echo $this->getBlockHtml('formkey'); ?>


否則客戶會無法登入,或進行相關操作

參考: http://magento.stackexchange.com/questions/11871/customer-cant-log-in
Sign In or Register to comment.