Share buttons that stay out of the way.no account required
AddToSite

← All platforms

Share buttons for Shopify

Share buttons on product pages, with the product URL filled in by Liquid.

Ends up
On the product page, under the description or beside the buy button.
  1. 01 Load the script from the layout

    Online Store → Themes → Edit code → layout/theme.liquid. Put it just before </body> so it never blocks the storefront rendering.

    liquid

    <script async src="//static.addtosite.com/widget.js"></script>
  2. 02 Add the buttons to the product template

    Edit sections/main-product.liquid and place the kit where it belongs in the product layout. Liquid supplies the canonical product URL and title.

    liquid

    <div class="ats_kit ats_kit_size_32"
         data-url="{{ shop.url }}{{ product.url }}"
         data-title="{{ product.title | escape }}">
      <a class="ats_btn_facebook"></a>
      <a class="ats_btn_pinterest"></a>
      <a class="ats_btn_whatsapp"></a>
      <a class="ats_btn_email"></a>
      <a class="ats_dd"></a>
    </div>
  3. 03 Blog posts too

    The same kit goes in sections/main-article.liquid, with data-url="{{ shop.url }}{{ article.url }}" and data-title="{{ article.title | escape }}".

Another platform

The same buttons, in someone else's editor. All of them are on theplatforms page.

Want a different set of services?

The snippets above use a sensible default. The configurator builds the exact markup for whichever services you want, in whichever order, at whichever size — paste that in place of the kit shown here.