0
我想更改Magento中的單頁結帳的順序。我想在付款之前移動審閱步驟。Magento結賬步驟在Magento結帳付款前移動審查
我已經改變了OnepageController到
$stepCodes = array('billing', 'shipping', 'shipping_method', 'review', 'payment');
和saveShippingMethodAction在OnepageController到
$result['goto_section'] = 'review';
$result['update_section'] = array(
'name' => 'review',
'html' => $this->_getReviewHtml()
);
但是我得到錯誤Fatal error: Call to a member function toHtml() on a non-object in D:\xampp\htdocs\cfh\app\code\core\Mage\Checkout\controllers\OnepageController.php on line 289
當我保存的送貨方式。
有什麼想法?
感謝
http://magento.stackexchange.com/questions/8100/how-can-i-remove-the-review-step-in-onepage-checkout 添加
$this->loadLayout('checkout_onepage_review');
看一看。 – urfusion