Shopping cart items not showing in customer view

◇◆丶佛笑我妖孽 提交于 2019-12-10 14:59:05

问题


Running Magento 1.7.2.

When inside the customer view in the administrator it shows 1 item in the customers cart but not the details. I’ve attached a screen shot. Does anyone know what the issue could be or can you verify that it’s working properly so I know it’s my installation?

Thanks.

View Screenshot Here


回答1:


[Solved]

on app\code\core\Mage\Adminhtml\controllers\CustomerController.php

1.7.0

public function viewCartAction()
{
$this->_initCustomer();
$layout = $this->loadLayout()
->getLayout()
->getBlock('admin.customer.view.cart')
->setWebsiteId();
$this->renderLayout();
}

change to :

public function viewCartAction()
{
$this->_initCustomer();
$layout = $this->loadLayout()
->getLayout()
->getBlock('admin.customer.view.cart')
->setWebsiteId($this->getRequest()->getParam('website_id'))
->toHtml();
$this->renderLayout();
}



回答2:


This is a bug in 1.7.0.2.

http://www.magentocommerce.com/bug-tracking/issue?issue=14101



来源:https://stackoverflow.com/questions/12105983/shopping-cart-items-not-showing-in-customer-view

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!