[How To] Multi-Store on Localhost
97 posts
• Page 5 of 5 • 1, 2, 3, 4, 5
Re: [How To] Multi-Store on Localhost
so.... how would this work with a payment module such as securetrading.... because for a transaction to go throu it has to redirect back to the shop domain using it... and the config file in main dir only shows default shop??? any ideas welcome
- leeman
- Posts: 21
- Joined: Mon Apr 30, 2012 4:44 pm
Re: [How To] Multi-Store on Localhost
Hello,
please tell me if I can do the following:
My first OC is installed on http://domain1/shop
Now I need to add OC to my second site and access it as http://domain2/shop
Both sites are on the same hosting but they work in isolated spaces. So I can not use any aliasing as mentioned above.
Can I just copy OC frontend (all files and dirs) to the second site and use the same MySQL database as for the first site?
Of course I'll change config.php for the second site and add second store in OC settings.
It seems this is the simpliest way to have two OC stores for different sites with different user interfaces and almost the same goods.
please tell me if I can do the following:
My first OC is installed on http://domain1/shop
Now I need to add OC to my second site and access it as http://domain2/shop
Both sites are on the same hosting but they work in isolated spaces. So I can not use any aliasing as mentioned above.
Can I just copy OC frontend (all files and dirs) to the second site and use the same MySQL database as for the first site?
Of course I'll change config.php for the second site and add second store in OC settings.
It seems this is the simpliest way to have two OC stores for different sites with different user interfaces and almost the same goods.
- sim-sim
- Posts: 1
- Joined: Sat Jun 02, 2012 11:03 am
Re: [How To] Multi-Store on Localhost
Just working in WAMP.
I've added this to the bottom of httpd.conf (on the very last line)
Alias \wholesale “C:/wamp/www/opencart/”
Then insert new store from settings, giving this url.
http://localhost/wholesale/
Is there something i am missing?
I've restarted all services.
Just get a 404
I've added this to the bottom of httpd.conf (on the very last line)
Alias \wholesale “C:/wamp/www/opencart/”
Then insert new store from settings, giving this url.
http://localhost/wholesale/
Is there something i am missing?
I've restarted all services.
Just get a 404
- jason3w
- Posts: 8
- Joined: Mon Jun 11, 2012 8:36 am
Re: [How To] Multi-Store on Localhost
I was following instructions from
http://www.websourceblog.com/tag/opencart/
So those two steps are all i need to take?
http://www.websourceblog.com/tag/opencart/
So those two steps are all i need to take?
- jason3w
- Posts: 8
- Joined: Mon Jun 11, 2012 8:36 am
Re: [How To] Multi-Store on Localhost
Is there someone that has set up the multistore on their computer locally threw Xampp that would know
how to add the code properly. I have gone threw as many tutorial as google and this forum has and can't seem
to figure out how to properly place the code. A sample of how it should look when placed in the http.conf file will
really help .
The tutorials is asking me to edit the Apache Configuration file add “alias” for each sub store.
Alias /opcStore_1 "C:/xampp/htdocs/store"
Alias /opcStore_2 "C:/xampp/htdocs/store"
1) go to this path: C:\xampp\apache\conf\
2) Find httppd.conf file and open it
3) Search ”<IfModule alias_module>” section and add below code inside this section.
Alias /opcStore_1 "C:/xampp/htdocs/store"
Alias /opcStore_2 "C:/xampp/htdocs/store"
HOW DOES IT LOOKS WHEN THE CODE IS ADDED? Where inside do I add it and how it should look?
Because I tried placing it but only get error local URL. Thanks
Now, you have to restart Apache server from your XAMPP control panel. After restarting, you have to add sub stores in Opencart configuration.
OpenCart configuration for Multi stores.
1) Logon to your main store : C:/xampp/htdocs/store/admin
2) Goto: System > Settings and here you can add new stores.
3) When adding give stores urls: for First store give url: http://localhost/opcStore_1/
for 2nd Store give url: http://localhost/opcStore_2/
how to add the code properly. I have gone threw as many tutorial as google and this forum has and can't seem
to figure out how to properly place the code. A sample of how it should look when placed in the http.conf file will
really help .
The tutorials is asking me to edit the Apache Configuration file add “alias” for each sub store.
Alias /opcStore_1 "C:/xampp/htdocs/store"
Alias /opcStore_2 "C:/xampp/htdocs/store"
1) go to this path: C:\xampp\apache\conf\
2) Find httppd.conf file and open it
3) Search ”<IfModule alias_module>” section and add below code inside this section.

Alias /opcStore_1 "C:/xampp/htdocs/store"
Alias /opcStore_2 "C:/xampp/htdocs/store"
HOW DOES IT LOOKS WHEN THE CODE IS ADDED? Where inside do I add it and how it should look?
Because I tried placing it but only get error local URL. Thanks
Now, you have to restart Apache server from your XAMPP control panel. After restarting, you have to add sub stores in Opencart configuration.
OpenCart configuration for Multi stores.
1) Logon to your main store : C:/xampp/htdocs/store/admin
2) Goto: System > Settings and here you can add new stores.
3) When adding give stores urls: for First store give url: http://localhost/opcStore_1/
for 2nd Store give url: http://localhost/opcStore_2/
- wilrbst
- Posts: 10
- Joined: Thu Sep 13, 2012 8:37 pm
Re: [How To] Multi-Store on Localhost using xampp
Bump
sure would be nice if anyone would know how to set up multi store on xampp.
I have two weeks searching everywhere and I need the multi store to work but can't figure it out.
I have the right tools I'm using notepad ++ but I'm new at coding. Thanks
sure would be nice if anyone would know how to set up multi store on xampp.
I have two weeks searching everywhere and I need the multi store to work but can't figure it out.
I have the right tools I'm using notepad ++ but I'm new at coding. Thanks
- wilrbst
- Posts: 10
- Joined: Thu Sep 13, 2012 8:37 pm
Re: [How To] Multi-Store on Localhost
any mods out there and check on this situation?
- cosmicx
- Posts: 47
- Joined: Mon Jan 09, 2012 10:27 am
Re: [How To] Multi-Store on Localhost
Hi everyone,
i have multistore working, but i have one important question. Does the sitemap work for every site? So have every domain in the multistore an sitemap for google?
i have multistore working, but i have one important question. Does the sitemap work for every site? So have every domain in the multistore an sitemap for google?
- nopdesign
- Posts: 23
- Joined: Wed Mar 07, 2012 4:40 pm
Re: [How To] Multi-Store on Localhost
is any way any one of stores have specific module setting , and show a module in store1 and hide in store2 ?
- rfgnostic
- Posts: 13
- Joined: Sat Apr 21, 2012 8:08 am
Re: [How To] Multi-Store on Localhost
Really nice discussion
- shine01
- Posts: 1
- Joined: Sat Oct 27, 2012 5:44 pm
Re: [How To] Multi-Store on Localhost
I've tried to keep notes of my experience with installing
- forger
- Posts: 3
- Joined: Fri Jan 18, 2013 8:42 am
Re: [How To] Multi-Store on Localhost
wilrbst wrote:Is there someone that has set up the multistore on their computer locally threw Xampp that would know
how to add the code properly. I have gone threw as many tutorial as google and this forum has and can't seem
to figure out how to properly place the code. A sample of how it should look when placed in the http.conf file will
really help .
The tutorials is asking me to edit the Apache Configuration file add “alias” for each sub store.
Alias /opcStore_1 "C:/xampp/htdocs/store"
Alias /opcStore_2 "C:/xampp/htdocs/store"
1) go to this path: C:\xampp\apache\conf\
2) Find httppd.conf file and open it
3) Search ”<IfModule alias_module>” section and add below code inside this section.
Alias /opcStore_1 "C:/xampp/htdocs/store"
Alias /opcStore_2 "C:/xampp/htdocs/store"
HOW DOES IT LOOKS WHEN THE CODE IS ADDED? Where inside do I add it and how it should look?
Because I tried placing it but only get error local URL. Thanks
Now, you have to restart Apache server from your XAMPP control panel. After restarting, you have to add sub stores in Opencart configuration.
OpenCart configuration for Multi stores.
1) Logon to your main store : C:/xampp/htdocs/store/admin
2) Goto: System > Settings and here you can add new stores.
3) When adding give stores urls: for First store give url: http://localhost/opcStore_1/
for 2nd Store give url: http://localhost/opcStore_2/
Thanks, but i use wamp server, can you help me?
- vanmy
- Posts: 3
- Joined: Sun Jan 20, 2013 5:03 pm
Re: [How To] Multi-Store on Localhost
Lets assume:
the main store is : s.example.com
and i have 2 more sub stores: s1.example.com and s2.example.com
Now, my payment gateway is saying after payment confirmation they are going to redirect to a single domain/subdomain.
So i am confused now how opencart will take care of the payment as bank will redirect to a single domain/subdomain.
the main store is : s.example.com
and i have 2 more sub stores: s1.example.com and s2.example.com
Now, my payment gateway is saying after payment confirmation they are going to redirect to a single domain/subdomain.
So i am confused now how opencart will take care of the payment as bank will redirect to a single domain/subdomain.
- prateek
- Posts: 1
- Joined: Tue Feb 26, 2013 6:04 am
Re: [How To] Multi-Store on Localhost
I read somewhere that there are plans to improve the functionality of the multistore options, but someone has estimated that only 5% of people use the multistore functionality, so it's not a high priority.
- lovelycoser
- Posts: 1
- Joined: Fri Mar 01, 2013 8:33 am
Re: [How To] Multi-Store on Localhost
lovelycoser wrote:I read somewhere that there are plans to improve the functionality of the multistore options, but someone has estimated that only 5% of people use the multistore functionality, so it's not a high priority.
Chicken and Egg situation. Many would like to use it but don't use the multistore function because it is not easy to set up. To adapt a saying, "Code it and they will come." :-)
- zigzag253
- Posts: 3
- Joined: Mon Jan 21, 2013 11:52 pm
97 posts
• Page 5 of 5 • 1, 2, 3, 4, 5
Who is online
Users browsing this forum: blackpink, cars111, dionysus, eurekasprings, Goliath, Google [Bot], labeshops, Maeploy, midgette, paulfeakins, PlusCybernet, rwenve, ShaneTFletcher, takahashi1973, uncommonhound and 81 guests














