In contrast to using the hosted checkout link, you can leverage the checkout overlay. In short — it's a modal or pop-up that you can place on any website. Whether you're using WordPress, Webflow, Wix, etc. you can easily add your products.
You can also toggle on and off features from:
- Store logo
- Product media
- Product description
- 'Name' field
- Discount code
- Dark mode
Copy and paste the HTML embed code to add a "Buy" link to your web page. Style the link however you wish.
Use with JS Frameworks
lemon.js file in your HTML. When this script is loaded, it automatically initialises itself to listen for
lemon.js initialisation might happen before your component has been rendered.
In these cases, you should manually call the
window.createLemonSqueezy(); method after the component has mounted. You can call this method as many times as is required.