Skip to content

Remove the Feed Me integration from 9.x - #276

Merged
nfourtythree merged 2 commits into
9.xfrom
feature/shopify-9x-feedme
Dec 2, 2026
Merged

nfourtythree merged 2 commits into
9.xfrom
feature/shopify-9x-feedme

Conversation

@nfourtythree

@nfourtythree nfourtythree commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

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 in Plugin::boot().

Why not port it

  • Feed Me only lets plugins register fields through its Yii event Fields::EVENT_REGISTER_FEED_ME_FIELDS. It has no registry, config key or Laravel event.
  • A Feed Me field extends craft\feedme\base\Field, which is a Yii component. A ported class would still extend it.
  • craftcms/feed-me 6.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

  • Feed Me can't match a feed value to Shopify products by title, slug, Shopify ID or ID anymore.
  • For a Shopify Products field, Feed Me now falls back to its DefaultField handler. It doesn't look up products: it JSON-encodes an array value, then runs the value through the field's normalizeValue() and serializeValue(). I read this in Feed Me's source but didn't run an import.
  • UPGRADE.md has a "Feed Me" section, and CHANGELOG-WIP.md has two entries.

Evidence

  • Pest with no live credentials:
Database Passed Skipped
SQLite 142 4
PostgreSQL 16 142 4
MySQL 8.0 143 3
MariaDB 11.4 143 3
  • These are the same counts as 9.x.
  • Pint, Larastan and Prettier pass. The PHPStan baseline only held the Feed Me entries, so it's deleted.
  • scan-craft5.sh against 9.x:
Area 9.x This PR
Yii service locator 5 0
Events 2 0
Twig and templates 5 3
Other yii/craft imports 10 2

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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

Comment thread UPGRADE.md Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the Feed Me integration removal.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@nfourtythree
nfourtythree merged commit 1d83787 into 9.x Dec 2, 2026
13 checks passed
@nfourtythree
nfourtythree deleted the feature/shopify-9x-feedme branch December 2, 2026 13:07
@linear-code

linear-code Bot commented Dec 2, 2026

Copy link
Copy Markdown

COM-732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants