Preview a product
Preview a product’s images, price, options, and purchasing controls while editing the shared product-page document in Document Authoring.
Before you begin
Section titled “Before you begin”- Your content project must contain the
/products/defaultdocument and itsproduct-detailsblock. - Choose an existing product’s stock keeping unit (SKU) from your catalog. Find it under Catalog > Products in Admin, or ask your developer.
Preview the shared template
Section titled “Preview the shared template”-
Open
/products/defaultin Document Authoring. -
Add or update the
defaultSkurow in theproduct-detailstable with the SKU you chose.product-details defaultSku HOODIE-001 Replace
HOODIE-001with your product’s SKU. The first row is the block name; merge its cells in the document. -
Select the split-screen icon in the right sidebar to open the inline live-preview pane.
-
Confirm that the pane displays the product you chose, including its image, price, and available options.
Check a real product page
Section titled “Check a real product page”- Open a category or search-results page on your storefront and select the product you want to check.
- Confirm that the resulting URL follows
/products/<url-key>/<sku>, such as/products/cool-hoodie/HOODIE-001. The URL key and SKU must belong to a real product in your catalog. - Confirm that the product page loads the expected catalog data in a normal browser tab.
If the editor preview is empty, check that the defaultSku value exists in the catalog available to your storefront. See Product Details for the block’s role and Add supporting content to product pages for changing the shared layout.