It seems like you're using an older browser. Things might not work as expected.

Storefront AX is an e-commerce solution that moves Dynamics AX 2012 R3 into the web sites of Episerver CMS and makes for using features configured in Dynamics ERP in the webshops. All business logic configured in Dynamics ERP is available in the web sites using Commerce Runtime. Dynamics business logic handles all customers, assortments, catalogs, prices and discounts.

Dynamics business logic is used during the shopping experience in several cases. When an article is displayed on a product page, the business logic calculates the price. When the visitor adds articles to the shopping cart, price and discounts are calculated, and the cart itself is entirely managed by Dynamics business logic.

Finally, when the visitor creates an order, the Dynamics business logic is used to manage the checkout flow. The checkout includes cart editing, selection of delivery methods, selection of payment methods and the payment transactions created, and the last step of creating an order. The sales transaction is created and managed by the Dynamics Commerce Runtime.

Storefront imports the products and navigation defined in Dynamics AX 2012 R3 for an online retail channel into the Episerver Catalog and loads the search engine used by Episerver with the information. The web site then uses the search engine and Episerver for instant access to the information, optimized for high performance, and renders the web site on demand. The navigation and the pages are filtered and loaded with information. 

Customers are classified as Organizations or Persons in Dynamics ERP and in most e-commerce systems. The two types of customers have information that is specific to the customer type, but they also have common information. Customers are created in the ERP system, CRM system or in the e-commerce system. In Storefront AX the customer types Organization and Person are mapped to Episerver types Organization and Customer.

Customers are created and used in a legal entity in Dynamics ERP, and the retail channels created in that legal entity will share the customers in the company. The address book assigned to the channels determines which customers that are available in each channel. Dynamics ERP will send only customers in the address book to the channel.

Storefront AX uses the ERP system as a master data system for all customer information except user credentials for web login. User credentials are managed by Episerver Customer Management.

Customers in a channel

The customers to export from Dynamics ERP to the retail online channel are defined by the address book used in the channel configuration. This is a standard feature of Dynamics ERP. Retail online channels that share the same customers must also share the same address book. The address book contains customers in the legal entity where the retail online channel is defined.

Storefront AX uses the customers exported to the channel database in the retail online channel and have no requirements on how the customers are organized or defined in Dynamics ERP. Storefront AX uses the Dynamics Commerce Runtime for Dynamics AX 2012 R3 to fetch and create customers.

Creating a customer

Storefront AX supports the creation of a customer on the webshop. The creation of a customer is implemented using the Dynamics Commerce Runtime. That means that the customer is created in the ERP and is immediately available for transactions. User credentials are created by the web site in Episerver.

All administration of username and password is managed by Episerver. User account information isn’t available in Dynamics ERP.

Removing a customer

There is no support out-of-the-box in Storefront AX to remove a customer. Customers are removed in Dynamics ERP since it is the master system. Customer accounts are removed in Episerver. Removed customers are updated in the channel database by Dynamics ERP.

Users and web accounts

Episerver Customer management is used for authentication for solutions using Dynamics AX 2012 R3. Dynamics ERP do not store any user account information for the users.

An anonymous visitor in the webshop is always assigned the customer created in ERP and defined as the default customer in the online retail channel definition.

A logged-in user will override the default customer in the retail online channel regarding business logic for prices and orders.

Trade agreements and B2B solutions

Storefront AX uses the Dynamics Commerce Runtime and Commerce Runtime for all price calculations. Price calculations include the logged-in customer for any trade agreements affecting the customer. In the case of an anonymous visitor, Storefront AX uses the default customer configured in the retail online channel in Dynamics ERP.

Any trade agreement set up in Dynamics ERP that is affecting the assortment and the prices are supported in Storefront AX.