Post by broopenc3 » Fri Apr 20, 2018 3:49 pm

Hello everyone. I am trying to set up a multistore with opencart 3 for test purposes to upgrade from opencart 1 (I have a working opencart 3 subdomain and a working opencart 1 website). I have some trouble.
First of all I use webmin-virtualmin. As far as I know I do not need to install opencart 3 again in the subfolder of the multishop I want to create and also will it draw data from the same database.

Asuming my thoughts are correct I proceed in creating the multistore:
I have a working subdomain website on opencart 3, bro.mystore.gr/. Now I go to admin, then systems->settings, create, fill in all required fields and set the url to either new.mystore.gr/ or bro.myotherstore.gr/ or bro.mystore.gr/otherstore/ but nothing works. I tried to mess up with virtualmin settings and follow some tutorials from opencart 2 and cPanel but I can not get this to work. What subfolders do I need to create if any and what URL do I choose?

And finaly, if i get the multistores to work, how will opencart recognise which shop is which? For example: I want some categories to appear in one shop and the rest in the other. How will opencart recognise the table oc_category_to_store? I assume that when I get to the main admin panel (one admin for all stores) it will recognize each store and let me choose which category will appear in which shop. Am I correct?

Are these questions answered in a post I have not seen yet? Thank you for your time.

TL;DR: OC3 I follow some tutorials-videos but I can not setup multistore. (I use virtualmin)

New member

Posts

Joined
Fri Mar 16, 2018 7:09 pm

Post by straightlight » Sat Apr 21, 2018 1:29 am

With the use of an API: https://github.com/tsvetelintsonev/php- ... /README.md , it could be accomplished. Although, I would not suggest to use this on a live server since it doesn't handle oAuth authentication but rather a simple username / password authentication method.

However, if you are using Virtualmin on the same domain as the one you are using for Opencart, then this example can also provide what you need to create your own API: viewtopic.php?f=191&t=203344&p=719531#p719531

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by broopenc3 » Thu Apr 26, 2018 4:08 pm

straightlight wrote:
Sat Apr 21, 2018 1:29 am
With the use of an API: https://github.com/tsvetelintsonev/php- ... /README.md , it could be accomplished. Although, I would not suggest to use this on a live server since it doesn't handle oAuth authentication but rather a simple username / password authentication method.

However, if you are using Virtualmin on the same domain as the one you are using for Opencart, then this example can also provide what you need to create your own API: viewtopic.php?f=191&t=203344&p=719531#p719531
Thank you for your reply. However it is not what I was looking for. Excuse my descriptive talent. I was looking for a way to create a subdomain in virtualmin to create multistores. I solved it through allias creation and messing up with the virtualmin settings (not so good description and decumentation in Virtualmin as cPanel for example).

New member

Posts

Joined
Fri Mar 16, 2018 7:09 pm

Post by broopenc3 » Thu Apr 26, 2018 9:00 pm

I succeded in creating my myltistores but I the cart is unique in each one. Can I have the same cart in every shop? I search my friend google but some say it is the same cart by default, some say it can not be done.

What is the correct answer? Can I have the same cart in every shop?
If yes, then what must I do? Is there a problem in the settings of virtualmin that I use?

New member

Posts

Joined
Fri Mar 16, 2018 7:09 pm
Who is online

Users browsing this forum: No registered users and 12 guests