Checking Out a Cart in the Storefront

Objective

After completing this lesson, you will be able to implement an end-to-end B2B order flow by checking out a cart in the SAP Commerce Cloud storefront and verifying the resulting order’s creation and key details in SAP Commerce Backoffice.

Check Out a Cart in the SAP Commerce Cloud B2B Storefront

Now that everything is configured in SAP S/4HANA Cloud, SAP Cloud Integration and SAP Commerce Cloud, you can place an order on the SAP Commerce Cloud B2B Power Tools storefront.

  1. Navigate to the SAP Commerce Cloud B2B Power Tools storefront.Power Tools Storefront hero banner reading The Most Powerful Tools with a drill image and a row of tool thumbnails below.

    Hint

    You won’t see a product replicated from SAP S/4HANA Cloud (for example, Powerdrill [PSR 1090]) on the homepage unless you add it to the WHAT'S NEW or Our Bestselling Products product carousel component from the Backoffice or SmartEdit.
  2. Log in to the storefront as the replicated B2B customer.SAP storefront login page with email field populated, password masked, and a Sign In button.
  3. Hover your mouse over the My Account menu from the top-right corner under the B2B customer’s name, and choose My Company from the dropdown.SAP storefront with the landing page, and the account menu open showing different options and My Company option selected.
  4. You'll land on the My Company page.My Company dashboard with a top navigation/search bar and six labeled tiles: Units, Users, Cost Centers, Budgets, Purchase Limits, and User Groups.

    You can choose Units, Cost Centers, Budgets, and so on, to check the B2B Unit hierarchy, cost centers, and budgets assigned to the B2B customer. You can also check them in the Backoffice as an administrator.

  5. Search for the product replicated from SAP S/4HANA Cloud (for example, Powerdrill [PSR 1090]).Power Tools Storefront with a search box displaying a dropdown of product suggestions for psr 1090 — top result PSR 1090 - Powerdrill, $62.80.

    Enter psr 1090 in the search box on the top, and choose the PSR 1090 product from the search result suggestion dropdown. It takes you to the product detail page. You can also hit Enter on the search box, and it takes you to the product list page. Either way, you can add the product to the cart. Once the material master data in SAP S/4HANA Cloud is replicated to SAP Commerce Cloud as products through Cloud Integration, they'll be pulled from the relational database and indexed, then written into the Solr document database for searching. So, the product information you’re seeing on the search suggestion or the product list page is read from the Solr database.

  6. Add the replicated product to the cart, and check out.Product page titled PSR 1090 - Powerdrill showing price $62.80, quantity set to 2, and an Add To Cart button.

    Material in SAP S/4HANA Cloud doesn’t have images, so when replicated to SAP Commerce Cloud, the product images will be missing. You can upload product images from the Backoffice as media items.

    Choose the + plus icon under Qty to add one more item to the cart, and choose the Add To Cart button.

    On the cart popup, choose Proceed To Checkout to move to the checkout steps.

    Modal dialog Item(s) added to your cart showing PSR 1090 - Powerdrill (qty 2), cart total $125.60, with View Cart and Proceed To Checkout buttons.
  7. On the Method of Payment step, choose Account for Payment method, and enter an optional Purchase order number.Checkout page showing Payment Method Account selected, purchase order #345678, order summary total $149.46, and a highlighted Continue button.

    Choose Continue to move to the next step.

  8. On the Shipping Address step, choose Continue to accept the prepopulated cost center and shipping address for the B2B customer.Checkout page with the Shipping Address tab selected, a cost center dropdown and selected delivery address on the left, and an order summary on the right showing total $161.35
  9. On the Delivery Mode step, choose Continue to accept the default delivery method, which is Standard Deliver (3–5 business days), and go to the next step.Checkout Delivery Mode screen showing Standard Delivery (3–5 business days) $9.99 selected, Premium Delivery (1–2 business days) $16.99 option, order summary total $161.35, and Back and Continue buttons.
  10. On the Review step, choose Place Order to accept all prepopulated and default values, and agree to the Terms & Conditions.Checkout review screen showing purchase order, payment and cost center details, shipping address and delivery method, order summary (subtotal $125.60, shipping $9.99, tax $25.76, total $161.35), an auto-replenish option, Place Order button, and a cart listing two Powerdrill items.

    After the order is created in SAP Commerce Cloud, you'll see the order confirmation page on the storefront.

    Order Confirmation page showing order number 005909011 with a thank‑you message and summary details: purchase order number, payment method (Account), cost center, ship‑to address, and Standard Delivery (3–5 business days, $9.99).

Verify Order Creation in the SAP Commerce Cloud Backoffice

After you place an order on the SAP Commerce Cloud storefront, you can check and verify the order information in the SAP Commerce Cloud Backoffice.

  1. Navigate to the SAP Commerce Cloud Backoffice as an administrator.
  2. Choose OrderOrders on the left side navigation menu.SAP Backoffice Administration Cockpit Orders page showing three orders with columns for order number, date, total price, and user; one order is selected, with left navigation and top toolbar visible.
  3. Choose your order on the right side.SAP Backoffice Administration Cockpit Orders view with order 005990011 selected; detail panel open on “Positions and Prices” showing currency/date fields and a line item (PSR 1090 Powerdrill).

    You can search by the order number you see on the storefront after checkout, or on the order history page. In the editor area at the bottom, you can see the order detail information, for example, currency, timestamp, pricing, tax, entries, and so on.