Documentation Index
Fetch the complete documentation index at: https://docs.sezzle.com/llms.txt
Use this file to discover all available pages before exploring further.
Add a Sezzle banner to your online store to let customers know they can shop now and pay later.
Installation
Select the implementation that fits your needs:
Shopify:
Shopify
Install as Asset
From CDN
- Log in to your Shopify Admin
- Go to
Online Store > Themes
- Next to the applicable theme, click
Actions then Edit Code
- Paste the following snippet into the
sections/header.liquid file where the banner should appear, update the merchantUUID value, then click Save
- Note: this is typically below the
header or sticky-header closing tag. Open the file, then search (Cmd+F or Ctrl+F) for the word “sticky-header”
{{ "//checkout-sdk.sezzle.com/sezzle-home-banner.min.js" | script_tag }}
<div id="sezzle-banner-render-reference"></div>
<script>
new SezzleBanner({
merchantUUID: "string",
theme: "string",
renderToContainer: "string",
}).init();
</script>
{{ "//checkout-sdk.sezzle.com/sezzle-home-banner.min.js" | script_tag }}
<div id="sezzle-banner-render-reference"></div>
<script>
new SezzleBanner({
merchantUUID: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
theme: "indigo",
renderToContainer: "#sezzle-banner-render-reference",
}).init();
</script>
Your merchant ID which is of the format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Find it here. Renders the page design with dark purple or black backgroundAvailable options: indigo, black
renderToContainer
string
default:"#sezzle-banner-render-reference"
The placeholder or parent container where the banner should appear. Should be a unique .class-name or #id-name
Local File
- Clone/pull down the Static-Widgets project, then run
npm run build-banner
- Log in to your Shopify Admin
- Go to
Online Store > Themes
- Next to the applicable theme, click
Actions then Edit Code
- Scroll to the Assets folder, then click
Add A New Asset
- Click
Create a Blank File, name the section sezzle-home-banner, select .js as the file type, then click Add Asset
- In the Assets folder, select the asset you just created (you may need to scroll, files are not in alphabetical order).
- Overwrite the asset template with the code contents here:
static-widgets/build/sezzle-home-banner.js, then click Save.
- Paste the following snippet into the
sections/header.liquid file where the banner should appear, update the merchantUUID value, then click Save:
- Note: this is typically below the
header or sticky-header closing tag. Open the file, then search (Cmd+F or Ctrl+F) for the word “sticky-header”
{{ "sezzle-home-banner.js" | asset_url | script_tag }}
<div id="sezzle-banner-render-reference"></div>
<script>
new SezzleBanner({
merchantUUID: "string",
theme: "string",
renderToContainer: "string",
}).init();
</script>
{{ "sezzle-home-banner.js" | asset_url | script_tag }}
<div id="sezzle-banner-render-reference"></div>
<script>
new SezzleBanner({
merchantUUID: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
theme: "indigo",
renderToContainer: "#sezzle-banner-render-reference",
}).init();
</script>
Your merchant ID which is of the format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Find it here. Renders the page design with dark purple or black backgroundAvailable options: indigo, black
renderToContainer
string
default:"#sezzle-banner-render-reference"
The placeholder or parent container where the banner should appear. Should be a unique .class-name or #id-name
Install as HTML
- Log in to your Shopify Admin
- Go to
Online Store > Themes
- Next to the applicable theme, click
Actions then Edit Code
- Paste the code snippet here into the
sections/header.liquid file where the banner should appear, then click Save
- Note: this is typically below the
header or sticky-header closing tag. Open the file, then search (Cmd+F or Ctrl+F) for the word “sticky-header”
Customization
- Update the wrapper element’s class name to the theme color you desire (indigo or black)
- Update the Learn More href URL to point to your own How Sezzle Works page, if applicable
From CDN
Paste the following where the banner should appear, such as below </header> and update the merchantUUID value
<script src="https://checkout-sdk.sezzle.com/sezzle-home-banner.min.js"></script>
<div id="sezzle-banner-render-reference"></div>
<script>
new SezzleBanner({
merchantUUID: "string",
theme: "string",
renderToContainer: "string",
}).init();
</script>
<script src="https://checkout-sdk.sezzle.com/sezzle-home-banner.min.js"></script>
<div id="sezzle-banner-render-reference"></div>
<script>
new SezzleBanner({
merchantUUID: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
theme: "indigo",
renderToContainer: "#sezzle-banner-render-reference",
}).init();
</script>
Your merchant ID which is of the format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Find it here. Renders the page design with dark purple or black backgroundAvailable options: indigo, black
renderToContainer
string
default:"#sezzle-banner-render-reference"
The placeholder or parent container where the banner should appear. Should be a unique .class-name or #id-name
Local File
Clone/pull down the Static-Widgets project, then run npm run build-banner
Create a new .js file and populate it with the code contents from here: static-widgets/build/sezzle-home-banner.js
Paste the following where the banner should appear, such as below </header>, then update the file path and merchantUUID value
<script src="YOUR_FILE_PATH_HERE.js"></script>
<div id="sezzle-banner-render-reference"></div>
<script>
new SezzleBanner({
merchantUUID: "string",
theme: "string",
renderToContainer: "string",
}).init();
</script>
<script src="YOUR_FILE_PATH_HERE.js"></script>
<div id="sezzle-banner-render-reference"></div>
<script>
new SezzleBanner({
merchantUUID: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
theme: "indigo",
renderToContainer: "#sezzle-banner-render-reference",
}).init();
</script>
Your merchant ID which is of the format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Find it here. Renders the page design with dark purple or black backgroundAvailable options: indigo, black
renderToContainer
string
default:"#sezzle-banner-render-reference"
The placeholder or parent container where the banner should appear. Should be a unique .class-name or #id-name
Install as HTML
Paste the code snippet here where the banner should appear, such as below </header>
Customization
- Update the wrapper element’s class name to the theme color you desire (indigo or black)
- Update the Learn More href URL to point to your own How Sezzle Works page, if applicable