shop catalog - BevvyTech/BrewskiDocs GitHub Wiki
/shop/catalog
- 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 theshop.commerce-items.v1feature 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’spage/pagesmetadata, and the summary text (“Showing X–Y of Z / Page X of Y”) mirrors the rest of Admin. -
Add productopens 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 forCancel,Save draft, andPublishwith the required 44 px padding around the form.