PhoenixKit 1.7.28: Shop in several languages, product options and CSV import
PhoenixKit 1.7.28 makes the Shop multilingual and gives products options that can change the price, plus a CSV import.
Migration V47 turns the title, slug and description of products and categories into one value per language, and the storefront gets language-prefixed addresses such as /et/shop/..., open only for enabled languages. Migration V46 adds product options, set globally under /admin/shop/settings/options or per category, which can add to the price; the cart remembers the chosen options. Products can be imported from CSV at /admin/shop/imports, with a history of each import.
In Publishing, “master language” is now “primary language”. Each post keeps its own primary language, so a change to the site-wide one does not move it, and there are tools to move older posts to the versioned structure and to their own primary language. A Translate to This Language button translates the open language, language lists are sorted, and the overview has a Create Group button. Locale prefixes in URLs no longer break navigation, and the theme and language menus in the admin header work again.
Upgrading
Run mix phoenix_kit.update for V46 and V47.
Full release notes: PhoenixKit 1.7.28
1.7.28 · 24 January 2026
- Major improvements to the Publishing module’s multi-language workflow: renamed “master” to “primary” terminology, fixed URL routing with locales, added language migration tools, improved cache performance, and fixed several UI/UX issues in settings and admin pages.
- Multi-Language System Improvements
- Rename master to primary terminology - Updated all references from “master language” to “primary language” for consistency and clarity
- Fix language in URL breaking navigation - Resolved issues where locale prefixes in URLs caused routing problems
- Isolate posts from global primary_language changes - Posts now store their own primary language, preventing drift when global settings change
- Add “Translate to This Language” button - Quick translation action for non-primary languages in the editor
- Sort languages in dropdowns - Consistent alphabetical sorting across all language selectors
- Migration Tools
- Add version structure migration UI - Visual indicators and migration buttons throughout the publishing module
- Fix legacy post migration - Resolved “post not found” errors when migrating from legacy to versioned structure
- Handle dual directory structures - Fixed migration when both publishing/ and blogging/ directories exist
- Add primary language migration system - Tools to migrate posts to use isolated primary language settings
- Performance
- Improve listing performance - Read from cache when possible, reducing database/filesystem hits
- Language caching with WebSocket transport - Faster language resolution with proper cache invalidation
- Add Create Group shortcut - Quick access button on publishing overview page
- Settings & Admin UI Fixes
- Fix General settings content language glitch - Resolved weird UI behavior when changing content language
- Fix settings tab highlighting - General and Languages tabs now properly highlight on child pages
- Fix admin header dropdowns - Theme and language dropdowns in admin header now work correctly
- Update Entities module description - Clearer description on the Modules page
- Multi-Language System Improvements
- Updated the languages module added front and backend tabs for languages
- Add localized routes for Shop module
- Add locale-prefixed routes (/:locale/shop/…) for multi-language Shop module support
- Add language validation to only allow enabled languages in URLs
- Add language preview switcher for admin product detail page
PhoenixKit 1.7.28. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.