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.