mercurjs / magento2-connector
Sell Mercur marketplace offers from a Magento 2 storefront, next to your own products.
Package info
github.com/mercurjs/magento2-connector
Type:magento2-component
pkg:composer/mercurjs/magento2-connector
Requires
- php: >=8.1
- magento/framework: ^103.0
- magento/module-backend: ^102.0
- magento/module-catalog: ^104.0
- magento/module-catalog-graph-ql: ^100.4
- magento/module-catalog-inventory: ^100.4
- magento/module-checkout: ^100.4
- magento/module-config: ^101.2
- magento/module-configurable-product: ^100.4
- magento/module-cron: ^100.4
- magento/module-directory: ^100.4
- magento/module-graph-ql: ^100.4
- magento/module-quote: ^101.2
- magento/module-quote-graph-ql: ^100.4
- magento/module-sales: ^103.0
- magento/module-sales-graph-ql: ^100.4
- magento/module-shipping: ^100.4
- magento/module-store: ^101.1
- magento/module-ui: ^101.2
Requires (Dev)
- bitexpert/phpstan-magento: ^0.32
- magento/module-inventory-sales: ^1.2
- magento/module-inventory-sales-api: ^1.2
- magento/module-inventory-shipping: ^1.2
- phpstan/phpstan: ^1.12
- phpunit/phpunit: ^10.5
- squizlabs/php_codesniffer: ^3.9
Suggests
- magento/module-inventory-sales: Enable Mercur_Inventory on stores that run Multi-Source Inventory
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-02 16:38:03 UTC
README
Sell marketplace offers from your Magento 2 store, next to your own products.
Documentation
·
Request Features
·
Report Bugs
Status
| Feature | Status |
|---|---|
| Seller offers next to your own stock, with a buy box and seller pages | GA |
| Cart and checkout grouped by seller, shipping choice and delivery estimate per seller | GA |
| One Mercur order per seller from a single payment; seller shipments with tracking | GA |
| Refunds, returns and cancellations in both directions | GA |
| Seller products imported as configurable products, images included | GA |
| Your products pushed to Mercur so sellers can offer on them | Opt-in |
| Taxonomy push, EAN/UPC matching, Multi-Source Inventory, GraphQL and REST | GA |
Watch releases to get notified of updates.
Overview
What is this?
A Composer package of Magento 2 modules that connects a Magento Open Source or Adobe Commerce store to a Mercur marketplace.
- Magento keeps the storefront, cart, checkout, payment and your own catalog.
- Mercur keeps sellers, their offers, the split into one order per seller, commissions and payouts.
- The connector mirrors sellers, offers and seller products into Magento, places marketplace orders in Mercur and keeps shipments and refunds in step.
For a more detailed overview head over to the Magento 2 integration guide.
Does Magento still own first-party sales?
Yes. Your own products sell exactly as before, with your prices, your stock and your carriers. Seller lines are priced by the seller, skip Magento's stock checks and reservations, and are shipped by the seller. By default they cannot be shipped from the Magento admin.
How does an order flow?
The order is placed in Magento first. Once it reaches a configured status it is created in Mercur with the payment authorized, the capture is confirmed when an invoice is paid, and each seller ships their own lines from Mercur; the Magento order completes when every seller shipment has been recorded. ARCHITECTURE.md has the full picture.
Quick start
composer require mercurjs/magento2-connector bin/magento module:enable Mercur_Core Mercur_Process Mercur_Connector \ Mercur_OfferIndexer Mercur_Catalog Mercur_Settlement Mercur_Frontend Mercur_GraphQl bin/magento module:enable Mercur_Inventory # stores running Multi-Source Inventory bin/magento setup:upgrade && bin/magento setup:di:compile && bin/magento cache:flush
Then follow the setup guide to install the Mercur plugin, connect the two stores and run the first sync.
Developers
Start with DEVELOPERS.md for local setup, the test suite and trying a change on a store.
Once you are set up, these cover the rest:
- ARCHITECTURE.md — modules, sync tasks, the process queue and how an order moves between the two systems
- CONFIGURATION.md — every setting, its path and the scopes it accepts
- EVENTS.md — Magento events you can observe and the Mercur webhooks the connector handles
Magento compatibility
| Platform | Version | Status |
|---|---|---|
| Magento Open Source | 2.4.4 and later | Supported |
| Adobe Commerce | 2.4.4 and later | Supported |
| PHP | 8.1, 8.2, 8.3 | Supported |
| Mercur | 2.3.8 and later | Required |
Contributing
Open an issue before a large change. Pull requests need a green CI run and a note on how you verified the change on a store.
License
This repo is licensed under MIT.