Loading…
Loading…
Product listing page with category filtering and search
The main product listing page at /shop, with an optional category-filtered variant at /shop/[category].
app/shop/page.tsx # or app/(main)/shop/page.tsx
app/shop/[category]/page.tsx # or app/(main)/shop/[category]/page.tsx
Shop (server) - Fetches and renders the product gridShopProvider - Client-side state for filters and paginationShopFilters - Filter controls (categories, attributes, price range)ShopSidebar - Sidebar layout wrapper for filtersSearchBar - Product search inputProductCard - Individual product card in the gridThis page is always generated. The category variant provides filtered product listings based on the URL parameter.