Magento 2.0.18 is the final 2.0.x release. After March 2018, Magento 2.0.x will no longer receive security patches, quality fixes, or documentation updates. To maintain your site's performance, security, and PCIPayment Card Industry: Refers to debit and credit cards and their associated businesses. compliance, upgrade to the latest version of Magento.
Creating a Store
Before you begin, take some time to plan your store hierarchy because it is referred to throughout the configuration. Each store can have a separate root category, which makes it possible to have a different main menu for each store.
A single installation of Magento can have multiple stores that share the same AdminThe password-protected back office of your store where orders, catalog, content, and configurations are managed.. Multiple stores can share the same domainThe address of a website on the web; what the customer types in their browser address bar to access the store., be set up as subdomains of the same domain, or have entirely different domains. Stores that have the same IP address and domain, use the same security certificateInformation that is used by the SSL protocol to establish a secure connection., and share a single checkout processThe process of gathering the payment and shipping information that is necessary to complete the purchase of items in the shopping cart. In the final step, the customer reviews and places the order.. If you want each store to have a dedicated checkout process under its own domain, each store must have a distinct IP address with a separate security certificate. Here are some examples of how URLs can be configured for multiple stores:
Each store has a different path, but shares the same domain.
Each store has a different subdomain of the primary domain.
Each store has a dedicated domain.
The important thing to understand is that the stores use the same Magento code, share the same Admin, and catalog. They can, however, have different identities, product selections, and themes.
The first step is to choose how you want to position the store. Will the stores share the same domain, each have a subdomain, or have distinctly different domains? For each store, do one of the following:
- To place the store one level below the primary domain, you don’t have to do anything.
- Set up a subdomain of your primary domain.
- Set up a different primary domain.
|1.||On the Admin sidebarThe right or left column of a two-column page layout., tap Stores. Then under Settings, choose All Stores.|
|2.||Tap Create Store. Then, do the following:|
|a.||Choose the Web Site that is to be the parent of the new store. If the installation has only one web site, accept the default, “Main Website.”|
|b.||Enter a Name for the new store. The name is for internal reference only.|
|c.||Set Root Category to the root category that defines the categoryA set of products that share particular characteristics or attributes. structure for the main menu of the new store. If you have already created a specific root category for the store, select it. Otherwise, select “Default Category.” You can come back later and update the setting.|
|3.||When complete, tap Save Store .|
|1.||Tap Create Store View . Then, do the following:|
|a.||Enter a Name for the view. For example, "English."|
|b.||Enter a Code for the view in lowercase characters.|
|c.||Set Status to "Enabled."|
|d.||In the Sort Order field, enter a number to determine the store's position when listed with other stores.|
|2.||Tap Save Store View .|
If you were to now open your store in edit mode, you would see that is has a default view.
|1.||On the menu bar, tap Stores. Then under Settings, choose Configuration.|
|2.||In the panel on the left under General, choose Web.|
|3.||In the upper-left corner, set Store View to the view that you created for the new store. When prompted to confirm scope switching, tap OK .|
|4.||Expand the Base URLs section. Then, do the following:|
|a.||After the Base URLUniform Resource Locator: The unique address of a page on the internet. field, clear the Use Website checkbox. Then, enter the Base URL for the store.|
In this example, the URL is a folder below the Magento root. You can either enter the fully qualified URL or use a markup tagA snippet of code that can be used to add functionality or content to a page. as a placeholder for the base URL that was used previously for your initial default store.
|b.||When complete, tap Save Config.|
Identifies the parent website of the new store.
A name for the store that is used for internal reference.
Identifies the root category that contains the selection of categories for the new store’s main menu.