Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Go to System → Settings → Store

Table of Contents

AbanteCart has a feature to create and manage multiple stores within one single installation. AbanteCart multi-store abilities which allow you to manage multiple stores from one admin interface.

you can use multi-store in several ways:

allows you to install and run completely different themes, extensions, and content, depending on the selected store and manage multiple shops from the same back office. This means you could have two stores selling entirely different products or having two totally different target audiences all managed within one installation.
  • one back-end to manage all stores
  • use different templates on each store
  • display different products/categories on each storefront
  • display different blocks, banners... layout (use another template)
  • localize each store by setting a different default language, currency.
  • setting different shipping and payment methods.

To setup multi-store first of all setup your main store with main domain name.if You need to create create a multi-store you DON’T NEED to install a cart again or anything do with files.Only you need is two things:
1. .

Before deciding to enable the multistore determine how do you want customers to visit the second store based on the following options: one level below the primary domain, different domains or each store will have its own subdomain.

The easiest approach will be one level below the primary domain (Using subfolders: https://example.com/cars/). In order to create multiple online stores with this approach you do not need to perform domain setup. Please skip the Domain configuration step in this case.

1. Domain configuration: setup additional domain (addon domain) or the sub-domain in your hosting provider admin panel

2. AbanteCart configuration: set up the second store in the admin of main store. At the end you should have 1 cart admin and 2 (or more) storefronts

Tipthe first

panel. 

Info
titleNote

Please note that only the default store may contain the www. in the URL! Other stores should not include www.





Step 1: Set up Domain in your hosting cPanel 

Tip

this step is not AbanteCart related. If you have problems please contact with your hosting provider support to help you .

Set up your hosting cPanel

Set up two or more domains in your hosting service control panel. This is very important

to set up the new domain or subdomain

This step is required in case second store(s) are set up as subdomains of the same domain (https://cars.example.com/), or have entirely different domains(https://www.carsdomain.com/). Please skip this step if your store is one level below the main store.

Important to make sure that the second domain is routed to the correct folder.

There is are several ways in cPanel - sub domain subdomain or addon domain.

Example for sub-domain setup

In your cPanel click on the sub-domains icon


Create a sub-domain. Document Root to must be the same as the default domain!

If AbanteCart installed not in root folder. 


Make sure the document root is the same after the subdomain is created!

Warning
titleimportant!

 Document Root value should be the same with as the main domain! If you have AbanteCart installed in some folder for example /public_html/somefolder/mycartfolder/ subdomain shop/, the new Subdomain Root should be have the same path.

Anyway, a lot of beginners have issues with this step because:

  • Due to DNS propagation, the sub-domain can take up to 24 hours and more to start working
  • make sure to link the sub-domain to the path where the default store was installed to. The Document Root is the same in the default store and the multistorenew domain/subdomain
  • make sure there is no redirection setup set up for new subdomain/domain
  • usually, the user may need to clear browser cache and DNS cache on the local computer to resolve new or reconfigured domains/subdomains
  • also, possible some settings in the .htaccess file or file permissions issue prevent correct workwork 
  •  

Please contact with your hosting service provider to make sure your domain/subdomain is configured correctly.




Step 2: Create Store in your AbanteCart admin panel

To add a new shop, find in AbanteCart admin go to System → Settings admin System → Settings page and click on the Create New Store button

fill in the at least You’ll be taken to a new screen with the following fields:

Status: Turn it On to enable store.

Store Name: The name of your store or business.

Store URL: Include the full URL to your store. Make sure to add '/' at the end. Example: httphttps://wwwcars.second.yourdomainyourdomain.com/ or https://maindomain.com/storecars/

f you use domain.com as main store, it will work as *.domain.com and other stores can not use same domain.
Warning
titlesingle domain note

If you need to use a subdomain like store1.domain.com as an additional store, please make sure your main store use the subdomain www or any in the settings (example: www.domain.com) If you use domain.com as the main store, it will work as *.domain.com and other stores cannot use the same domain.




How to delete store

in AbanteCart admin go to System → Settings select store in the Edit Settings: drop-down, click Edit Store button

the trash bin icon appearappears, click on it to completely remove a store