Add Payhip to Weebly
Embed a button on Weebly
If you want to add a button to your Weebly site, the process is a little tricky. This is because they create an iFrame (i.e. they put everything into a box). It makes adding to cart purchases not possible, but you can still do direct purchases with the following workaround.
If you’d like to add a button to your Weebly site that links to one of your products, click on Products at the top of your admin dashboard.
Find the product that you’d like the button to link to, select Share / Embed, and then go to the Embed Button tab of the modal that appears.
Here you can preview your button, customizing its text, color, and type.
For Button Type, be sure to select "Direct Purchase" as "Add to Cart" buttons won't work on Weebly.
Next, log into your Weebly site and go to Edit Site, which will take you to your editor.
From there, click Add Section > Embed Code.
Then click Done/Publish to view your site.
You can now test out your new button - clicking on it will launch the checkout modal.