CategoryPage
component. Import the component from the Depict UI and nest it into your applications category page component.
productCard
prop accepts your custom ProductCard
component that receives and renders your category data.listingQuery
prop accepts the unique identifier for the current category/collection, see the last page.CategoryPage
component is displaying, change the listingQuery
prop to the new category’s unique identifier. Make sure to update it as the user navigates.The CategoryPage in its most compact version, optimizing for the content being above the fold