Website Integration · HTML

Turn plain HTML pages into a live store.

Built a fast static website? Paste two lines of HTML wherever you want products and a shopping cart to appear, without migrating to WordPress or Shopify.

Can I add a shopping cart to a plain HTML file without a backend?

Yes. Add <div data-shoprivet="your-store-slug"></div> and <script src="https://api.shoprivet.io/widget.js" async></script> to any static HTML page. Shoprivet hosts the product database, cart state, and checkout.

Practical implementation

Go live on static HTML

  1. 1

    Add products in Shoprivet

    Manage names, photos, prices, variants, and inventory in your dashboard without re-uploading HTML files for every price change.

  2. 2

    Paste the two-line snippet

    Insert the data-shoprivet container inside your HTML page and configure optional navigation or max-width attributes.

  3. 3

    Deploy to any static host

    Works on GitHub Pages, Cloudflare Pages, Netlify, Vercel, S3, or traditional cPanel servers.

Plain HTML embed

<div data-shoprivet="downtown-shop" data-shoprivet-max-width="1120px" data-shoprivet-cart-in-nav="true"></div>
<script src="https://api.shoprivet.io/widget.js" async></script>

Requirements, pricing & limits

Static site advantages & checks

No backend server needed

Static hosts serve cached HTML at maximum speed while Shoprivet handles carts, stock checks, and payments dynamically.

CSP compatibility

If you enforce a strict Content-Security-Policy header, allow https://api.shoprivet.io for scripts and fetch connections.

Custom REST option

Prefer hand-coded HTML cards? Call /public/stores/{slug} via vanilla browser fetch().

Free plan friendly

Ideal for indie sites and portfolios launching up to 25 products at $0/month.

Direct answers

Frequently asked questions

Do I need Node.js or PHP to use Shoprivet on an HTML site?
No. Plain static .html files work immediately once widget.js is included.
Do I have to edit my HTML file when product prices change?
No. Product data loads dynamically from Shoprivet when the page opens, so dashboard edits update live immediately.
Where is the HTML developer guide?
Check /docs/guides/html for widget attributes and CSP configuration.
Can I sell digital downloads on a static HTML site?
Yes. Digital files and automated 90-day download tokens work out of the box.

Start free at $0/month

Launch with 0% Shoprivet platform fees.

Create a store in minutes, embed a catalog on your existing site, or call our public Storefront and /v1 APIs.

Create your free store