How to add the Sellfy "Buy now" button on your site?

This brief article explains how to put the  "Buy now" button on your website. It's a code snippet that needs to be pasted where HTML and JavaScript works on your site. If you're not familiar with these terms, you should contact your site administrator about placing the button.

1. Open your Sellfy Dashboard and navigate to "Products"

2. Select the product you want to embed

3. Click "Share & Embed"

2.You can choose whether you want this button opening a modal window directly on your website, or you want the buyer to be redirected to Sellfy product page. Then you just need to copy the code from the text field and paste it into your website where you wish for it to be displayed.

3. If you want to create a custom button instead of the default Sellfy "Buy now" button, you need to customise the code you receive from our page.

You need to add a special class to your link - "sellfy-buy-button-custom". Here are examples of how your code may look like with custom class:

<a href="https://sellfy.com/p/[PRODUCT-KEY]/" id="[PRODUCT-KEY]" class="sellfy-buy-button sellfy-buy-button-custom"><img src="http://example.com/image.jpg"></a> <script type="text/javascript" src="https://sellfy.com/js/api_buttons.js"></script>

You can put any image, link, button, etc.. as your buy now button. In that way you can create the better user experience, creating button design that fits your website design.

Still need help? Contact Us Contact Us