PhoenixKit 1.7.2: A multilingual sitemap and country-aware billing
PhoenixKit 1.7.2 makes the sitemap aware of the site’s languages and gives billing profiles a full country list with VAT rates, so a site in several languages and countries gets the right links and the right tax.
Sitemap and billing
With the Languages module on, the XML sitemap lists every language version of a page with hreflang alternate links, plus an x-default entry for the default language. Blog, entity and static pages get language prefixes, and posts from the Posts module now appear in the sitemap too.
Billing profiles now pick from a list of all countries with flags instead of eleven fixed ones, and EU membership comes from the country data. When an order gets a billing profile, the order form fills in the tax rate for that country. In the admin header, the project title is now a link to the home page.
Full release notes: PhoenixKit 1.7.2
1.7.2 · 15 December 2025
Added
- Multilingual Sitemap Support
- Add hreflang alternate links for SEO optimization
- Automatic language detection from Languages module
- XML sitemap with xhtml:link elements for all language versions
- x-default hreflang for default language pages
- Posts Sitemap Source - new source module for PhoenixKit Posts system
- RouteResolver - add :posts support in find_content_route/find_index_route
- BeamLabCountries Integration for Billing
- Add CountryData wrapper module with billing-specific functions
- Replace hardcoded 11-country select with dynamic 250-country dropdown with flags
- Use CountryData.eu_member?/1 for dynamic EU membership validation
- Add calculate_totals_for_country/3 for automatic VAT rate by country
- Auto tax rate calculation in OrderForm when billing profile is selected
- Include workaround for BeamLabCountries charlist bug in reduced VAT rates
- PR #2 submitted to fix upstream charlist bug in beamlab_countries
Changed
- Update Blogging, Entities, Static sitemap sources with language prefix support
- Add canonical_path field to UrlEntry for hreflang grouping
- Make project title a clickable link to home page in admin header
PhoenixKit 1.7.2. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.