How to configure multi store in OpenCart?
Many of you might use opencart for online store development. Opencart can also be used for multi store with single admin; you can manage both stores with same admin.
I am using wamp so first I will tell you to configure multi stores with opencart on wamp.
I installed wamp in D drive and opencart directory path is D:\wamp\www\opencart. Main store url is http://localhost/opencart and I am going to make new store by the name of store.
-
There is a file httpd.conf in wamp\bin\apache\Apache2.2.21\conf\. Open it and write following lines to create Alias for opencart new store.
Alias /store “D:/wamp/www/opencart/”
Note: Alias is pointing to same directory that is for my main store. It will be same for any other store too if you want to create.
Now save file and restart Apache services.
- Now you have to change OpenCart configurations. Login to opencart admin then go System>Settings, create new store. You can give any name to the store and give Url http://localhost/store/.
- Now save your settings and you can access your both stores by http://locahost/opencart/ and http://localhsot/store/ urls.
You can create multi store on xamp too; just you need to make Alias in D:\xampp\apache\conf\httpd.conf file
Note: D is the drive where xamp is installed; your location might be different.
Have fun with multi store on opencart.