E-commerce module for PhoenixKit. Hex package · Docs
Changed
- Migrate the category and product admin forms to core form components. Non-translatable scalar fields (status, product_type, vendor, price/compare_at/cost, position) and the changeset-backed selects (
parent_uuid,featured_product_uuid,category_uuid) now render through core<.input>/<.select>. Anassign_form/2helper keeps:changeset(consumed by the multilangTranslationTabsfields) and:form = to_form(changeset)in sync, so inline validation errors render onvalidate. Translatable fields, dynamic-option selects, and the option/media machinery are intentionally left as-is. - Route web body strings through the module's own
PhoenixKitEcommerce.Gettextbackend (was the parent app'sPhoenixKitWeb.Gettext). Generic UI-chrome strings are still resolved against core to keep its vetted translations; shop-domain strings resolve in-module and shipet/rucatalogues (correct 2-form/3-form plurals).
Fixed
- Inline validation errors now render on the migrated
<.select>fields, via thephoenix_kit1.7.131 coreSelectcomponent (it now mapsfield.errorslike<.input>does).
Dependencies
- Bump
phoenix_kit1.7.130 → 1.7.131 (core<.select>surfacesfield.errors) andetcher0.5.5 → 0.6.5.
Full Changelog: v0.1.6...v0.1.7