Shopify Buy Button app

Create your Button app
Why add this button to your Shopify store
A button works best where shoppers make their decision: on a product page, on the homepage, or floating on every page of your store. Point it to a product page, checkout, form or any external URL, so the next step is one tap away.
You design the button in Elfsight, and it isn’t tied to a single store: the cloud widget can be installed on any number of domains. Edit the button later in Elfsight and it updates in your store without resaving the theme.
Key Features of the Shopify Buy Button
Everything you need for a button that moves shoppers to the next step:
- Multiple actions – link the button to a product page, checkout, form or external URL, or start a call, open WhatsApp or Telegram, connect to social profiles and scroll to an element.
- Custom design – choose the size, shape, text and colors of the button.
- Floating or inline mode – fix the button on screen or place it inside product descriptions or homepage sections.
- Icons and hover effects – add a built-in or custom icon and a hover effect.
- Mobile-ready – the button adjusts automatically to screen size, from desktop to smartphone.
Try it for free in the live editor
Made for Shopify themes
- Custom Liquid section – in Online Store 2.0 themes, add the button in the theme editor through the Custom Liquid section.
- One section, every page with the template – a section added to a template appears on all pages that use it.
- Floating button on every page – paste the code once into theme.liquid.
- Update without resaving the theme – change the button in Elfsight and it updates in your store.
- One widget, many websites – the cloud widget from elfsight.com can be installed on any number of domains.
How to Add the Button to Shopify
Set up your button in the Elfsight editor first, then click “Add to website for free” and copy the installation code. Choose the way below that fits where the button should appear.
Good to know: on the Starter plan a section or code cannot be added. A new Shopify store is closed by default with a password page, so visitors will not see the button until you open the store.
Method 1: Add an inline button with Custom Liquid
- In your Shopify admin, go to Sales channels → Online Store → Edit theme.
- Select the page or template where the button should appear from the dropdown at the top.
- Click Add section and choose Custom Liquid.
- Paste the installation code into the Custom Liquid field.
- Click Save.
A section added to a template appears on all pages that use the template. On a Vintage theme, add a Custom Content section with a Custom HTML block instead.
Method 2: Add a floating button to every page
- In your Shopify admin, go to Sales channels → Online Store, click the ⋯ button and select Edit code.
- Open Layout → theme.liquid.
- Paste the installation code before the closing </body> tag.
- Click Save.
Method 3: Add a button to one product description
- In your Shopify admin, go to Products and open the product.
- In the Description field, click the Show HTML </> button.
- Paste the installation code where the button should appear.
- Click Save.
Method 4: If there is no Custom Liquid section
- Go to Sales channels → Online Store, click the ⋯ button and select Edit code.
- Right-click the Sections folder and select New File.
- Name the file elfsight-widget.liquid, press Enter and paste the section code from our Help Center guide.
- Click Save, then go back and click Edit theme.
- Click Add section, choose Elfsight widget and paste the installation code into the Installation code field.
- Click Save.
Need a hand? Check our Help Center or contact our Support team. You can also share your feature ideas in our Wishlist or track new releases in the Changelog.