How to Create an OpenCart Multi Store

Step 1: Create a new domain or subdomain

First, you need to create a new domain or subdomain for your second store. In your cPanel, go to the domains section:

cPanel Domains Section
cPanel Domains Section

Note: If you want to create a new domain, you have to purchase the domain name first.
If you want to create a new domain (e.g. yourstore.fr) click on “Addon Domains”:

  1. Fill in the details about your second store domain (website address)
    Adding a domain for your second store in cPanel
    Adding a domain for your second store in cPanel

    New Domain Name–enter the website address that you want your second store on.
    Document root—To make the multi store work with OpenCart you need to point your new domain to the same directory that your OpenCart installation is in. If you don't know what it is, it should be the main directory (public_html).
    Subdomain/FTP username—this field will be autofilled.
  2. Click "Add domain" to create the new domain.

If you want to create a subdomain (e.g. fr.yourstore.com) click on “Subdomains”:
Creating a subdomain in OpenCart

  1. Subdomain—Fill in the name of your subdomain
  2. Document root—To make the multi store work with OpenCart you need to point your new domain to the same directory that your OpenCart installation is in. If you don't know what it is, it should be the main directory (public_html).

Step 2: Create a new store in OpenCart

  1. Now let's connect your addon domain to OpenCart. Go to OpenCart Admin>System>Settings and click "Insert"
  2. On the General tab enter the new domain (subdomain) name that you just created in your cPanel. Don’t forget the slash (/) at the end:
    OpenCart multi store setup
    OpenCart multi store setup

    Fill in the rest of the details about your store and click "Save"

Step 3: Enable all categories and products that you want to show in the second shop

When you finish setting up your shop, it will be empty. You have to enable manually all products and categories that you want to display in the second shop.

  1. Go to Catalog > Categories
  2. Click “Edit” for a Category and switch to the “Data” tab
  3. Tick your second store in the “Stores” section
  4. Click “Save”

Then do the same for the products you want to enable on the second store.

That's it!

If you have any questions or trouble following this tutorial, please leave a comment. I'll be happy to help you if I can.

Are you losing potential mobile customers?

Fix this!

Receive a curated list of the best OpenCart tips & tricks

Delivered in your inbox weekly for free.

More OpenCart Tutorials

3 thoughts on “How to Create an OpenCart Multi Store”

  1. Hi Gergana.
    I have an Opencart shop with a theme I bought.
    Can I have another Opencart shop with ANOTHER (DIFFERENT) THEME on the same hosting?
    Thank you very much for your time.

  2. Hey Volker,

    Yes, by all means you can have a different theme on the same hosting. If you follow the instructions above, after creating a multi store, you will have two stores which you can access from the same OpenCart admin dashboard. The stores will be listed in System>Settings . Each store can have its own theme, language, currency and a different set of products.

    However, the big benefit is that you will be able to manage both stores and the product stock from the same OpenCart admin.

    Let me know if you have any trouble following the tutorial above.

    Cheers,
    Gergana

Leave a Reply to Gergana Dimova Cancel reply

Your email address will not be published. Required fields are marked *