WP Manifestindependent plugin directory
manifest / utilities / wp-shopify-buy-button

Shopify Buy Button

Wordpress plugin that creates shortcodes for using the Shopify Buy Button

by drdogbot7 · github.com/drdogbot7/wp-shopify-buy-button

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/drdogbot7/wp-shopify-buy-button/archive/refs/heads/master.zip

Description

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