Shopify’s Buy Button 101: How to Use BuyButton.js in a WordPress Theme

Shopify’s Buy Button 101: How to Use BuyButton.js in a WordPress Theme

using Shopify and the new BuyButton.js library — all without additional plugins.

This is a great solution for customizing the way products appear on your client’s website, while giving you the flexibility to build custom ecommerce interfaces through shortcodes, widgets, or custom post types.

To integrate BuyButton.js into a WordPress theme, you’ll need a basic familiarity with JavaScript and PHP. Let’s get started.