.png?fit=max&auto=format&n=hKhvshWly4M3cXTJ&q=85&s=d2dd598b7780a4a1d394c7a8bcff3b1e)
Installation
Select the implementation that fits your needs:Shopify:
All Platforms:
Shopify
Install as Asset
From CDN
- Log in to your Shopify Admin
- Go to
Online Store>Themes - Next to the applicable theme, click
ActionsthenEdit Code - Paste the following snippet into the
sections/header.liquidfile where the banner should appear, update themerchantUUIDvalue, then clickSave
- Note: this is typically below the
headerorsticky-headerclosing tag. Open the file, then search (Cmd+F or Ctrl+F) for the word “sticky-header”
- Template
- Example
- Options
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
ActionsthenEdit Code - Scroll to the Assets folder, then click
Add A New Asset - Click
Create a Blank File, name the sectionsezzle-home-banner, select.jsas the file type, then clickAdd 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 clickSave. - Paste the following snippet into the
sections/header.liquidfile where the banner should appear, update themerchantUUIDvalue, then clickSave:
- Note: this is typically below the
headerorsticky-headerclosing tag. Open the file, then search (Cmd+F or Ctrl+F) for the word “sticky-header”
- Template
- Example
- Options
Install as HTML
- Log in to your Shopify Admin
- Go to
Online Store>Themes - Next to the applicable theme, click
ActionsthenEdit Code - Paste the code snippet here into the
sections/header.liquidfile where the banner should appear, then clickSave
- Note: this is typically below the
headerorsticky-headerclosing 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
Other Platforms
From CDN
Paste the following where the banner should appear, such as below</header> and update the merchantUUID value
- Template
- Example
- Options
Local File
Clone/pull down the Static-Widgets project, then runnpm 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
- Template
- Example
- Options
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