Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/drdogbot7/wp-shopify-buy-button/archive/refs/heads/master.zipDescription
Shopify Buy Button is a WordPress plugin that allows you to easily embed Shopify products and collections into your WordPress site using simple shortcodes. The plugin provides a settings page to enter your Shopify domain and Storefront Access Token, and then enables you to display products or collections anywhere shortcodes are supported.
Usage
After installing and activating the plugin, go to Settings > Shopify Buy Button and enter your Shopify domain (e.g., your-store-name.myshopify.com) and Storefront Access Token.
You can then use the following shortcodes in your posts, pages, or widgets:
Display a Shopify Product
[shopify-product id="PRODUCT_ID"]
Replace PRODUCT_ID with the numeric ID of the Shopify product you want to display.
Display a Shopify Collection
[shopify-collection id="COLLECTION_ID"]
Replace COLLECTION_ID with the numeric ID of the Shopify collection you want to display.
Example
To embed a product with ID 1234567890:
[shopify-product id="1234567890"]
To embed a collection with ID 9876543210:
[shopify-collection id="9876543210"]