Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Product Display for Magento

Описание

Product Display for Magento takes a product sku, and pulls in the product name, price, image, description and link, and displays it in a post.

Скриншоты

  • What the product information in your post will look like.

Установка

Note: This is a two-part install; you have to do some configuration on your Magento installation, then you must install code on your WordPress installation.

In your Magento admin, do the following:

  1. Login to the Magento 2 Admin Panel.
  2. Go to System -> User Roles and press the Add New Role button.
  3. 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.
  4. 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.

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. In your WordPress admin, do the following:

— In Plugins->Installed Plugins, click the «Activate» link under Product Display for Magento.
— In Settings->Product Display for Magento, set your Magento URL, user name and password.

To show a specific product on your blog, use the shortcode
[mage_product_display] with parameter «sku» as a self closing tag.
So showing the product with SKU «MS06-L-Blue» would be done as follows:

[mage_product_display sku=»MS06-L-Blue»]

Часто задаваемые вопросы

Installation Instructions

Note: This is a two-part install; you have to do some configuration on your Magento installation, then you must install code on your WordPress installation.

In your Magento admin, do the following:

  1. Login to the Magento 2 Admin Panel.
  2. Go to System -> User Roles and press the Add New Role button.
  3. 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.
  4. 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.

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. In your WordPress admin, do the following:

— In Plugins->Installed Plugins, click the «Activate» link under Product Display for Magento.
— In Settings->Product Display for Magento, set your Magento URL, user name and password.

To show a specific product on your blog, use the shortcode
[mage_product_display] with parameter «sku» as a self closing tag.
So showing the product with SKU «MS06-L-Blue» would be done as follows:

[mage_product_display sku=»MS06-L-Blue»]

Are there any requirements for products I’d like to display?

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.

I use a currency other than dollars — how do I change the price display?

Modify product_display_for_magento.php and change the function mage_product_display_price.

Отзывы

Посмотреть 1 отзыв

Участники и разработчики

«Product Display for Magento» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Product Display for Magento» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

First version