E-commerce 0.5.19: Shipping paid to the carrier on delivery, and Ukrainian
E-commerce 0.5.19 adds shipping methods that the buyer pays to the carrier on delivery, and translates the PhoenixKit shop into Ukrainian.
Pay-on-delivery shipping
The shipping method form has a new Paid on delivery at carrier rates checkbox. The shop charges nothing for such a method: its price is saved as 0 and its free-shipping threshold is cleared. Instead of “FREE”, the cart, checkout, order confirmation and order details pages say Paid on delivery and note that shipping is not included in the total. Orders record that shipping was paid on delivery, and automatic method selection no longer picks such a method as the cheapest. A cart that picked a method before it was marked is re-priced.
Ukrainian
The shop now has a full Ukrainian translation, including the new pay-on-delivery texts.
No migration: update the dependency.
Full release notes: E-commerce 0.5.19
0.5.19 · 10 October 2026
Added
- Ukrainian (
uk) translations (#74). A fullpriv/gettext/ukcatalogue with the three Ukrainian plural forms; every plural form carries%{count}, which a test pins. - Pay-on-delivery shipping methods (#75). A shipping method can be
marked as paid to the carrier at their own rates on delivery
(
metadata["pay_on_delivery"], no migration). The shop charges nothing for it, so its price is forced to 0 and its free-shipping threshold is cleared. The storefront says “Paid on delivery” and notes that shipping is not in the total, instead of “FREE”, on the cart, checkout, order confirmation and order details pages. Orders record the flag on the shipping line and asmetadata["shipping_pay_on_delivery"]. Auto-selection no longer treats such a method’s 0 as the cheapest. A cart that picked a method before it was flagged is re-priced on the cart and checkout pages (refresh_pay_on_delivery_shipping/1).
Fixed
- The
ukcatalogue was missing the five pay-on-delivery strings. #75 added them for de/et/fr/ru beforeukexisted on its base, so Ukrainian shoppers saw English for them. They are translated, and a test now checks that every translated catalogue carries every msgid indefault.pot.
E-commerce 0.5.19. Install or update: {:phoenix_kit_ecommerce, "~> 0.5"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.