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.
Just tried following your instructions which a perfectly clear.
I get nothing at the address i created the alias for.
I put
Alias /wholesale “C:/wamp/www/opencart/â€
on the very last line in httpd.conf
Just after
Include “c:/wamp/alias/*”
Then i visited
http://localhost/wholesale/
in the browser, and get a 404 message. Nothing there.
🙁
Any other ideas?
Thanks for the clear instructions.
Did you restart apache and adding Alias statement and added it in opencart admin as mentioned in step 2?
Sir ,
i want to use multi store but i have problem to “Alias path on server”, i have setup on local server but i dont know how to alias path on online server. please solve my problem