Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shopping cart items not showing in customer view

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

enter image description here

like image 930
ringerce Avatar asked Aug 24 '12 08:08

ringerce


2 Answers

[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();
}
like image 114
Josua Marcel C Avatar answered Oct 11 '22 10:10

Josua Marcel C


This is a bug in 1.7.0.2.

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

like image 23
ringerce Avatar answered Oct 11 '22 11:10

ringerce