Create a Purchase Button

In this article we'll show you how to use ClickFunnels' button element to create a Foxy purchase button.

In this article

Add Foxy Code Snippet

To display the sidecart when a customer adds a product to cart and to store customer sessions, Foxy's code snippet must be added to the footer of your ClickFunnels website.

1
In the Foxy dashboard, go to the Sample Code page.
2
On the Sample Code page, copy the snippet of code from Step 1.
3
In ClickFunnels, click on the "Settings" option.
4
Click on the "Tracking Code" option.
5
In the popup window, choose the "Footer Code" tab.
6
Paste the snippet of code.
7
Close the popup window.
1
Select your add to cart button to load the button settings panel.
2
Click the "Set Action" option.
3
Go back to the Foxy Sample Code page to get a sample purchase link.
4
From the Step 2 section, copy the link example href value.
5
In ClickFunnels, paste the copied link into the "Website URL" field.
6
Modify the product parameters as needed. More information about product parameters can be found in our wiki here.
7
Click outside of the button settings panel to close it.
8
Save changes.