该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Product Display for Shopify

描述

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

屏幕截图

安装

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

In your Shopify admin, do the following:

  1. Login to the Shopify 2 Admin Panel.
  2. Go to Apps, then click the “Manage private apps” link at the bottom of the page.
  3. Click the “Generate API credentials” button.
  4. Set the Private app name to “Product Display” and be sure you have Read access to Products, variants and collections.
  5. Click the save button, and note your Private app API key and Password.

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 Shopify. – In Settings->Product Display for Shopify, set your Shopify URL, API Key and password.

To show a specific product on your blog, use the shortcode [shop_product_display] with parameter “id” as a self closing tag.
So showing product 417935405 would be done as follows:

[shop_product_display id=”417935405″]

The id is shown in the URL when you edit a product in your admin.

常见问题

Installation Instructions

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

In your Shopify admin, do the following:

  1. Login to the Shopify 2 Admin Panel.
  2. Go to Apps, then click the “Manage private apps” link at the bottom of the page.
  3. Click the “Generate API credentials” button.
  4. Set the Private app name to “Product Display” and be sure you have Read access to Products, variants and collections.
  5. Click the save button, and note your Private app API key and Password.

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 Shopify.
– In Settings->Product Display for Shopify, set your Shopify URL, API Key and password.

To show a specific product on your blog, use the shortcode
[shop_product_display] with parameter “id” as a self closing tag.
So showing product 417935405 would be done as follows:

[shop_product_display id=”417935405″]

The id is shown in the URL when you edit a product in your admin.

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

The product should be visible in the Online Store (set in the Sales Channels box on the Product Editing screen).

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

Modify product_display_for_shopify.php and change the function shop_product_display_price.

评价

此插件暂无评价。

贡献者及开发者

「Product Display for Shopify」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

First version