Magento enables you to run multiple websites and stores within a single installation. Commerce 365 also supports these structures. You don’t have to make use of the multi-store system, you can of course just run one single store, but if you want to use it, be sure to read the information below.

For more information see: https://devdocs.magento.com/guides/v2.3/config-guide/multi-site/ms_over.html 


By the time you have completed the setup wizard your current Magento configuration (Master Data) is already imported into Commerce 365. This means that all website codes and store codes which are present in Magento, are now also present in Commerce 365, and you can start to push data to any of your stores.


Websites

Go to Master Data > Websites. Here you can see all websites-codes.



If you haven’t configured anything special on the Magento side, this list will show the base code which is your Main Website. If you decide to a new website on the Magento side, you can go to this screen and click Update Websites to pull in all new information.

On a website level there are a few configuration settings. Click on Manage > Edit List if you want to change these settings.


Public Price Customer No. – If you want to define pricing by using a BC template customer, you can fill in the customer number here. If you leave this blank, the unit price from the item card will be used as the default price for the public view / non-logged in customers.


Public Price Customer Currency Code – The website will use the currency of the selected Public Price Customer.


Enabled by Default - If you want your new items to show up in each of your websites by default you should enable the checkbox. If unchecked, the item will by default not appear in that specific website and you can manually select this on each web item card.


Stores

Go to Master Data > Store Views. Here you can see all the store-codes which you can use. Just as with the websites we described above, you can sync your stores (and store views) by clicking Update Stores.

On a store level there are also configuration settings. Click on the store code to open the store card for more details.


Language CodeIf you run a multi-lingual setup you should fill in the language code for each store.
Location CodeThis is the code for the default location (warehouse) you want to apply on to your incoming web orders.
Responsibility CenterThis is the code for the responsibility center that you want to apply by default on all incoming web orders from this store view.
Match Customers BySetup for matching new Magento accounts to existing Business Central customers. This is explained in detail below.
Import OrdersThis switch should be set to TRUE if you want to import orders from this store. Be aware, when new stores are added, the initial setting is FALSE.
Last Order ImportThis field is automatically maintained by the system. It holds the date-time when we last successfully synchronized orders for this store.
Order CurrencyThis field is automatically defined as Order Currency which means the order currency on the Magento order will be the currency defined on your Business Central sales order. If you want Business Central to be leading in this an want all Magento orders to be imported in your local currency switch this setting to Local Currency.
Guest Order Customer No. [Obsolete] If you have configured your Magento to allow guest checkout, you should define a customer under which these incoming orders are filed.
Sales Document TypeHere you can specify the type of document which has to be created when processing orders (creating BC orders from Magento web orders). The Magento staging order can be processed as a Sales Order, Sales Quote or Sales Invoice.
Order Processing MethodAfter importing a new web order, as a staging order, should the system; do nothing / create the BC sales document / create and release the BC sales document.
Order Creation Price MethodSet Magento Price as Unit Price takes the price from the incoming Magento order line. 
Set Magento Price as Line Amount allows Business Central to set the Unit Price automatically, then set the price from the Magento order line as the Line Amount, and calculate the Line Discount based on the difference between the two fields.
Synchronize ShipmentsWhen enabled, any shipment posted in Business Central, which is connected to a web order placed within this store, will automatically be synced to Magento.
Synchronize InvoicesWhen enabled, any invoice posted in Business Central, which is connected to a web order placed within this store, will automatically be synced to Magento.
Synchronize Credit MemosWhen enabled, any credit memo posted in Business Central, which is connected to a web order placed within this store, will automatically be synced to Magento.
Comments This is for your own reference / internal use. If you have a longer list of stores it might be helpful to other users to describe the purpose of each store.
URLThis is just for your own reference. If you have multiple stores, it usually helps other people who also use the system, to enter the corresponding URLs.
This URL will also be used to generate the screenshot that is shown in the right column. 


Matching new customers to existing Business Central customers

For each store view there is an ability to set up a matching mechanism which adds Magento orders from unidentified Magento accounts to existing Business Central accounts. This match can be made by enabling one or more options.


Customer Templates

For each store view there is an ability to set up a customer templates. These templates can be used to create a new customer account in Business Central.

For each country you have the ability to set up a customer template used to create a new Business Central sales order or you can choose to consolidate all magento orders on a collect customer by filling in a collect customer number.


Dimension Setup

For each store view there is an ability to set up a dimensions on an order. This can be done by setting up dimensions on store level.

The dimensions filled in the setup will be applied by default on all Business Central sales orders that are created from the originating store view.


VAT Mappings

In order to process orders correctly and make sure that VAT is handled correctly it is important to set the correct VAT Business Posting group for each order.

For each store view it is important to set this up properly, in order to do so you have to fill in the following fields.


Country / Region CodeDefines the country code of the customer which is filled on the Magento Sales order.
Country VAT Mapping TypeDefines if you want to use the Bill-To country code or the Ship-To country code as country to set the VAT Business Posting Group.
Customer TypeGives the option to set a different VAT Business Posting group for B2B and B2C customers from the same country.
VAT Business Posting GroupHolds the value that is filled in on the Business Central sales order when processing a staging order.


Deleting data

Be aware that if you delete a website or store, you will also delete all data which is linked to that store code.