E-commerce 0.5.7: Copied catalogue items no longer keep the Shopify link
E-commerce 0.5.7 fixes duplicates made in Catalogues for shops that sync with Shopify.
Duplicating an item, a category or a whole catalogue copied the shop’s Shopify link too, so the media and collection syncs could match two rows to one Shopify product. Copies now leave out the Shopify product id, handle and sync references, and a copied category leaves out its Shopify collection. Every other shop field is kept.
Full release notes: E-commerce 0.5.7
0.5.7 · 17 September 2026
Fixed
- Catalogue copies no longer carry the Shopify link (#58). The
catalogue’s Duplicate (an item, a category, or a whole catalogue) now
asks the shop extension what a copy keeps through
duplicate_data/2. An item copy dropsdata["ecommerce"]["shopify"](product id, handle, and the media and variant sync’simage_ids/set_slugs) andlegacy_product_uuid, so the collection and media syncs can’t match two rows to one Shopify product. A category copy drops the Shopifycollection_id. Every other shop field is kept.
E-commerce 0.5.7. Install or update: {:phoenix_kit_ecommerce, "~> 0.5"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.