설명
Product Display for BigCommerce takes a product ID, 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 BigCommerce store admin, then you must install code on your WordPress site.
In your BigCommerce admin, do the following:
- Login to the BigCommerce Admin Panel.
- Go to Advanced Settings, then API Accounts. Click the “Create API Account” button at the top of the page.
- Note the value of API Path. It should look something like https://api.bigcommerce.com/stores/ysle1xlmo5/v3/
- Set the name to WordPress, then set OAuth Scopes to Products – read-only.
- Click the save button, and note the values of Client ID and Access Token.
Install the WordPress part of this mod as usual (using the Install button
on the mod page on WordPress.org). The follow these steps:
- In your WordPress admin, do the following:
– In Plugins->Installed Plugins, click the “Activate” link under Product Display for BigCommerce.
– In Settings->Product Display for BigCommerce, enter your API Path, Client ID and Access Token, and your Store URL.
To show a specific product on your blog, use the shortcode
[bcpd_product_display] with parameter “id” as a self closing tag.
So showing product 107 would be done as follows:
[bcpd_product_display id=”107″]
The id is shown in the URL when you edit a product in your admin.
FAQ
- Installation Instructions
-
Note: This is a two-part install; you have to do some configuration on your BigCommerce store admin, then you must install code on your WordPress site.
In your BigCommerce admin, do the following:
- Login to the BigCommerce Admin Panel.
- Go to Advanced Settings, then API Accounts. Click the “Create API Account” button at the top of the page.
- Note the value of API Path. It should look something like https://api.bigcommerce.com/stores/ysle1xlmo5/v3/
- Set the name to WordPress, then set OAuth Scopes to Products – read-only.
- Click the save button, and note the values of Client ID and Access Token.
Install the WordPress part of this mod as usual (using the Install button
on the mod page on WordPress.org). The follow these steps:- In your WordPress admin, do the following:
– In Plugins->Installed Plugins, click the “Activate” link under Product Display for BigCommerce.
– In Settings->Product Display for BigCommerce, enter your API Path, Client ID and Access Token, and your Store URL.To show a specific product on your blog, use the shortcode
[bcpd_product_display] with parameter “id” as a self closing tag.
So showing product 107 would be done as follows:[bcpd_product_display id=”107″]
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 Other Details tab on the Product Editing screen).
- I use a currency other than dollars – how do I change the price display?
-
Modify
product_display_for_bigcommerce.phpand change the functionbcpd_product_display_price.
후기
이 플러그인에 대한 평가가 없습니다.
기여자 & 개발자
자국어로 “Product Display for BigCommerce”(을)를 번역하세요.
개발에 관심이 있으십니까?
변경이력
First version
