News:

Looking for documentation? Take a look on our wiki

Main Menu

Showing order history in User account

Started by helixsm, April 06, 2016, 15:34:22 PM

Previous topic - Next topic

helixsm

I want users to be able to see their previous orders when they login. I copied these instructions from an earlier post

"Create a menu item with the Virtuemart List Orders menu type.  Put it in the User Menu (the menu that becomes active when a registered user logs in).  Any registered user will be able to view their orders in this fashion.
Joomla/Menus/User Menu/New
Click the "Select" button next to the "Menu Item Type" field
Select "List Orders" from the Virtuemart list of menu types
Give the item a Menu Title of "Order History"
Fill in the other details
Don't forget to Save

When a user logs in, the User Menu becomes active.  They will see a menu selection named Order History.  Selecting it will provide a list of their orders.  They can see the order details by clicking on the order number."


However, I have obviously missed something, as when I login, there is no option to show previous orders - just the option to logout.

What I would really like is to have a Main Menu item, taking the user to a page which shows their previous orders, if they are logged in. Is this possible?

Also, as these are elearning courses I am selling, I would like to add a button next to each order on the list with the url to the login screen for that course - Is that possible?

I am a joomla beginner, but we have managed to do everything we need so far.

We are using Joomla Joomla! 3.4.3, Virtumart 3.0.8

jenkinhill

Before doing anything else, your Joomla & VM versions are out of date and seriously insecure.   http://forum.virtuemart.net/index.php?topic=118683.0

I don't know where you go those "instructions" from, but all you have to do is make a main menu link of type VirtueMart Account Maintenance. Set it to Access = Registered if you want it to be hidden to users who are not logged in.  The menu link gives access to Account details and Orders.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum