The CategoryPage component
Like for the search page, we’re layering an SPA on top of your site to enable fast client side routing between the category pages. Set up and configure your product listing pages using theCategoryPage
component and a PageReplacer as follows.
tsx
Review the types or reference for other configurable properties
Different layout possibilities
The default configuration displays the current category title above the product cards. If you want to render the title of the category yourself, do the following to remove the default title and also make the CategoryPage as compact as possible:The CategoryPage in its most compact version, optimizing for the content being above the fold