Orders
See the end-to-end order process.
Learn how to complete purchases on the B2B Commerce Frontend, from adding products to your cart through checkout to order confirmation. The platform supports both registered customer checkout and guest checkout flows, giving you flexibility in how you complete your purchases and manage your orders.
Cart
When a customer is browsing products on your storefront and finds something interesting, they can put it in a cart with a standard Add to cart option. When they're done with selecting products, they select the Cart icon to see all the chosen items. It's possible to edit the cart content, add or subtract the product quantities or remove items from the cart before proceeding to checkout.
Checkout process
When a customer is ready to proceed with the purchase, the following options are available:
Go to checkout - to finish the order by registering or logging in
Continue as guest - to process the purchase without the need to register or log in
Go to the cart - to check more details of the products and the order before moving to payment
Request quote - to send a request for a quote
Go to checkout
Choosing this option takes a customer to the login page where they can register or log in to their account using one of the available options.
The checkout process has the following steps:
Providing the details of the shipping information
The shipping details are taken from:
the customer's address book - the default address is selected
the company locations tagged as
shipping- if the customer is assigned to the registered company
The taxes are applied according to the shipping location country.
Providing the payment information
The billing addresses are taken from:
the customer's address book
the company locations tagged as
billing- if the customer is assigned to the registered company
You can also add a coupon to get a discount.
Reviewing the order
The order review is displayed to the customer before the final order confirmation.
Confirming the order
Choosing the Submit Order button creates an order in Emporix Management Dashboard and adds the order details to the Order History in the customer account.

From this view, the customer can also cancel the order.

Continue as guest
The customer has the option to complete the purchase without the need to register or log in. They can simply choose Submit Order.
The checkout has the following steps:
Providing the details of the shipping information
The customer needs to provide their name, contact information, and shipping address. Also, they need to choose one of the available shipping methods.
The email address provided in the shipping information cannot be associated with an existing customer account.
Providing the payment information
The customer chooses the payment method and billing address.
Reviewing the order
The customer reviews all the provided details and if everything is accurate confirms the order and proceeds to the payment by acreeing to the terms and conditions and choosing to Submit Order. When the order is place, the customer gets a notification message.

In case of the anonymous order, there is a validation mechanism that runs in the background and checks if the provided email address is already associated with an existing customer. If so, it prevents completing a guest checkout with such an email. The customer has an option to either log in or to provide a different email address.
In the case when a guest customer later wants to return the purchased item, they need to register with the email address provided at checkout and to create a customer account. After logging in, the customer can view the orders under the order history associated with the email.
After the customer submits the order, it is created within the Management Dashboard. The employee can set the status of the order and the storefront is updated accordingly. In a real scenario, the updates are normally integrated from an ERP backend system.
In the Management Dashboard, for the orders that were created by guest users, the Customer # field is marked as Anonymous. If the guest customer later chooses to create an account, the value of the Customer # is replaced with the real customer ID.

To learn more about API used in this use case see the Order Service and for user guides check the Orders documentation.
Last updated
Was this helpful?

