# Add Shoprocket to a Wix site

> Sell from your Wix site with an Embed HTML element. Wix shows the code in a frame, so give it room for the cart. On a Premium plan with a connected domain, add one line as Custom code so the cart works on every page.

Help Centre / Embedding - Updated 19 November 2026

You can sell from your Wix site with Shoprocket. You make an embed in Shoprocket, then paste its code into an **Embed HTML** element on your page.

Wix shows anything you paste into an element inside a frame, a box with its own edges. Your shop works inside that box, but it can't reach outside it. So the box needs enough room for your shop.

## Before you begin

- Add at least one active product in Shoprocket.
- An **Embed HTML** element works on any Wix plan.
- Adding code to every page (Step 3) needs a Wix Premium plan and a connected domain.

## Step 1: Get your embed code

1. In your Shoprocket dashboard, go to **Embeds** and click **New embed**.
2. Choose what it shows and a layout, then click **Continue**.
3. Click **Save & get code**, then **Copy code**.

![The Get code panel with site builder tabs, the embed code and the Copy code button](https://shoprocket.io/img/help/embed-on-any-website/get-code.webp)

For more on the layouts you can pick, see [Embed Shoprocket on any website](https://shoprocket.io/help/embed-on-any-website.md).

## Step 2: Paste the code into an Embed HTML element

1. In the Wix Editor, click **Add Elements**, then **Embed Code**, then **Embed HTML**.
2. Click **Enter Code** on the new element.
3. Paste your code into the box and click **Update**.
4. Drag the element's edges so it is as wide as your page and tall enough for your products.
5. Click **Publish**.

The menus have different names in the newer Wix editors. Look for **Add**, then **Embed**, then **Embed code**.

Because the shop sits in a frame, the cart and checkout open inside the same box. Make the element tall, at least as tall as a phone screen, so customers can see the whole cart. Check the page on your phone after you publish, and resize the element in the mobile editor if it is cut off.

## Step 3 (Premium plans): Add Shoprocket to every page

On a Premium plan with a connected domain, you can add one line to every page. Your floating cart and live chat then show across your whole site, outside the frame.

1. In Shoprocket, go to **Embeds** and click **Copy** on the **Add Shoprocket to every page of your site** card.
2. In your Wix site's dashboard, open **Settings**, then **Custom code**.
3. Click **Add Custom Code** and paste the line.
4. Choose **All pages**, load the code once, and place it in **Head**.
5. Click **Apply**, then publish your site.
6. Open any page of your site. Back in **Embeds**, the card changes from **Not seen yet** to **Connected**.

## If the shop doesn't appear

- **The element is empty in the editor.** Wix runs the code on the published site. Publish, then open the live page.
- **The shop is cut off.** Make the Embed HTML element taller and wider, on desktop and in the mobile editor.
- **Custom code is greyed out.** It needs a Premium plan and a connected domain.

## No code allowed on your plan?

You can still sell. Share a buy link for a product from its page in Shoprocket, or send customers to [your hosted shop](https://shoprocket.io/help/your-hosted-shop.md).

## Related

- [Embed Shoprocket on any website](https://shoprocket.io/help/embed-on-any-website.md)
- [Embed one product or a category](https://shoprocket.io/help/embed-a-single-product-or-category.md)
- [Replace your old Shoprocket code](https://shoprocket.io/help/replace-old-shoprocket-code.md)

[Open Embeds in your dashboard](https://app.shoprocket.io/go/embeds)

---

- HTML version: https://shoprocket.io/help/add-shoprocket-to-wix
- Language: English (en)
- Also in: [العربية](https://shoprocket.io/ar/help/add-shoprocket-to-wix.md), [Deutsch](https://shoprocket.io/de/hilfe/shoprocket-zu-wix-hinzufuegen.md), [Ελληνικά](https://shoprocket.io/el/help/add-shoprocket-to-wix.md), [Español](https://shoprocket.io/es/ayuda/anadir-shoprocket-a-wix.md), [Français](https://shoprocket.io/fr/aide/ajouter-shoprocket-a-wix.md), [עברית](https://shoprocket.io/he/help/add-shoprocket-to-wix.md), [हिन्दी](https://shoprocket.io/hi/help/add-shoprocket-to-wix.md), [Bahasa Indonesia](https://shoprocket.io/id/bantuan/tambahkan-shoprocket-ke-wix.md), [Italiano](https://shoprocket.io/it/aiuto/aggiungere-shoprocket-a-wix.md), [日本語](https://shoprocket.io/ja/help/add-shoprocket-to-wix.md), [Lietuvių](https://shoprocket.io/lt/pagalba/shoprocket-wix-svetainei-prideti.md), [Norsk](https://shoprocket.io/nb/hjelp/legg-til-shoprocket-i-wix.md), [Nederlands](https://shoprocket.io/nl/hulp/shoprocket-toevoegen-aan-wix.md), [Polski](https://shoprocket.io/pl/pomoc/dodaj-shoprocket-do-wix.md), [Português](https://shoprocket.io/pt/ajuda/adicionar-shoprocket-ao-wix.md), [Română](https://shoprocket.io/ro/ajutor/adauga-shoprocket-pe-wix.md), [Русский](https://shoprocket.io/ru/help/add-shoprocket-to-wix.md), [ไทย](https://shoprocket.io/th/help/add-shoprocket-to-wix.md), [Türkçe](https://shoprocket.io/tr/yardim/shoprocket-wix-sitesine-ekleme.md), [中文](https://shoprocket.io/zh/help/add-shoprocket-to-wix.md)
