Repository navigation
Remove the Feed Me integration from 9.x - #276
Merged
Merged
Conversation
Feed Me runs on Craft 6 only through the Yii 2 adapter, and its field registration is a Yii event, so the integration would keep Shopify on the adapter. Support for Shopify Products fields may be added to Feed Me itself later.
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The upgrade guide inaccurately describes the fallback as unchanged passthrough, potentially misleading users about DefaultField’s array conversion and normalization behavior.
1 open issue
What changed in this PR
Removes Shopify 9’s Feed Me integration as part of moving away from the Yii 2 adapter.
Changes:
- Removes the field handler, mapping template, and event registration.
- Cleans up unused translations and PHPStan configuration.
- Documents the breaking change and import behavior.
| File | Description |
|---|---|
| UPGRADE.md | Documents removal and fallback behavior. |
| src/Plugin.php | Removes Feed Me registration and imports. |
| src-yii2/feedme/fields/Products.php | Deletes the Feed Me field handler. |
| resources/views/_feedme/fields/products.twig | Deletes the mapping template. |
| phpstan.neon | Removes obsolete baseline and exclusion references. |
| phpstan-baseline.neon | Deletes Feed Me error suppressions. |
| lang/en/shopify.php | Removes unused integration translations. |
| CHANGELOG-WIP.md | Records integration and class removal. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR removes the Feed Me integration from 9.x. Feed Me 6.19 runs on Craft 6 only through
craftcms/yii2-adapter, and Shopify 9 is dropping the adapter. Support for Shopify Products fields may be added to Feed Me itself later.Maintenance and a breaking change. It removes
craft\shopify\feedme\fields\Products, its mapping template and the Yii event listener inPlugin::boot().Why not port it
Fields::EVENT_REGISTER_FEED_ME_FIELDS. It has no registry, config key or Laravel event.craft\feedme\base\Field, which is a Yii component. A ported class would still extend it.craftcms/feed-me6.19 only suggests the adapter, with "Required on Craft CMS 6".A port could have stayed optional and only loaded when Feed Me is installed. But after the adapter removal, the suite would need the adapter in require-dev or a separate CI job to test it.
Behavior changes
DefaultFieldhandler. It doesn't look up products: it JSON-encodes an array value, then runs the value through the field'snormalizeValue()andserializeValue(). I read this in Feed Me's source but didn't run an import.UPGRADE.mdhas a "Feed Me" section, andCHANGELOG-WIP.mdhas two entries.Evidence
9.x.scan-craft5.shagainst9.x:9.x