Page 1 of 1

Undefined index href on account/order.tpl

Posted: Mon Jun 27, 2016 2:13 am
by angelorigo
Hi

I am using OC 2.2.0 with Kingstore Lite theme and at the order history when i try to view the details of one order i do get the error message:

Notice
:Undefined index: href in /mysite/www/catalog/view/theme/kingstorepro/template/account/order_list.tpl on line
29

This is the line:

<td class="text-right"><a href="<?php echo $order['href']; ?>"

and the route is : index.php?route=account/order

How can i fix ? is at the controller or at the model ? how can i find and fix?

Re: Undefined index href on account/order.tpl

Posted: Mon Jun 27, 2016 3:41 am
by straightlight
This error comes from the custom theme you are using. Contact the developer of the theme about this error message you are seeing. In order to know if this error really comes from OC, I would suggest to switch back to the default template and try the order list page again. If you see no error messages on the top, then it's not an OC core related issue.