Google Merchant Center · Magento 2 module
Magento Product Feed.
Generate scheduled, validated Google Shopping feeds without an external feed service.
A merchant feed can become difficult to replace once product selection, variant IDs, stock and pricing are hidden inside a vendor template. This MIT-licensed module creates configurable Google-compatible XML feeds in Magento and supports a shadow rollout before an existing Merchant Center source is changed.
What the module does
- Creates primary, supplemental and internal-export profiles for individual store views
- Filters products by type, visibility, category and EAV attribute rules
- Emits child-SKU offers with configurable-parent URLs and stable item group IDs
- Uses MSI website stock with a legacy stock-status fallback
- Builds tax-inclusive regular and sale prices with effective dates
- Validates GTINs, required fields and duplicate IDs and records exclusion/warning reports
- Publishes generated files atomically and can retain the previous successful file
- Provides Admin management, run history, cron schedules and preview/generate/validate CLI commands
Example: replace an existing feed without a blind cutover
- Create one primary profile for the intended store view, country, language and currency, then preview representative simple and configurable products.
- Generate and validate the XML; inspect item count, exclusions, warnings, IDs, parent URLs, prices, stock and images.
- Add the generated URL to Merchant Center as a separate data source. Compare diagnostics, then switch only after a clean processing cycle while retaining the old source for rollback.
Install with Composer
composer require will-wright1/magento2-product-feed
bin/magento module:enable MageProductFeed_MerchantFeed
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flushAvailable on Packagist using your existing Magento Composer setup. No extra repository or registration is required.
Configure and use it
- 1Confirm Stores > Configuration > General > Locale Options > Timezone, then review Stores > Configuration > Product Feeds > Merchant Feeds.
- 2Open Marketing > Merchant Feeds > Feed Profiles and create one primary profile for the intended store view. Check country, language, currency, selection rules and attribute mappings.
- 3Run bin/magento mage-product-feed:preview --profile=<code> --limit=10, then generate, validate and check overlaps before publishing.
- 4Submit the generated public URL as a separate Merchant Center data source and compare diagnostics before replacing an existing source.
- 5To upgrade, run composer update will-wright1/magento2-product-feed --with-dependencies, then setup:upgrade, setup:di:compile and cache:flush.
- 6If Confirm Delete Actions supplies Stores > Configuration > William James Wright > Module Registration, use that shared screen in Default Config. It already recognises Product Feed, including when disabled. Otherwise use this page's form or the catalogue's shared support form.
Register this module
You can also register several modules together. Registration is required for direct setup and compatibility support. You can register with your first request, or use the same email if you’ve already registered.
Need help implementing it?
Install, extend or build a Magento module around your business.
I build and maintain Magento modules, integrations and operational workflows for UK ecommerce businesses.