E-commerce 0.5.3: Groundwork for checking one product against Shopify
E-commerce 0.5.3 adds groundwork for checking a single product against Shopify. No change for a running shop: nothing in the admin uses it yet.
The module can now fetch one Shopify product by id and compare it with the local product, using the same comparison as the full sync, instead of pulling the whole catalog. Applying several fields of one product in one action can also reuse one currency lookup instead of asking Shopify once per field. The rest of the release is test and translation-reference fixes.
Full release notes: E-commerce 0.5.3
0.5.3 · 10 September 2026
PRs #54–#55.
Added
- Single-product Shopify check, domain layer.
AdminClient.fetch_product/3does an unpaginated point fetch of one Shopify product by id, andSync.check_one/3resolves a local product’s Shopify link, fetches it, and diffs it with the sameProductDiff.diff/4the fullcheck/2sync uses — for a future per-product admin panel that shouldn’t have to pull the whole catalog to check one item. (#55) apply_change/3/apply_changes/3acceptopts[:currency_verdict], a precomputedcurrency_verdict/1result, so a caller applying several fields of one product in a single operator action pays for the live Shopify currency lookup once instead of once per field. Default behavior (no option given) is unchanged. (#55)
Fixed
- A
catalogue_view_test.exsfixture was silently testing the wrong code path afterphoenix_kit_catalogue‘stranslated_description/2started reading the description column before the_descriptiondata-bucket override at a record’s own primary language. The fixture now blanks the column so the body_html-derived fallback the test names is what actually runs; no assertion changed. (#54) - Stale gettext source references on “Shop status” corrected across all three catalogues. (#54)
E-commerce 0.5.3. Install or update: {:phoenix_kit_ecommerce, "~> 0.5"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.