Create a Purchase Button

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

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 your Flauntly website.

1
In the Foxy dashboard, go to the Sample Code page.
2
In the Sample Code page, copy the snippet of code from the Step 1 section.
3
In Flauntly, click on the "Page Settings" icon at the top of the page.
4
From the Page Settings menu, click on the "Integrations" option.
5
Paste the snippet of code you just copied into the "Footer Custom Code" section.
6
Click on the "Page Content" icon at the top of the page to go back to the page designer.
1
In Flauntly, click on the "Edit" icon for the section that contains your purchase button.
2
Go back to the Foxy Sample Code page to get a sample purchase link.
3
From the Step 2 section, copy the link example href value.
4
In Flauntly, paste the link you just copied into the "Button URL" field.
5
Modify the product parameters as needed. More information about product parameters can be found in our wiki here.
6
Click on the "Publish" icon to publish your changes.
7
Test your purchase button to ensure it works as expected.