Skip to content

PhoenixKit 1.7.36: Shop filters, a sitemap index and PDF previews

PhoenixKit 1.7.36 gives the Shop a filter sidebar, splits the sitemap into one file per module and lets Media show PDFs.

The storefront sidebar can filter products by price, vendor and product options such as size or colour, and the filters stay in the URL, so a filtered view can be shared. Storefront Filters in the Shop settings choose and rename them, and Show Categories in Shop puts a category grid above the products. On phones the filters open in a drawer. Filtering by product options does not yet work in every case.

/sitemap.xml is now by default an index that points to one file per source, at /sitemaps/sitemap-{source}.xml, and the sitemap settings show how many URLs each one holds. Turning on Router Discovery keeps a single file.

Uploaded PDFs get a thumbnail of the first page, their page count and title, and a viewer on the media detail page. This needs poppler-utils on the server. Entities get a file upload field type. Migration V56 sets UUIDv7 defaults, NOT NULL and unique indexes on every uuid column.

Upgrading

Run mix phoenix_kit.update for V56. Install poppler-utils for PDF previews.

Full release notes: PhoenixKit 1.7.36

1.7.36 · 13 February 2026

  • Add storefront sidebar filters, category grid, and dashboard shop integration
    • New CatalogSidebar component: reusable sidebar with collapsible filter sections and category tree navigation
    • New FilterHelpers module: filter data loading, URL query string building, price/vendor/metadata filtering
    • Storefront filter configuration in admin settings: enable/disable filters, edit labels, add metadata option filters
    • Auto-discovery of filterable product metadata options (e.g., Size, Color) with one-click filter creation
    • Price range filter with min/max inputs and range display
    • Vendor and metadata option filters with checkbox selection and active count badges
    • Filter state persisted in URL query params for shareable filtered views
    • “Show Categories in Shop” setting: displays category card grid above products on main shop page
    • Sidebar category navigation always visible in sidebar (decoupled from grid setting)
    • Dashboard layout integration: shop filters and categories rendered in dashboard sidebar for authenticated users
    • sidebar_after_shop slot in dashboard layout for injecting custom sidebar content
    • Product detail page updated to use shared sidebar and filter context for consistent navigation
    • Mobile filter drawer with toggle button and active filter count badge
    • Category page filters scoped to category products
    • Fix phx-value-value collision on filter checkboxes: renamed to phx-value-val to avoid HTML checkbox value="on" overwrite
    • Known issue: metadata option filters (e.g., Size) may not filter correctly in all cases; needs further investigation
  • Add file upload field type to Entities module
    • New file field type with configurable max entries, file size, and accepted formats
    • FormBuilder renders file upload UI with drag-and-drop zone (admin entity forms, placeholder)
    • New :advanced field category
  • Fix 3 remaining UUID migration bugs in billing forms
  • Fix 8 UUID migration bugs found in PR #330 post-merge review
  • Add UUIDv7 migration V56 with dual-write support

PhoenixKit 1.7.36. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.