shop catalog - BevvyTech/BrewskiDocs GitHub Wiki

Shop – Catalog

Route

/shop/catalog

Summary

  • Lists merchandise, digital, and experience items from the storefront catalogue in a paginated data grid.
  • Product types are selected via the left navigation sub-menu (Merchandise, Digital & experiences, Experiences), while the page-level controls expose publication state filtering and full-text search across title and slug.
  • Clicking a row opens the corresponding catalogue detail view.
  • Relies on the catalog admin endpoints (GET /catalog/products) and respects the new commerce snapshot fields when the shop.commerce-items.v1 feature flag is enabled.
  • Pagination sits in the shared footer so the 10/25/50/100 selector persists via brewski.pagination.pageSize, the chevrons/page-jump dropdown stay aligned with the API’s page/pages metadata, and the summary text (“Showing X–Y of Z / Page X of Y”) mirrors the rest of Admin.
  • Add product opens the multi-tab dialog (Basics, Pricing, Media, Availability, Metadata) that now uses the shared modal chrome from Orders/Beers: header text with description, fullscreen toggle + close buttons, and footer actions for Cancel, Save draft, and Publish with the required 44 px padding around the form.
⚠️ **GitHub.com Fallback** ⚠️