Zen Cart custom software development, Zen Cart modules, Zen Cart Expert eCommerce with Zen Cart!

WordPress Product Display for Magento

WordPress Product Display for Magento

A WordPress plugin that allows you to easily display products from your Magento store on your WordPress blog.

Donate: This is free software. Show your appreciation by supporting my efforts. Donate

Relevance: Magento™ 2.x and above, with WordPress

Current Version: 1.1

Cost: Free, but donation appreciated

Installation Difficulty: Easy

Installation Instructions: click here

Download: Product Display for Magento on WordPress Plugins Site

FAQ: click here


If you want to try a show off products from your Magento store in your WordPress blog, this mod can help. It allows you to use a Shortcode like this:
[mage_product_display sku="some-product_sku"]
and have that appear as an image like the one at the top right of this page.

Installation Instructions:

Note: This is a two-part install; you have make configuration changes on your Magento installation, and install files on your WordPress installation.
Install the WordPress part of this mod as usual (using the Install button on the mod page on WordPress.org). The follow these steps:
  1. Back up everything! Try this in a test environment prior to installing it on a live shop.
  2. In your Magento admin, do the following:
    • Login to the Magento 2 Admin Panel.
    • Go to System > User Roles and press the Add New Role button.
    • Set the the Role Name to blog. In Your Password field, enter the current password of your Magento 2 Admin. Then, on the left side of the screen, click Role Resources. In the Resource Access, select Custom, and click the Products checkbox under Resources. Now press the Save Role button.
    • Go to System > All Users and press the Add New User button. Enter all required information, setting the User Name to blog, and the User Password to something other than your Admin password. Then, on the left side of the screen, click User Role and select blog. Now press the Save User button.
  3. In your WordPress admin, do the following:
    • In Plugins > Installed Plugins, click the "Activate" link under Product Display for Magento. WordPress Configuration - Product Display for Magento
    • In Settings > Product Display for Magento, set your Magento URL, blog userid and blog password. WordPress Configuration - Product Display for Magento
To show a specific product on your blog, use the Shortcode [mage_product_display] with parameter sku So showing the product with SKU "MS06-XS-Blue" would be done as follows:
[mage_product_display sku="MS06-XS-Blue"]
(The tag is self-closing.)

Just use this Shortcode when you create a new blog post. You can put it anywhere in your post where you want the image and information to appear. Then just press "Preview" (or "Publish") to see the Shortcode expand to the full block, as shown at the top right of this page.

To avoid excessive API queries, you should set your WordPress installation up to cache previously built pages. A number of WordPress caching solutions exist; searching for "cache" in the WordPress plugins directory will help you find the best solution for your needs.

Major Versions

  • 1.1 11/22/2017 - Fixed error message
  • 1.0 08/01/2017 - First Release


Q: Are there any requirements for products I'd like to display?
A: The product must have the Visibility setting (in Admin > Products > Catalog->edit product) set so that "Catalog" is included in the value (e.g. "Catalog" or "Catalog,Search"). Otherwise the link back to the product won't work.

Q: I use a currency other than dollars - how do I change the price display?
A: Modify product_display_for_magento.php and change the function mage_product_display_price.