Connect Products with Shopify

外掛說明

“Connect Products with Shopify” allows you to easily connect products from your Shopify store to WordPress.

The product information retrieved includes the product title and description, as well as the price, image path, etc., and is stored in the custom field value of the WordPress custom post. The product type and tags will also be registered as terms and associated with the product.

Buy button and products list for the product can be displayed with a shortcode. You can customize the layout and design of the buy button according to shopify’s rules on the plugin’s configuration page.

This is a plugin that works well with the shopify starter plan ($5.00 USD).

Arbitrary section 1

螢幕擷圖

安裝方式

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php do_action('plugin_name_hook'); ?> in your templates

常見問題集

How to connect WordPress with Shopify

First, you need to create a “Private App” on Shopify side.
* Check “Allow this app to access your storefront data using the Storefront API”.
* Check all items in “STOREFRONT API PERMISSIONS”.
* Click “Show inactive Admin API permissions”.
* All items should be set to “Read access” or “Read and write”.

Next, let’s configure the WordPress side “Connect Products with Shopify”.
* Enter the information you found on the Shopify page earlier.
* After entering the information, click the “Save the connection settings” button.
* When you see the message “You have been connected to the Shopify store.”, the integration is complete.

Next, let’s link the products.
* Click the “Connect products” button.
* When you see the message “~ Products have been connected”, the linkage is complete.

Shortcode to display products list

You can use a shortcode to display a list of products.
[shopifyProductsList]

Code for use in template files.
echo do_shortcode(‘[shopifyProductsList]’);

You can customize the display by setting the attributes.
Example : [shopifyProductsList limit=”6″ column=”2″ type=”category-a,category-b,category-c” sort=”low-price”]

Shortcode to display a buy button

You can display a buy button for a specific product by specifying the product ID.
[shopifyBuyButton id={product-id}]

You don’t need to specify the ID as long as it is within the loop of the product page.
[shopifyBuyButton]

You can customize the display by setting the attributes.
Example : [shopifyBuyButton id=”0000000000000″ alignment=”center” image=”580″ quantity=”show”]

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Connect Products with Shopify〉的開發相關工作。

參與者

〈Connect Products with Shopify〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Connect Products with Shopify〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0
Initial working version.

1.0.1
Fixed so that custom post (product) other than Shopify will not disappear when uninstalling the plugin.

1.0.2
I fixed it, hoping the translation will work.

1.1.0
Added a short tag for displaying the products list and a bulk delete button.

1.1.1
Minor CSS fixes.

1.1.2
Eliminated errors in debug mode.

1.1.3
WP5.9 support.

1.1.4
WP6.2 support.

1.1.5
Fixed a bug that prevented plugin from being deleted.

1.1.6
WP6.4 support.