# Add Shoprocket to a Webflow site

> Sell from your Webflow site with a Code Embed element. Paste your embed code, save, and publish. Add one line to your site's head code so the cart works on every page. Custom code needs a paid site plan.

Help Centre / Embedding - Updated 19 November 2026

You can sell from your Webflow site with Shoprocket. You make an embed in Shoprocket, then paste its code into a **Code Embed** element. The cart and checkout open on your own site.

## Before you begin

- Add at least one active product in Shoprocket.
- Custom code in Webflow needs a paid site plan, or a paid Workspace plan. Without one, the code won't run on your site.

## 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 a Code Embed element

1. In the Webflow Designer, open the **Add** panel.
2. Drag a **Code Embed** element to where the shop should go.
3. Paste your code into the code editor and click **Save & Close**.
4. Click **Publish** and publish to your domain or your `webflow.io` address.

The Designer shows a placeholder instead of your shop, because it does not run the code while you design. Open the published site to see the shop.

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

Your floating cart and live chat only show on pages that load Shoprocket. One line in your site's head code loads it on every page.

1. In **Embeds**, click **Copy** on the **Add Shoprocket to every page of your site** card.
2. In Webflow, open **Site settings**, then **Custom code**.
3. Paste the line into the **Head code** box and click **Save**.
4. Publish your site.
5. Open any page of your site. Back in **Embeds**, the card changes from **Not seen yet** to **Connected**.

Once the line is in your head code, paste only the last line of your embed code on each page, the one starting `<div`.

## If the shop doesn't appear

- **You haven't published.** Changes to code only reach your site when you publish.
- **You are looking at the Designer or the preview.** Open the published page in a new tab instead.
- **Your site is on the free plan.** Custom code needs a paid site plan. Upgrade your plan, or use one of the options below.

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