How Sezzle Works is a dedicated page that merchants can add to their website to further promote Sezzle. Follow the below instructions to implement.
Note: Whenever the below instructions are updated, make sure to update the merchants docs as well
To set up the page on Shopify, follow the steps below.
- Log in to your Shopify Store
- Navigate to "Online Store" "Themes"
- On the theme you want to edit, select "Actions" and then "Edit Code"
- Under the "Templates" folder, click "Add New Template", select template for "Page", template type "liquid", and name the page "Sezzle", then click Create Template
- Select the theme that best fits your store from the tabs listed.
- Copy the code and paste it under {{page.content}} on the Shopify page.
- Save
- Navigate to "Pages"
- Add a new page, and give it a title - we recommend something like "How Sezzle Works" or "How to use Sezzle"
- Under "Theme Template" (in the bottom-right), select "sezzle"
- Save and view the page
You can now add the page to your navigation:
- Go to "Online Store" "Navigation"
- Select the menu where you would like the Sezzle link to appear (ex: Main menu)
- Click "Add menu item"
- Enter the text you wish to appear (ex: How Sezzle Works)
- Click the second box, select "Pages" then the page you just created
- Click Add
- Click Save Menu
To set up the page on any other platform, please work with your web developer and/or follow the steps below.
- Create a new page in your theme
- Copy and paste the code into your website's page
- Click save and/or publish!
Add your merchant_uuid
, adjust theme
and language
as per your website's requirements.
merchant_uuid
is your merchant ID which is of the format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxtheme
can either belight
ordark
.language
can either been
,fr
ores
.
Insert the following code into your HTML file:
<div id="how-sezzle-works"></div>
<script>
const config = {
merchant_uuid: "",
theme: "",
language: ""
}
const node = document.getElementById("how-sezzle-works");
const iframe = document.createElement('iframe');
iframe.src = 'https://media.sezzle.com/how-sezzle-works/v2/index.html';
iframe.height = '2000px';
iframe.width = '100%';
iframe.style.border = 'none';
iframe.onload = function () {
iframe.contentWindow.postMessage({
key: "about_sezzle_config",
...config
}, "*")
};
node.appendChild(iframe);
</script>