Buy Button

Add your products to any site or blog

Free 14-day trial, no credit card required. Already have a Shopify store?

  • wordpress
  • joomla
  • drupal
  • tumblr
  • wix
  • squarespace

Add embeddable products to your site

<script type="text/javascript">
  function ShopifyBuyInit() {
    var client = ShopifyBuy.buildClient({
      domain: 'embeds.myshopify.com',
      apiKey: '952162710f94aa7b7644b14b2a94f4a3',
      appId: '6',
    });

    ShopifyBuy.UI.onReady(client).then(function (ui) {
      ui.createComponent('product', {
        id: [3030475907],
        node: document.getElementById('product-component-05cfb487fb6'),
        moneyFormat: '%24%7B%7Bamount%7D%7D',
        options: {
          "product": {
            "styles": {
              "button": {
                "background-color": "#292929",
                ":hover": {"background-color": "#464646"},
                ":focus": {"background-color": "#464646"}
              },
            }
          }
        }
      });
    });
  }

(function () {
  var scriptURL = 'https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js';
  window.ShopifyBuy && window.ShopifyBuy.UI ? ShopifyBuyInit() : loadScript();

  function loadScript() {
    var script = document.createElement('script');
    script.async = true;
    script.src = scriptURL;
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script);
    script.onload = ShopifyBuyInit;
  }
})();
</script>
<div id='product-component-05cfb487fb6'></div>

Embed products or collections

Shopify generates the embed code which allows you to present your products exactly how you want.

Embed shopping cart

Quickly add a mobile friendly and secure shopping experience to your site. All the power of Shopify in a single button.

Customized for your brand

You have full control. With just a few clicks, customize colors to match your style.

All the features you need for just $9/month

Shopify handles all the hassles of ecommerce, perfect for beginners and experts alike

Unlimited products

70+ payment gateways accepted

Easily integrate orders and shipping

Secure, responsive checkout experience

Track sales and growth trends

Global tax and currency support

Already have a Shopify store?

We're here to help, 24 hours a day, 7 days a week

Shopify support gurus

Try Buy Buttons on these platforms