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…