Back to help home
Embed a product on a website
Last updated about 4 years ago

Embedding products in your website is very simple.

Start off by adding the following script tag before the end of </head> in your markup.

<script src=""></script>

Then get your product ID link by navigating to Products and selecting the ID that appears under your product title. Insert this markup with your product id where it states and replace the text of the button to what best suites your site.

<button data-selly-product="your-product-id">Button Text</button>

You should now be able to click your button and a product page modal will appear.

Selly's embed script attaches to a regular <button> element meaning you can style it as you please.