After adding a product to Lemon Squeezy, it can easily be added to any WordPress post, page, or custom post-type by using the built-in Lemon Squeezy block. To add a checkout button using the WordPress block editor:
- Add a new block and search for “Lemon Squeezy”
- Once the block has been added, select the product you would like to sell from the dropdown
- Add some button text (e.g. “Buy now”)
- Toggle “Use checkout overlay” if you would like to use the checkout overlay (opens in a modal instead of redirecting to the checkout)
Note: The regular WordPress button block can also be used as a Lemon Squeezy checkout button via the “Lemon Squeezy” section in the block settings.