Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Commerce Boilerplate

Overview

This overview describes the Commerce boilerplate repository and how it fits Edge Delivery Services and drop-ins. Start with the definition below, then follow First steps when you are ready to clone, run locally, or dig into architecture.

The Commerce boilerplate is Adobe’s supported starter/reference codebase for storefronts on 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. (EDS). You clone it from GitHub, connect your Commerce backend, and customize blocks, scripts, and styles in that repository instead of tying together every Commerce integration yourself.

The boilerplate repository lives at hlxsites/aem-boilerplate-commerce . EDS hosts and publishes your site from that repo. The boilerplate also bundles Drop-in componentsNPM packages that provide core Commerce storefront features such as cart, checkout, product details, and account flows. for cart, checkout, product listings, and related Commerce flows so you theme and configure shipped UI rather than building those screens from scratch.

  1. If you still need a site, follow Create a storefront. When you already have a repo, open Boilerplate getting started to run npm install and npm start, and explore blocks/, scripts/, and styles/.

  2. Read Storefront Architecture when you need the full picture of how authoring, blocks, drop-ins, and Commerce APIs connect.

Use these when you already have a project open on disk:

When you trace npm dependencies or debug install issues, open Getting started for the key runtime packages the boilerplate adds. When you need each Commerce block’s drop-ins, GitHub source folder, and merchant-facing topic in one place, open Blocks reference.