Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Can’t view product details in Order Information. 
 
pluc
Jr. Member
 
Total Posts:  27
Joined:  2008-01-11
 

Hey again people.

Seems 1.1.3 has broken a lot of stuff on my sites. The site I’m currently working on, I need to hack up the Order Information page (/sales/order/view/order_id/XX/) to show specific information about the order. However in the lower half of the page, where the items should be listed, all I see is “Ordered Items”, and then a link to “Go Back to My Orders”. So no Items are listed.

Basically, in app/design/frontend/default/default/template/sales/order/view.phtml we have:
<?php $_history = $this->getOrder()->getVisibleStatusHistory() ?>
<?php if (count($_history)): ?>
.... then we display product info and close the loop.

Problem is I never enter the if, because $_history ‘s count is 0…

It seems that it’s only since upgrading to 1.1.3…

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top