# Add Shoprocket to a Square Online or Weebly site

> Add a shop to a Square Online site with an Embed code section, or to a Weebly site with an Embed Code element. Paste your embed code and publish. Square Online needs a Plus or Premium plan for code.

Help Centre / Embedding - Updated 19 November 2026

You can add a shop to a site made with Square Online, or with Weebly, the older builder Square also runs. You make an embed in Shoprocket, then paste its code into an embed section or element on your page. The cart and checkout open right on your site.

## Before you begin

- Add at least one active product in Shoprocket.
- Square Online allows code on a **Plus** or **Premium** plan. On the free plan, use one of the options at the end of this article instead.

## 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 your page

**On Square Online:**

1. In your Square Dashboard, go to **Channels**, then **Square Online**, then **Website**, and click **Edit site**.
2. Open the page where the shop should go.
3. Click **+Add**, then **Section**, then **Embed code**.
4. In the editing panel, select **Embed code** and paste your code.
5. Publish your site.

**On Weebly:**

1. In the Weebly editor, drag an **Embed Code** element to where the shop should go.
2. Click inside the element and choose **Edit Custom HTML**.
3. Paste your code, then click anywhere outside the element.
4. Click **Publish**.

The editor may show only an empty box instead of your shop. Open your published site to see the shop.

## Step 3 (optional, recommended): Add Shoprocket to every page

Your floating cart shows on every page that runs your Shoprocket code. On Square Online, you can add one line to every page of your site.

1. In Shoprocket, go to **Embeds** and click **Copy** on the **Add Shoprocket to every page of your site** card.
2. In your Square Dashboard, go to **Channels**, then **Square Online**, then **Settings**, then **Tracking Tools**.
3. Click **Add new code**, give it a name such as "Shoprocket", paste the line, choose to place it in the head, and click **Save**.
4. Publish your site from the editor, then open it. Back in **Embeds**, the card changes from **Not seen yet** to **Connected**.

Once the line is in place, an embed section only needs the last line of your embed code, the one starting `<div`.

## If the shop doesn't appear

- **You didn't publish.** Changes in the editor reach your live site only after you publish.
- **You are looking at the editor.** Open your published site to see the shop.
- **Your plan doesn't include code.** On Square Online, code needs a Plus or Premium plan.

## No code allowed on your plan?

You can still sell. Add a button to your site that links to a product's payment link, or to your hosted shop. See [Sell from a site that doesn't allow code](https://shoprocket.io/help/sell-from-a-site-that-doesnt-allow-code.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-square-online
- Language: English (en)
- Also in: [العربية](https://shoprocket.io/ar/help/add-shoprocket-to-square-online.md), [Deutsch](https://shoprocket.io/de/hilfe/shoprocket-zu-square-online-weebly-hinzufuegen.md), [Ελληνικά](https://shoprocket.io/el/help/add-shoprocket-to-square-online.md), [Español](https://shoprocket.io/es/ayuda/anadir-shoprocket-a-square-online-weebly.md), [Français](https://shoprocket.io/fr/aide/ajouter-shoprocket-a-square-online-weebly.md), [עברית](https://shoprocket.io/he/help/add-shoprocket-to-square-online.md), [हिन्दी](https://shoprocket.io/hi/help/add-shoprocket-to-square-online.md), [Bahasa Indonesia](https://shoprocket.io/id/bantuan/tambahkan-shoprocket-ke-square-online-weebly.md), [Italiano](https://shoprocket.io/it/aiuto/aggiungere-shoprocket-a-square-online-weebly.md), [日本語](https://shoprocket.io/ja/help/add-shoprocket-to-square-online.md), [Lietuvių](https://shoprocket.io/lt/pagalba/shoprocket-square-online-weebly.md), [Norsk](https://shoprocket.io/nb/hjelp/legg-shoprocket-til-pa-square-online-weebly.md), [Nederlands](https://shoprocket.io/nl/hulp/shoprocket-toevoegen-aan-square-online.md), [Polski](https://shoprocket.io/pl/pomoc/dodaj-shoprocket-do-square-online.md), [Português](https://shoprocket.io/pt/ajuda/adicionar-shoprocket-ao-square-online.md), [Română](https://shoprocket.io/ro/ajutor/adauga-shoprocket-pe-square-online.md), [Русский](https://shoprocket.io/ru/help/add-shoprocket-to-square-online.md), [ไทย](https://shoprocket.io/th/help/add-shoprocket-to-square-online.md), [Türkçe](https://shoprocket.io/tr/yardim/shoprocket-square-online-weebly-sitesine-ekleme.md), [中文](https://shoprocket.io/zh/help/add-shoprocket-to-square-online.md)
