🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Magento 2 WP Integration icon
Ralentir Testé jusqu'à 6.8.13

Magento 2 WP Integration

Combine Magento 2 with the CMS capabilities of WordPress. Seamless user experience for visitors by integrating the design of Magento and WordPress.

Installations actives90+10+ niveaux
Téléchargements · 30D182▲ +45.6% vs prev. 30d
Évaluation4.4/57 avis
Score de santé33/100En danger
Téléchargements de tous les temps12.2KDepuis septembre 2016
Support résolu0 / 10% au cours des 2 derniers mois
A besoin deWP 4.0PHP 7.3+
Téléchargements · 7j44▼ -8.3% week over week
Notre verdict

Envisager une alternative

Magento 2 WP Integration shows warning signs in 2026 — compare the alternatives below before installing. It runs on 90+ sites, is rated 4.4/5 and was last updated 1 year ago, and scores 33/100 on our health check.

  • Petite base d'utilisateurs (90+ installations actives)
  • Pas de mise à jour depuis plus d'un an
  • Uniquement testé jusqu'à WordPress 6,8 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

51117Sep 3Oct 17Dec 1
Hier5
Moyenne quotidienne (1 ans)3
Jour de pointe2310 Septembre 2026
12 Derniers mois1.2K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Magento 2 WP Integration stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
commerce électronique >100 2,864 Meilleurs plugins e-commerce →
intégration >100 10,000 Meilleurs plugins d'intégration →
magento #3 120 Best magento plugins →
magento2 #1 1 Best magento2 plugins →
boutique >100 7,124 Meilleurs plugins de boutique →

Adoption de version

Part de sites actifs par version.

  • 1.473.6%
  • 1.326.4%

Répartition des notes

★★★★★★★★★★ 4.4 from 7 reviews

  • 5★85.7%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★14.3%

About Magento 2 WP Integration

From the official readme · v1.4.2.1

Description

Combine the powerful e-commerce solution Magento 2 with the excellent CMS capabilities of WordPress. The Magento 2 WordPress Integration Plugin integrates Magento 2 with WordPress so users will have an unified user experience. Share session/cart data, navigation menus, header, footer, products, layout elements and static blocks by using shortcodes or functions.

This plugin is not meant to replace Magento 2, instead it will allow you to create a seamless user experience for your visitors by integrating the design of Magento and WordPress.

Traits

  • Include Magento 2 blocks in your WordPress theme
  • Use shortcodes to include products, cart, layout blocks, and static blocks in the WordPress editor (“Add Magento2 Shortcode” button)
  • Share session and cart data between Magento 2 and WordPress
  • Include product information in your WordPress editor
  • Seamlessly integrate your Magento 2 and WordPress theme
  • Display cart/mini cart with session data
  • 4 Widgets to display static blocks, product slider, single product or cart
  • Slider and Single Product templates can be overridden in current theme
  • Auto adding possibility of header and footer from your Magento 2 (only if your theme is using HTML5 approach)

Basic Usage

You can use the following functions in your theme files:

  • Get HTML content (as string) of the header: m2i_get_header()
  • Get HTML content (as string) of the footer: m2i_get_footer()
  • Get HTML content (as string) for CSS files: m2i_get_links_css_tags()
  • Get HTML content (as string) for JS files: m2i_get_scripts_from_head() or m2i_get_scripts_from_body()
  • Get HTML content (as string) of the parts (elements) of the site by CSS selector: m2i_get_els_by_css_selector($css_selector)
  • Get HTML content (as string) of the part (element) of the site by CSS selector: m2i_get_el_by_css_selector($css_selector)
  • Get Product Data as array: m2i_get_product($sku_or_id, $by_id = false)
  • Get Categories List as array: m2i_get_cat_collection($is_active = true, $level = false, $sort_by = false, $page_size = false)
  • Get Store Views List as array: m2i_get_stores()
  • Get Store Views List as array: m2i_get_blocks()
  • Get Customer Info as array: m2i_get_customer_info()
  • Get HTML content (as string) of the CMS block : m2i_get_cms_block($attrs), where $attrs[‘name’] – name of the CMS block in your Magento2
  • Get HTML content (as string) of the Cart: m2i_get_cart($attrs), if in $attrs is set key ‘hide_if_empty’ it will be hidden if empty.

You can use the following shortcodes in your WordPress editor:

  • Show Block: [m2i_cms_block name=”name_in_layout”]
  • Show Slider: [m2i_category_slider dom_id=”unique-id” cats_ids=”categories_ids_separated_by_comas” qty=”quantity_of_products” margin=”in_number”]
  • Show Single Product: [m2i_product_block id=”product id”] or [m2i_product_block sku=”product sku”]
  • Show Cart: [m2i_cart] or [m2i_cart hide_if_empty]

You can override Slider and Single Product templates in your current theme directory
CURRENT_THEME_DIR/m2i-templates/product-view.php or slider.php

Installation

You can only use this plugin if your WordPress installation is on the same server as your Magento installation. This plugin requires several Magento store files to be included using PHP, this means it needs to be on the same server as your WordPress Installation. In addition, session data is stored per server and thus only available if both platforms are installed on the same server. Nevertheless, in most setups you can use different subdomains with this plugin.

  1. Download the WordPress plugin
  2. Upload the contents of the zip to your plugin directory
  3. Enable the plugin in your WordPress admin
  4. Complete the settings in the plugin settings page

Session sharing additional setup

If you want to be sure about session sharing (especially when a user is logged in) between Magento and WordPress, you need to add the next code to Magento index.php file before Bootstrap line:

if ( isset( $_COOKIE['PHPSESSID'] ) ) {
    /* To share logged in user session with WP frontend */
    setcookie( 'PHPSESSID', $_COOKIE['PHPSESSID'], time() + 3600, '/', '.local.wordpress', 0 );
    /* To share logged in user session with WP backend */
    setcookie( 'PHPSESSID', $_COOKIE['PHPSESSID'], time() + 3600, '/wp-admin', '.local.wordpress', 0 );
}

Custom replacement of translation function

If for some reasons our new automatic replacement functionality doesn’t work, you have to replace WordPress translation function in your own (it conflicts with Magento, so modified version is required). Apply the following patch to WordPress to avoid conflicts between WordPress and Magento 2:

File: WORDPRESS_ROOT/wp-includes/l10n.php

WordPress __() function is used for translation but is in conflict with Magento 2. Therefore, please find this function at around line 296 and

REPLACE

function __( $text, $domain = 'default' ) {
    return translate( $text, $domain );
}

WITH

function __( $text, $domain = 'default' ) {
    if ( defined( 'M2I_MAGE_DIR' ) && class_exists( 'M2I_External' ) && M2I_External::$needs_mage_translate ) {
        return M2I_External::translate( func_get_args() );
    } else {
        return translate( $text, $domain );
    }
}

Journal de modifications

We replaced free limited version with the full premium, so be ready to review all the options. You also need to remove your premium version and replace it fully with the free one in order to allow automatic updates and custom update from WP screen.

1.4.2.1

  • Correct WP readme.txt to align with the standards

1.4.2

  • Fix the WP notice for the early usage of the “load_plugin_textdomain” function.
  • Improve the fetching of “link rel=’stylesheet'” tags in the “m2i_get_links_css_tags” function. So the Critical CSS from Magento is now possible (you still have to include critical_css_block and main_css_preloader by our functions in the code).

1.4.1

  • Added the missed files (widgets, shortcodes)

1.4

  • Added a possibility for automatic replacement of the translation function “__()”! It’s enabled by default.
  • Premium version with footer support and a couple of other features goes open source!
  • Other minor changes, but which might affect you if you are using PHP < 7.3. Plugin will not function.
  • Tested with Magento 2.4.3
  • Testé avec WordPress 6,0

1.3.1

  • Tested with WordPress 5.2.2
  • Tested with Magento 2.3.1
  • Added “Auto store view selection” option for selection of the right store view dynamically according to the domain, only Magento >= 2.3.0
  • Improved store view selection for the Magento >= 2.3.0
  • Added touchEnabled=false setting for product slider by default, because of incompatibility with Chrome browser

1.3.0.1

  • Tested with WordPress 5.1
  • Added more info (via question mark) to “Exclude JS files” option

Journal des modifications complet sur WordPress.org →

Captures d'écran

General settings
General settings
Advanced settings
Advanced settings
Magento 2 WordPress Integration
Magento 2 WordPress Integration

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Magento 2 WP Integration alternatives

All e-commerce plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 WCBoost – Wishlist WCBoost – Wishlist WCBoost - Wishlist lets shoppers create wishlists for later purchases, reminding them of… by WCBoost 40K+ ★★★★★★★★★★ Aucun avis Il y a 3 mois 69
2 Klarna pour WooCommerce Klarna pour WooCommerce Développez votre entreprise pour une augmentation des ventes et des expériences d'achat améliorées sans frais supplémentaires. Par Klarna 20K+ ★★★★★★★★★★ 2.3 (20) il y a 5 heures 66
3 Ecwid par Lightspeed Ecommerce Panier Ecwid par Lightspeed Ecommerce Panier Panier d'achat eCommerce puissant et facile à utiliser pour WordPress. Vendre sur Facebook et… Par Ecwid par Lightspeed Ecommerce… 20K+ ★★★★★★★★★★ 4.5 (228) Il y a 2 mois 73
4 Suivi des conversions pour WooCommerce Suivi des conversions pour WooCommerce Ajoute divers codes de suivi des conversions au panier, à la caisse, au succès de l'enregistrement et au produit… par wedevs 10K+ ★★★★★★★★★★ 3 (24) Il y a 2 mois 65
5 Welart E-commerce Welart E-commerce WelCart est un plugin gratuit WordPress e-commerce avec la meilleure part de marché au Japon. par info@welcart 10K+ ★★★★★★★★★★ 4.5 (6) il y a 6 jours 83
6 Amazon paye pour WooCommerce Amazon paye pour WooCommerce Installez le plugin Amazon Pay pour votre magasin WooCommerce et profitez d'un… by Amazon Pay 10K+ ★★★★★★★★★★ 2.5 (27) il y a 1 mois 71
7 Omnibus — Afficher le prix le plus bas Omnibus — Afficher le prix le plus bas Le plugin ajoute la compatibilité des prix avec la directive européenne Omnibus. par iWorks (Marcine Pietrzak) 10K+ ★★★★★★★★★★ 4.1 (51) il y a 1 mois 71
8 Japonisé pour WooCommerce Japonisé pour WooCommerce Essential Japanese Localization Toolkit pour WooCommerce - ajoute des formats d'adresses, des paiements… Par shohei.Tanaka 10K+ ★★★★★★★★★★ 3.3 (21) il y a 4 jours 71
9 Commander Kustom pour WooCommerce Commander Kustom pour WooCommerce Le premier paiement dans les pays nordiques, conçu pour une conversion plus élevée et un retour des acheteurs… par Kustom Checkout 10K+ ★★★★★★★★★★ 3.5 (15) il y a 3 heures 68
10 Nexi XPay Nexi XPay XPay is the payment gateway provided by Nexi, a leading group in Italy with the goal of… by Nexi Payments 7K+ ★★★★★★★★★★ 2.8 (8) il y a 1 jour 79

FAQ

Magento 2 WP Integration: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Magento 2 WP Integration free?

Yes. Magento 2 WP Integration is free to download and use from the official WordPress.org plugin directory.

Is Magento 2 WP Integration safe to use in 2026?

Magento 2 WP Integration shows warning signs in 2026 — compare the alternatives below before installing. It runs on 90+ sites, is rated 4.4/5 and was last updated 1 year ago, and scores 33/100 on our health check.

How many websites use Magento 2 WP Integration?

Magento 2 WP Integration is active on 90+ WordPress websites and has been downloaded 12,197 times since it launched in September 2016. It was downloaded 182 times in the last 30 days.

Does Magento 2 WP Integration work with WordPress 7.1?

Magento 2 WP Integration is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Magento 2 WP Integration need?

Magento 2 WP Integration requires PHP 7.3 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Magento 2 WP Integration last updated?

The latest version, 1.4.2.1, was released on October 30, 2025 (1 year ago).

Who makes Magento 2 WP Integration?

Magento 2 WP Integration is developed and maintained by Modern Minds.

What are the best alternatives to Magento 2 WP Integration?

The most popular alternatives to Magento 2 WP Integration are WCBoost – Wishlist (40K+ installs), Klarna for WooCommerce (20K+ installs) and Ecwid by Lightspeed Ecommer… (20K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir