Hello,
I'm on zen-cart 1.5.0 and I want to give a tracking link to my customers so they can check the status from the carrier. I've added a field named 'tracking_code' to the "orders" table on the database and I update that field with the tracking code when I mark the order as sended. The problem is when I try to show that link with the code on "My account" page, I've modified the query() function on /includes/classes/order.php to retrieve the shipping code and I added that field to the "info" array, but it does not work. When I make an echo $orders['shipping_code'] on the tpl_account_default.php it does not show any information. I've tried several ways but nothing worked for me.
Any ideas, please? Hopeless I've think to make the sql query on the tpl file, but I do understant that is not the best way.
Greetings


Reply With Quote

