For OpenCart 2.3, 3.0, 4.0 and 4.1
One tick per store
- Tick the store or stores next to an admin user. A user with nothing ticked works as usual.
- You cannot limit your own account by accident.
What a store manager gets
- A "My stores" start page in place of the dashboard: orders, order value, products and customers for each of their stores, with the latest orders.
- Product, order and customer lists, searches, totals and page numbers that contain only their stores' records.
- A left menu showing only the pages they can open.
- Order pages for their own orders, with invoices and packing slips, and order status updates with comment and customer notification.
What stays closed
- Everything not listed above: other stores' products, orders and customers, users, system settings, extensions, reports, backups and deleting files from the image manager. Typing the address by hand does not help.
- A product sold in more than one store can be seen but not edited or deleted by a manager of only some of those stores. A saved product must stay inside the manager's own stores.
- Optional: let managers work with their stores' customers (on by default) and edit their own store's settings (off by default).
Opencart 2.3 and 3.0
- The standard order page hands the browser the shop's API key, which opens every store. Store managers never receive it. They get a status form of their own, signed for the one order on screen. Because the standard order editor needs that key, managers on 2.3 and 3.0 cannot create or edit orders; on 4.0 and 4.1 they can edit their own.
- New customer accounts can be created by managers on 4.0 and 4.1 only.
Notes
- The user's group still needs the usual OpenCart permissions for products, orders and customers; this module only narrows them.
- Categories, manufacturers, attributes, options and images are shared by all stores in OpenCart. Managers can pick them on a product and use the image manager (view and upload), but cannot edit the lists.
- Pages added by other extensions are closed to store managers.
- No core files are edited and no database tables are added.
Install
Upload the zip for your OpenCart version in Extensions > Installer, then install the module under Extensions > Modules and open it.