Sezzle Checkout Page Installment Widget
This asset is designed for checkout pages, to show the final installment amount and payment schedule for shoppers who select Sezzle as their payment method. The image will appear below the Sezzle payment option when selected.
Installation
npm i @sezzle/sezzle-installment-widget
import SezzleInstallmentWidget from @sezzle/sezzle-installment-widget
<script type='text/javascript'>
new SezzleInstallmentWidget({
'platform': 'shopify'
// 'checkoutTotalElemTargetPath': '.payment-due__price',
});
</script>
Options
platform
Optional
Definition: The ecommerce platform which hosts the checkout page. If not supported, please refer to checkoutTotalElemTargetPath
.
Supported Options: shopify
, woocommerce
, 3dcart
, commentsold
, magento2
, prestashop
, shopware
, opencart
Default: null
checkoutTotalElemTargetPath
Optional
Definition: The ID or class name of the element containing the total order amount. Required if platform
is null
Default: null
currency
Optional
Definition: The currency symbol to show in the price. By default, the widget will mimic the currency from the total order amount targeted element if present and fallback to $
if not provided.
Default: $