We present you a new extension to CS-Cart and Multi-Vendor which allows administrators to log into two or more admin panels at once, if e-mail address of an account is the same in both stores and user is correctly logged in master store.
We start from installing an extension:
Add-on has to be installed in all stores, which are connected with shared login.
Next we configure add-on. One of the stores must be set as "master" - user logs into this store in traditional way (through login & password) and basing on this authorization he can automatically log into other stores. In add-on configuration for master store we set only store type, cookie name, its living time and salt. Salt must be the same for all stores connected with shared login.
Cookie name and salt can be any strings. Cookies can be also stores without salt, but we recommend typing it to increase security.
Other stores where add-on is installed are "slave" stores. After logging in to master, administrator or customer will be logged to slave instantly after opening admin panel/store, without typing access data.
Add-on configuration in slave stores requires additional data: login and API key of account in master store(which has active access to API) and endpoint /api/users of master store. More information about API available here: https://docs.cs-cart.com/lates...
After configuring all stores, it is important to look into README file and apply a code change in all slave stores.
The exact process of shared login looks like that:
1. Administrator logs into master, using login and password.
2. Administrator opens slave admin panel.
3. He's immediately logged to slave without typing login and password.
Add-on works in exactly the same way for customers - logging with login and password to master store, automatically logs customer to all slave stores.
- one core file change
- Compatibility CS-Cart version 4.0.x, 4.1.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x, 4.6.x, 4.7.x, 4.8.x, 4.9.x, 4.10.x, 4.11.x
- Compatibility Multi-Vendor version 4.0.x, 4.1.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x, 4.6.x, 4.7.x, 4.8.x, 4.9.x, 4.10.x, 4.11.x
Please, do not hesitate contact us if you have any additional questions.
Link to addon
See our other addons in Marketplace.