Skip to content

Storefront how-tos

Create commerce pages, update storefront content, or customize shopper features. Choose an author task to work with content and settings, or a developer task to change storefront code.

Start here when your task involves authoring storefront content rather than changing code.

How-toResult
Create a commerce pageBuild a category page with commerce blocks and metadata.
Build a category page manuallyAuthor a category page and its search engine optimization metadata.
Add a block to a pagePlace and configure a supported Commerce or content block.
Add page metadataSet the page’s title, description, and other page-level properties.
Apply section stylingApply a supported style to the section around your blocks.
How-toResult
Preview a productView live product data in the shared template and check a real product URL.
Feature a product on a campaign pageDisplay one product’s shopping controls on a campaign page.
Add supporting content to product pagesPlace headings, images, or companion blocks around the shared product template.
Show enrichment contentShow supporting content only for selected products or categories.
Show targeted contentShow content to selected customer groups, segments, or cart-rule audiences.
Add product recommendationsDisplay a recommendation unit on a storefront page.
How-toResult
Change labels and placeholdersUpdate the words shoppers see in commerce blocks.
Create a page experimentConnect an alternate page to the original and compare versions in preview.
Test alternate storefront labelsGive one experiment variant different labels without changing the original.
How-toResult
Copy content between projectsCopy storefront content to another Document Authoring project, then preview and publish it.
Translate storefront contentTranslate documents into another language and hand off Commerce-specific checks.
Submit a storefront sitemapSubmit your sitemap to Google Search Console and check its processing status.
How-toResult
Add terms and conditionsAdd agreement documents and checkbox labels to checkout.

For authoring concepts and block settings, see the authoring guide and commerce block reference.

Use the page metadata and section metadata references when configuring page and section settings.

Start here when your task involves changing storefront code. Each how-to describes the result you’ll build. Check its requirements before you begin.

How-toWhat you’ll build
Add breadcrumbs to product and category pagesShow a breadcrumb trail on category and product pages.
Add gift options to a product pageAdd gift options to the product page and save them to the cart.
Add a Notify Me buttonReplace Add to Cart with a Notify Me button when an item is out of stock.
Generate category pages programmaticallyCreate category-page documents with a script and publish them in bulk.
How-toWhat you’ll build
Add a custom payment methodIntegrate a third-party payment provider.
Add custom product lines to the cart summaryAdd custom lines tied to products in the cart summary.
Add messages to the mini cartShow inline feedback when items are added or updated in the mini cart.
Add payment buttons to checkoutShow PayPal, Apple Pay, or Google Pay buttons for the selected payment method.
Configure buy online, pick up in storeBuild a flow that lets shoppers buy online and collect their order in a store.
Configure the cart summaryRestyle the cart summary layout and savings display.
Customize order summary linesChange the lines shown in the cart’s order summary.
Enable product variation updates in the cartLet shoppers change product variations from the cart and mini cart.
Implement multi-step checkoutReplace the default checkout with a multi-step flow.
Integrate address verificationConnect a third-party address verification service.
Use saved cards in checkoutLet shoppers pay with a saved card, using the pre-release versions required by this how-to.
Validate a shipping addressConfirm a suggested address before the order is placed.
How-toWhat you’ll build
Add stored payment methods to My AccountShow saved Payment Services cards on the My Account page.
Customize the address form layoutRearrange the fields in the account address form.
Display an additional wishlistUse a reference pattern for a separate list alongside the shopper’s main wishlist, with Save for Later as the example.
Validate a saved addressConfirm a suggested address when a shopper saves it.
How-toWhat you’ll build
Implement order cancellationLet shoppers cancel an order after placing it.
How-toWhat you’ll build
Combine content and product search resultsShow content and product results in one search experience.
Configure search redirectsSend specific search terms straight to a target page.
How-toWhat you’ll build
Instrument analytics eventsPublish Adobe Client Data Layer events when you bypass or replace the drop-ins.
Publish an add-to-cart eventPublish an add-to-cart event from a custom add-to-cart action.
Publish a product page view eventPublish a product-page-view event from a custom product page.