Commerce SDK
Add E-Commerce to Any Website in 30 Minutes
One JavaScript snippet transforms any website into a storefront. No rebuilds, no migration, no developers required. Your existing site stays exactly as it is — we just add the ability to sell.
How It Works
Four steps to a shoppable website
You don't need to rebuild your site. You don't need a developer. You just need one line of code.
One JavaScript Snippet
Add a single script tag to your website. That's the only code you'll ever need to write. No npm installs, no build steps, no framework requirements.
Choose Your Modules
Pick the commerce modules you need — product grid, search bar, cart/checkout, collection browser, favorites. Use one or use them all.
Customize the Styling
Match your existing brand with built-in themes for every industry, or override with your own CSS. The SDK adapts to your site, not the other way around.
You're Live
Products from your Lesuto store appear on your website. Customers browse, add to cart, and check out — all without leaving your domain.
The Snippet
One line of code. Infinite commerce.
Copy this snippet into any HTML page — WordPress theme, Wix embed, Squarespace code injection, or a plain .html file. The SDK loads asynchronously, detects your merchant channel, and renders whichever modules you've configured.
Everything is handled server-side by Lesuto's headless engine: product data, inventory, pricing, checkout, payments, tax calculation, and order routing. Your website just displays it.
The SDK is under 40KB gzipped. It loads after your page content. It won't slow your site down — it just makes it smarter.
Modules
Pick the pieces you need
Every module works independently. Use the product grid alone, or combine everything for a full embedded storefront. Mix and match based on your needs.
Product Grid
Display products from your Lesuto store in a responsive, filterable grid. Supports sorting, pagination, and category filtering. Adapts to your site's container width.
Search Bar
Full-text product search powered by Elasticsearch. Drop it anywhere on your page. Autocomplete, instant results, and keyboard navigation built in.
Cart & Checkout
A complete shopping experience — add to cart, view cart, enter shipping details, and pay via Stripe. Slide-out or embedded modes available.
Collection Browser
Let customers navigate your product collections with nested categories. Hierarchical navigation that mirrors your Lesuto catalog structure.
Favorites
Customers can save products to their favorites. Syncs with their Lesuto Hub account if they have one, or stores locally for anonymous users.
Who It's For
Any website. Any industry.
The Commerce SDK works anywhere there's a web page. You don't need to be technical. You don't need to rebuild. You just need to paste.
WordPress Sites
Paste the snippet in your theme or a custom HTML block. No plugin required.
Wix & Squarespace
Use the embed code feature to drop commerce into any page or section.
Custom Websites
Works with any HTML page — React, Vue, static sites, or plain HTML.
Blogs & Magazines
Add shoppable product grids alongside your content. Monetize without ads.
Service Businesses
Gyms, salons, studios — sell merchandise and supplies without building a store.
Real Estate Sites
Sell home decor, furniture, or staging supplies directly from property listings.
Domain Verification
Before the SDK activates on any domain, you verify ownership through your Lesuto admin dashboard. This prevents unauthorized use of your store data and ensures products only appear where you want them.
Security First
Your store, your domains
The SDK only loads product data on domains you've explicitly approved. This means nobody can take your snippet and embed your store on their site without your permission.
Verification takes under 5 minutes. You can authorize multiple domains — your main site, a landing page, a partner's blog — and manage them all from one dashboard. Need to revoke access? One click and the SDK stops responding on that domain immediately.
Styling Templates
Designed for your industry
Choose a pre-built theme that matches your industry, then customize colors, fonts, and layout to match your existing brand. No CSS knowledge required.
Furniture & Home
Rich imagery, warm tones, grid layouts optimized for large products and room settings.
Health & Wellness
Clean, clinical aesthetics with trust indicators, certifications, and supplement-friendly layouts.
Fashion & Apparel
Editorial layouts with size guides, color swatches, and lookbook-style browsing.
Pet Products
Playful, friendly design with breed filters, weight-based sizing, and subscription-ready layouts.
Consumer Packaged Goods
Compact product cards optimized for variety packs, bundles, and quick reorder.
Digital & Creative
Minimalist layouts designed for digital downloads, templates, and creative assets.
Get Your SDK Snippet
Sign up, configure your modules, and paste one line of code. Your website becomes a storefront in under 30 minutes.
Get Started Free