Adding a Buy Button to Wix

Learn how to embed a Buy button via the Wix website editor.

Olga Tereshina avatar
Written by Olga Tereshina
Updated over a week ago

After a Buy Button has been created in your X-Cart admin, you can add it to your Wix website using the Wix Website Editor.


Copy and paste several embed codes sequentially if you want to display more than one product on your Wix website. They will be displayed on the same line as long as there is enough horizontal space.


  1. Start by creating a Buy button and then copy its embed code. See details here.

  2. Find the site you want to edit in the My Sites section of your Wix account, and then click Edit Site.

  3. In the Wix Website Editor, click the + button, and then click More:

  4. Click HTML Code to add an HTML code widget to the page:

  5. Click Enter Code. On the HTML Settings dialog, paste the embed code for your Buy button in the Add your code here field and then click Update:

  6. Resize the HTML code widget to fit its contents and move to ensure the product card appears in the right place. When you’re done, click Save.


Related pages:

Did this answer your question?