![]() |
Recent order history on a different page other than orders.php
Hi,
I'm creating centralized "My Account" page with a variety of information available to the customer and links to different aspects of managing their account. Similar to what's in the my account side bar, but more expansive. What I'd like to know is how to get a list of recent orders to show up automatically on this page, for example, any orders placed in the last 90 days. Does anyone know how to set something like this up? For the time being I have created a new help page (help.php?section=my_account), but I may end up creating a whole new Account section instead of using "help." Secondarily, it might be cool to have a list of which newsletters they are subscribed to, with an option to unsubscribe and other newsletters to which they could subscribe. But this is less important to me than the order history. Thanks in advance This cart is v4.1.11 |
Re: Recent order history on a different page other than orders.php
Since no one else has answered you I figured I would give it a go. The main problem with creating a central account page is that different php files are referenced. For example, I created a your_account.tpl that I cloned from menu_cart.tpl that "appears" in the menu column by enclosing it in an "if" statement when a customer is logged in...
Code:
{if $login ne "" } I'm not sure how you would go about calling each of these php files on the same page but I see no reason it could not be done. I am assuming that you want your "My account" page to be in the central area of the store, correct? As a start, you could put each in its own dialog box calling dialog.tpl instead of menu.tpl. |
All times are GMT -8. The time now is 04:48 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.