Connect Products with Shopify

Mô tả

“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

Ảnh màn hình

Cài đặt

  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

Hỏi đáp

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”]

Đánh giá

Đọc tất cả 1 đánh giá

Người đóng góp & Lập trình viên

“Connect Products with Shopify” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Connect Products with Shopify” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Connect Products with Shopify” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

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.