You can embed your entire online store, widgets, single product cards, or Buy buttons to any existing website or blog in minutes. You’ll just need to copy and paste the store code to your website page, and customers will be able to start purchasing right on your website. It's as simple as copy and paste.
Adding an entire store to an existing website
You can add your entire online store to another website as long as you can add custom code to that site. There may be an HTML, source tab, or a special block or setting where you can add your store code.
Here are the general instructions on how to add an online store to a website:
- From your store admin panel, go to Sales channels → Overview.
- Scroll to the "Sell on your website" section and click Learn more next to the "Custom website" section.
- Click Copy code to Clipboard. This is the ready-made code for your store.
- Go to your website editor and open the page where you want to display the store.
- Paste the code to the source code for that page. There may be an HTML, source tab, or a separate button to add code — this will vary depending on the website. If you are not sure how to add custom code to your website, please contact your website developer for more detailed instructions.
- Save and publish the changes.
After publishing, your store will appear on the website. Your customers can start placing orders, and you can start processing them.
Adding a category of products to an existing website
You can also add just a certain category of products to your website. This way you can show different products on different website pages or even on different websites. All of the orders will appear in your store admin panel or in your mobile apps for iOS or Android.
To show products from a certain category on your website:
- Copy this code:
- Replace STOREID in the code with your store ID. You can copy it from the bottom of your store admin panel.
- Replace CATEGORYID in the code with the ID of the category that you want to add to the website. To find the category ID, go to your store admin panel and open the category you want to put on the website. Then copy the ID from the browser address bar. You will see numbers following “id=” — this is the product or category ID.
- Add the updated code to the source code of your site page, save the changes and check the result.
That's it. Now the category specified in the integration code will appear on your site. Repeat the above steps for other categories or to add a category to different site pages.
Adding Buy buttons / single product cards to an existing website
You can also sell products directly anywhere on your site by using Buy buttons. You can add products to your blog page, sidebar, or any other place on your site. Customers will be able to place orders directly by clicking on the Buy button.
To add products individually, you will need to copy the desired product’s code and paste it to the website page where you want to show the product.
To add a single product to a website page:
- From your store admin, go to the Overview page.
- Scroll down to the Buy buttons card, then click Get Started and follow the wizard.
- Use the search bar to pick a product you’d like to embed.
- Customize the Buy button’s layout and set up appearance. As you customize the button, you can preview your changes.
- Click Generate code.
- Click Copy code.
- Now log into your website backend and open the page where you want to display the Buy button.
- Paste the integration code to a page. Depending on your website, that may be an HTML or source tab or a separate button to add codes. If you are not sure how to add custom codes to your website, please contact your website developer for more detailed instructions.
- Save and publish the page.
And you're done! A beautiful product card or a Buy button is ready for your customers.