# Add Shoprocket to a Hostinger website

> Add a shop to a site made with Hostinger Website Builder. Drag an Embed code element onto the page, paste your embed code, and update your website. Add the site-wide line under Integrations to show your cart on every page.

Help Centre / Embedding - Updated 19 November 2026

You can add a shop to a website made with Hostinger Website Builder. You make an embed in Shoprocket, then paste its code into an **Embed code** element. The cart and checkout open right on your site.

## Before you begin

- Add at least one active product in Shoprocket.
- If you can't find the **Embed code** element or the **Integrations** settings below, your Hostinger plan may not include them. 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 an Embed code element

1. In Hostinger Website Builder, open the page where the shop should go.
2. Open **Add elements** on the left and drag the **Embed code** element onto the page.
3. Click the element, then **Enter code**.
4. Paste your code and click **Embed code**.
5. Resize the element so it is big enough for your embed.
6. Click **Update website** to publish your changes.

The editor doesn't run code, so it shows an empty box. Use preview, or open your live 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. To have it on all your pages, not just the shop page, add one line to your website's settings.

1. In Shoprocket, go to **Embeds** and click **Copy** on the **Add Shoprocket to every page of your site** card.
2. In Hostinger Website Builder, open **More** (the three dots), then **Integrations**.
3. Paste the line into the **Custom code** box and save.
4. Click **Update website**, then open your site. Back in **Embeds**, the card changes from **Not seen yet** to **Connected**.

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

## If the shop doesn't appear

- **You are looking at the editor.** Hostinger doesn't run code while you edit. Use preview or open your live site.
- **You didn't update your website.** Changes reach your live site only after you click **Update website**.
- **The element is too small.** Make the Embed code element taller so the whole embed fits.

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