Installation
Headless Shopify
LoyaltyLion has support for headless Shopify stores. Install LoyaltyLion via Shopify as normal, and follow the steps below to handle the frontend implementation of the SDK on your side.
In order for LoyaltyLion UI to show on the page, you need to:
- Install the SDK
- Initialize the SDK
The SDK should be loaded on every page on your store, otherwise your customers might not be able to view the loyalty program.
- Handle customer authentication
Reward support on headless Shopify
Supported rewards:
-
Gift cards (Shopify only)
Unsupported rewards:
On a headless storefront, features that interact with the frontend Shopify API are not expected to work. These include the following rewards:
-
In-cart product rewards (Shopify only)
Feature support on headless Shopify
Supported features:
-
Shopify Scripts (legacy)
-
Notifications (includes enhanced notifications)
-
Redeem at checkout (standard Shopify checkout only)