I have a problem with the multi-storie, I have created five different subdomains and I have created new storie in the root opencart and created each subdomain but the problem is that subdomains are not stories, subdomain has no contact with the root where opencart is installed. should I change something in htaccess? need help with?
You need to set the document root for each store to where you have opencart installed.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Example:
Code: Select all
www.yourwebsite.com/store_name_one
www.yourwebsite.com/store_name_two
www.yourwebsite.com/store_name_three
www.yourwebsite.com/store_name_four
www.yourwebsite.com/store_name_five
Code: Select all
www.store_name_one.yourwebsite.com
www.store_name_two.yourwebsite.com
www.store_name_three.yourwebsite.com
www.store_name_four.yourwebsite.com
www.store_name_five.yourwebsite.com
To set up your subdomains, log in to your cpanel,
then under "Domains" click on "Subdomains",
then pick your domain,
Code: Select all
yourwebsite.com
Code: Select all
store_name_one
Code: Select all
www.yourwebsite.com/store_name_one
Before you use Subdomains, always test them to make sure they are set up correctly.
The subdomain set up is different from the actual name of the folder.Dentan80 wrote:I can not change the document root on my subdomain.
I wonder if I can insert file in the subdomain folder. I
think you should add something more to .htaccess, to root opencart do not know of subdomains.
You can change the folder name, but that alone will break the subdomain, the subdomain isn't automatic. After the folder name is changed, you must then repeat the steps for creating an all new subdomain for that name change, and delete the old subdomain as well. NOTE: You must delete subdomains on the page where you create subdomains. Deleting a subdomain does not delete the root directory, it only removes the path to it as a subdomain.
Take care of that first, then you can trouble shoot the other files afterwards.
Then worse case scenario, you can always change the folder name back, and set up the subdomain again.
To change file names, you cannot just click on them and change the name, or else you'll get an error saying you cannot change the name. To change the name, just click on it so it is highlighted (not where you can change the letters), and then click "Change Name" in the top menu, and then you can type in a new name and save it. Then the name will be changed.
You can redirect it to whatever you want.Dentan80 wrote:I do not think you want me to redirect the subdomain to root folder? Do you have pics to prove or videos?
If you plan on using the subdomain, then use the subdomain.
Wrong. Subdomain or addon domain folders are NOT used at all in a multistore opencart setup.You do NOT want to have any redirects set up.Selective555 wrote:Each store needs its own folder.
Follow exactly the directions in the link I gave you and I guarantee it will work - I have 30 multistores all running from labeshops.com
Does your host have cpanel? If so, you can change the document root as shown in the step by step guide I linked. If not, let us know what your host has for you to set up things like the subdomains.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
You posted a link to OC 1.5 so we should keep the topic here, and up to date.labeshops wrote:Wrong. Subdomain or addon domain folders are NOT used at all in a multistore opencart setup.You do NOT want to have any redirects set up.Selective555 wrote:Each store needs its own folder.
Follow exactly the directions in the link I gave you and I guarantee it will work - I have 30 multistores all running from labeshops.com
Does your host have cpanel? If so, you can change the document root as shown in the step by step guide I linked. If not, let us know what your host has for you to set up things like the subdomains.
About multi stores, are they all in the same folder then or does each store have its own folder? And if every shop has its own folder, are the folders inside another shop folder? Does each store have its own database? or do they all share one database together?
I haven't used the "store" option in admin yet, but I've been setting up different shops in their own folders, each with their own database.
As far as I know, the procedure for setting up multistores has not changed in 2.0. I haven't had a chance to do a test install of 2x yet, but in order for multistores to function, you have to set it up as shown in the link I posted.Selective555 wrote:You posted a link to OC 1.5 so we should keep the topic here, and up to date.labeshops wrote:Wrong. Subdomain or addon domain folders are NOT used at all in a multistore opencart setup.You do NOT want to have any redirects set up.Selective555 wrote:Each store needs its own folder.
Follow exactly the directions in the link I gave you and I guarantee it will work - I have 30 multistores all running from labeshops.com
Does your host have cpanel? If so, you can change the document root as shown in the step by step guide I linked. If not, let us know what your host has for you to set up things like the subdomains.
About multi stores, are they all in the same folder then or does each store have its own folder? And if every shop has its own folder, are the folders inside another shop folder? Does each store have its own database? or do they all share one database together?
I haven't used the "store" option in admin yet, but I've been setting up different shops in their own folders, each with their own database.
The only folder that is needed is wherever you have opencart actually installed - in my case, the root of labeshops.com - and setting it up in a root folder is recommended. All stores run from the same opencart files in that one location and from the same database - that is the function of multistores letting you have one master set of products, categories, customers, etc, that you can use across as many stores as you want. By changing the document root of each subdomain/addon domain, it is telling the domain to use the files found in opencarts folder.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
https://www.dropbox.com/s/e85wr5cvpq1qg ... .01.33.png
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Oh... so... multi store option is only for when you have a shop, and want many different shop names and themes for it, like for example, if you sold men's and women's clothing, you could create 3 shops, one showing all items in the shop, then another showing just mens clothing, and another with just women's clothing. Yet it's all really the same shop and same shopping cart.labeshops wrote:The only folder that is needed is wherever you have opencart actually installed - in my case, the root of labeshops.com - and setting it up in a root folder is recommended. All stores run from the same opencart files in that one location and from the same database - that is the function of multistores letting you have one master set of products, categories, customers, etc, that you can use across as many stores as you want. By changing the document root of each subdomain/addon domain, it is telling the domain to use the files found in opencarts folder.
Is this correct?
See... I was talking about running actual different stores! Absolutely nothing to do with each other, and payments made to different people. Which isn't what the multi store function is made for. Is this correct?
The multi stores can be anything you want - variations of the same products or totally different products per store. And there are mods so you can created different payment methods per store if you wish too. Take a look at my stores in my footer links and all my stores that are linked from labeshops - some share products, some are totally uniquq products for a single store - I can do them any way I want. But all have the same backend admin and 1 database.Selective555 wrote:Oh... so... multi store option is only for when you have a shop, and want many different shop names and themes for it, like for example, if you sold men's and women's clothing, you could create 3 shops, one showing all items in the shop, then another showing just mens clothing, and another with just women's clothing. Yet it's all really the same shop and same shopping cart.labeshops wrote:The only folder that is needed is wherever you have opencart actually installed - in my case, the root of labeshops.com - and setting it up in a root folder is recommended. All stores run from the same opencart files in that one location and from the same database - that is the function of multistores letting you have one master set of products, categories, customers, etc, that you can use across as many stores as you want. By changing the document root of each subdomain/addon domain, it is telling the domain to use the files found in opencarts folder.
Is this correct?
See... I was talking about running actual different stores! Absolutely nothing to do with each other, and payments made to different people. Which isn't what the multi store function is made for. Is this correct?
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
But if you put everything in one folder, and only use one database, then don't you screw yourself when you have to move one of those stores to another web host? It just seems like it might be poorly set up in opencart if it forces all shops items to share folders with other store folders. Same with database. If you let different people manage different stores, wouldn't it be too risky to let one person have the possibility to destroy other peoples stores if they mess up their own? Bad scripts or wrong things being deleted could carry over into other stores.labeshops wrote:The multi stores can be anything you want - variations of the same products or totally different products per store. And there are mods so you can created different payment methods per store if you wish too. Take a look at my stores in my footer links and all my stores that are linked from labeshops - some share products, some are totally uniquq products for a single store - I can do them any way I want. But all have the same backend admin and 1 database.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
You don't need multiple hosting accounts. Just one so not sure why you would "have to move" one to another host??? You just need a hosting account that supports multiple domains &/or subdomains.Selective555 wrote:But if you put everything in one folder, and only use one database, then don't you screw yourself when you have to move one of those stores to another web host? It just seems like it might be poorly set up in opencart if it forces all shops items to share folders with other store folders. Same with database. If you let different people manage different stores, wouldn't it be too risky to let one person have the possibility to destroy other peoples stores if they mess up their own? Bad scripts or wrong things being deleted could carry over into other stores.labeshops wrote:The multi stores can be anything you want - variations of the same products or totally different products per store. And there are mods so you can created different payment methods per store if you wish too. Take a look at my stores in my footer links and all my stores that are linked from labeshops - some share products, some are totally uniquq products for a single store - I can do them any way I want. But all have the same backend admin and 1 database.
The multivendor mod lets people manage different stores I believe - haven't messed with it since I do everything myself.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
If you are a hosting web site for store owners, you need to have boundaries.labeshops wrote:You don't need multiple hosting accounts. Just one so not sure why you would "have to move" one to another host??? You just need a hosting account that supports multiple domains &/or subdomains.
The multivendor mod lets people manage different stores I believe - haven't messed with it since I do everything myself.
Imagine if you logged into FaceBook, and had access to every profile on the web site.
Now do you understand?
Now imagine you decided you wanted to take your shop else where, then you should be able to without being stuck in a network or without taking everyone with you!
Nothing lasts forever, everyone needs a back up plan, and if you put all of your eggs in one basket, you'll lose them all if anything ever happens. If one person decides to cancel the web hosting or that they have to relocate their web hosting, then other shop owners shouldn't have to suffer from that.
So the multi shop feature is actually a very bad idea, a disaster waiting to happen. If it is used with stores that have nothing to do with each other when combining them into one folder.
Users browsing this forum: No registered users and 47 guests