How do I add a ResoFlow widget to a Shopify site?

Copy the snippet from Settings → Website widgets, then paste it into your Shopify theme's theme.liquid for a site-wide floating button, or a Custom Liquid block for an in-page widget.

A ResoFlow widget is a single line of code, so adding one to Shopify is a copy-and-paste job. There is no ResoFlow app to install.

Only Owners and Admins can copy the snippet.

1. Get your snippet from ResoFlow

The snippet looks like this:

<script src="https://resoflow.co.uk/widget.js" data-restaurant="your-restaurant-id" data-widget="book" data-mode="button" async defer></script>

2. Paste it into Shopify

Duplicate your theme before editing its code, so you can roll back instantly if anything looks wrong.

Shopify's admin wording shifts between themes and versions. The two concepts above — theme.liquid before </body>, and a Custom Liquid block — are the stable parts. If you can't find them, search Shopify's own help for "edit theme code" or "Custom Liquid".

Things worth knowing

Related: How do I add booking, gift card and other widgets to my own website? · How do I add a ResoFlow widget to a Squarespace site? · How do I add a ResoFlow widget to a Wix site? · How do I add a ResoFlow widget to a WordPress site?