Skip to content

E-commerce 0.5.6: Shopify collection sync copes with trashed categories

E-commerce 0.5.6 fixes the Shopify collection sync for shops that keep categories in the Catalogues trash.

Once a category matching a Shopify collection was in the trash, every collection sync failed: the sync tried to create the category again, its address clashed with the trashed one, and the run stopped until the trash was emptied. Such a collection is now skipped and counted. Restoring the category brings it back on the next run.

An item whose category was trashed, moved or deleted while a run was going now stays where it is with a logged warning, and the run carries on. Other write errors still stop the run.

Full release notes: E-commerce 0.5.6

0.5.6 · 15 September 2026

Fixed

  • Shopify collection sync no longer halts on a category trashed mid-run (#57). An item whose target category the catalogue refuses at assignment time (trashed, moved to another catalogue, or deleted since the run resolved it) stays where it is with a logged warning, and the run carries on. Any other write error still halts the run.
  • Shopify collection sync no longer fails every run once a matching category is in the trash. Such a collection is skipped — logged, counted in the new collections_skipped_trashed result key, its products never fetched — instead of having its category re-created, which collided with the trashed category’s slug and halted the sync until the trash was emptied. Restoring the category brings the collection back on the next run.

E-commerce 0.5.6. Install or update: {:phoenix_kit_ecommerce, "~> 0.5"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.