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