Skip to content
Architecture

Storefront architecture

Trace a storefront’s behavior by following how its pages load, how drop-ins communicate, and where Commerce data comes from. These connections help you understand a feature or investigate a problem.

A storefront page brings together content, code, and Commerce data:

Loading diagram...
Edge Delivery Services delivers page content and storefront code to the shopper's browser. The storefront code then requests Commerce data.
  • Page content: Authors manage text, images, and page settings in an authoring tool such as DA.liveThe tooling for creating storefront pages as documents in Google Docs, SharePoint, or DA.live without writing code. Tables in documents define the blocks that appear on each page.. This content is separate from the storefront code.
  • Storefront code: The project’s JavaScript and styles control how pages look and behave. Edge Delivery ServicesAdobe's hosting and delivery infrastructure that turns authored documents into fast HTML pages served from servers close to the shopper. You push code to GitHub; Edge Delivery Services builds and publishes automatically., Adobe’s delivery system, sends this code and the page content to the shopper’s browser. Commerce blocks render the included drop-ins in that browser.
  • Commerce data: Connected Commerce services supply product information and shopping data, such as prices and cart contents. These services form the backend. A project can use one commerce platform or combine services from more than one.

For example, a product page can show an authored promotion next to a price supplied by Commerce. Storefront code controls how they appear together.

The event bus lets shopping features coordinate within that browser. Configuration determines which services receive their API requests.

Storefront requests serve two different purposes:

  • Catalog requests retrieve product details, prices, search results, and recommendations.
  • Shopping operations read or update carts, complete checkout, and manage customer accounts and orders.

Adobe Commerce as a Cloud Service supports both parts of the shopping experience. With Adobe Commerce Optimizer, the storefront uses its catalog and product-discovery services while an existing commerce platform handles shopping operations.

The storefront starter code has separate API clients for catalog requests and core Commerce operations. These are different responsibilities even when the clients use the same endpoint address.

See Commerce services at a glance for the service relationships and Storefront configuration for connection settings.

Choose the topic that matches the part of your storefront you want to understand.