ShopifyStorefrontHelper is an optional JavaScript package that allows developers to easily get storefront data and use it in Rebuy widgets.

To use the package, install the script in your theme, preferably in the head of the theme.liquid before the closing tag </head>:

<script async src=""></script>

Loading this with the async flag is not required, but may help to load this in alongside the rest of the content within the theme.

Once ShopifyStorefrontHelper is included, the package becomes globally available at window.ShopifyStorefrontHelper.