Customer area
The customer area is a page on your site where a logged-in customer sees the details you keep about them and the list of their orders, and downloads the order and invoice PDFs.
How it works
Each customer record can be linked to one Joomla user. When that user logs in and opens the customer area page, Easy ERP finds the customer linked to the account and shows:
- Your customer data: name, company name, VAT number, address, phone, email and contact person, with the note This is the data about you that's registered in our system. If you find something that is incorrect, please let us know.
- Orders: number, date, total and status of each order, newest first, with an Order button for the order PDF and an Invoice button for the invoice PDF of invoiced orders.
The page is read-only. Customers cannot change their details or place orders there.
Set it up
1. Give the customer an account
The customer needs a Joomla user. Create it in Users > Manage, or let the customer register on your site.
2. Link the account to the customer
- Open the customer in Components > EasyERP > Customers.
- In Joomla! user, choose the account.
- Save.
One Joomla user can belong to one customer only. See Customers.
3. Create the menu item
- Go to Menus and open the menu where the link should appear.
- Click New.
- In Menu Item Type, choose EasyERP > Customer private area.
- Give it a title, such as
My account. - Set Access to Registered so only logged-in users see the link.
- Save.
A visitor who is not logged in and opens the page is sent to the Joomla login form, and comes back to the page after logging in.
Who sees what
| Visitor | What they see |
|---|---|
| Not logged in | The Joomla login form. |
| Logged in and linked to a customer | Their customer data and orders. |
| Logged in, not linked to a customer | An empty page in 6.1.2. Link the user to a customer, or do not show the menu item to such users. |
Caching
The customer area shows personal data. Keep Joomla's page caching off for it: in System > Global Configuration > System, leave System Cache on OFF - Caching disabled, and do not enable the System - Page Cache plugin on sites that use the customer area.