Cart items that do not appear in the customer view

Launch Magento 1.7.2.

When the administrator displays 1 item in the client’s basket inside the user’s view, but not the details. Ive attached a screenshot. Does anyone know what might be the problem, or can you verify that it is working correctly, so I know its installation?

Thank.

View screenshot here

enter image description here

+5
source share
2 answers

[solvable]

in the application \ 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();
}
+3
source

All Articles