Template collection

Free Ecommerce Website Templates

These free ecommerce website templates are plain HTML and CSS sites for makers, small brands and independent shops that want to sell online without starting on a monthly store plan. Each one gives a shopper what they need before paying: clear product photos, the price, the options, the shipping cost and a button that leads to a secure checkout. They are tested on phones, because that is where many shoppers browse and buy. You own the files. The payments, and as much of a cart as you need, come from a service you connect, such as Stripe, Snipcart or Shopify.

Affiliate disclosure: some links on this page earn us a commission at no cost to you. How we make money.

On this pagePick your route before you pick a design
  1. Pick your route before you pick a design
  2. Free ecommerce website templates
  3. What an ecommerce website needs
  4. How do you sell products from a static site?
  5. What a static store does not do for you
  6. Help search engines read your products
  7. How to set up an ecommerce website from a template
  8. Premium ecommerce templates worth paying for
  9. Prefer a website builder?
  10. Ecommerce templates by type
  11. Frequently asked questions

Pick your route before you pick a design

Route Cost Best for
HTML template with payment links or buy buttons Free download; free hosting on Cloudflare Pages or Netlify; domain about $10 to $15 a year; card fees on each sale Makers and small brands selling a handful of products
HTML template with a cart service such as Snipcart Free template and hosting; the cart service takes a share of sales or a monthly fee, plus card fees Shops with dozens of products, sizes or colors that want a real cart on their own site
A store platform such as Shopify Monthly plan plus card fees Shops with large catalogs, many orders, staff, or stock shared with a physical store or marketplaces

One hosting note. GitHub Pages is a free home for most of our templates, but its usage limits say you may not use it to run an online business or an e-commerce site. Host a shop on Cloudflare Pages or Netlify instead, and read their current terms before you launch.

Free ecommerce website templates

New ecommerce templates are on the way.

We release our own templates under the Zerotheme license. They are free for personal and commercial use, including shops you build for clients. We credit templates by other designers and link to their original source. Those templates come under their own license.

What an ecommerce website needs

  1. A page for every product, with several photos, the price, the options and a description that answers shoppers' questions.
  2. One clear buy button per product: "Add to cart" if you use a cart, "Buy now" if each product has its own checkout.
  3. Shipping costs and delivery times shown before checkout, not as a surprise at the end.
  4. A returns and refund policy in plain words, linked from every product page and the footer.
  5. A secure checkout run by your payment provider. Never collect card numbers in your own form. Let Stripe, Shopify or your cart service handle them.
  6. Your business details: who you are, where you ship from and how to contact you.
  7. Real reviews, quoted with the customer's permission. Never invent reviews or ratings.
  8. Legal pages: terms of sale, a privacy policy and any other notices required where you sell.

How do you sell products from a static site?

You connect a service that takes the payment, because a template has no database. The three common options are payment links, a buy button from a store platform and a cart service.

Payment links. Stripe Payment Links let you create a checkout page for a product in the Stripe Dashboard, without code. You put the link behind a "Buy now" button, or use Stripe's embed code to show a buy button on the page. A payment link can collect a shipping address and add shipping rates, let customers change the quantity and ask for extra details such as an engraving message. It can also switch itself off after a set number of sales, a simple way to sell a limited batch.

The trade-off is that each link is its own checkout. There is no shared cart, so a customer who wants two different products may have to check out twice.

A buy button from a store platform. If you want a store platform behind the scenes but your own design in front, Shopify's Buy Button adds your products to an external website. Shopify says all its subscription plans include it. You manage products, stock and orders in Shopify, and your template stays the shop window. You pay for the Shopify plan as well as card fees.

A cart service. A cart service adds a full cart and checkout to your pages with a script. Snipcart is a common example. You paste in its script. Then you turn any button into an "Add to cart" button by adding a class and a few attributes for the product's name, ID and price. Before it confirms an order, Snipcart reads your page to check that the product matches what you published. Its pricing page lists a 2% fee per transaction, replaced by a flat $20 monthly fee when sales are under $1,000 a month, plus your payment gateway's own fees.

What a static store does not do for you

A store platform does a lot of work in the background. With a template, some of that work is yours.

  • Inventory. A payment link knows nothing about stock beyond its sales limit. Cart services and store platforms can count stock, but only if the counts are right. If you also sell at markets or in a shop, decide which system holds the true number.
  • Sales tax and VAT. In the United States, the Supreme Court's 2018 decision in South Dakota v. Wayfair lets states require out-of-state sellers to collect sales tax once they pass a sales threshold. Each state sets its own rules. For sellers based in the EU, a single €10,000 threshold applies to sales to consumers in other EU countries. Above it, VAT is due in the customer's country, and the One Stop Shop lets you report it through one registration. Paid tools such as Stripe Tax can calculate tax at checkout and alert you as you near a threshold. Ask an accountant what applies to you.
  • Shipping. You set the rates. Flat rates by region are the easiest to explain on a static site. Live carrier rates, label printing and tracking come from your cart service, store platform or a shipping app, not from the template.
  • Orders and customer emails. Receipts come from your payment provider. Shipping updates, returns and exchanges are manual work unless your service handles them.
  • Price changes. On a payment-link site, a new price means editing both the page and the link.

If you spend more time keeping stock, prices and orders in sync than making and selling products, a store platform is probably worth its monthly fee.

Help search engines read your products

Add Product structured data to each product page, with an offer that gives the price, the currency and whether the item is in stock. Google's merchant listing guide sets out the details. It requires a product name, an image and a price above zero with a three-letter currency code, and it recommends shipping and return policies. Google also says these listings are for pages where a shopper can buy the product, so keep the buy button on the product page itself. Keep the price in the markup the same as on the page.

Write product titles the way people search, such as "Linen apron, cross-back, adult sizes". Write your own descriptions instead of pasting the manufacturer's text, which other shops will also use.

How to set up an ecommerce website from a template

  1. List your products with photos, prices, options and weights, and write your shipping and returns policies.
  2. Choose how you will sell: payment links, a buy button or a cart service. Set it up in test mode first if your provider offers one.
  3. Download the ZIP and open index.html in a text editor (VS Code is free).
  4. Copy the product page once for each product, then replace the text and photos. Comments in each file mark every spot to edit.
  5. Connect your buy buttons: paste in each payment link, or add your cart service's script and product attributes.
  6. Place a test order from start to finish, including the receipt email.
  7. Publish it on Cloudflare Pages or Netlify, then connect your domain. Our guide on how to customize an HTML template walks through each step.

Premium ecommerce templates worth paying for

If you want product filters, quick-view windows or cart and checkout pages already designed, these premium options are worth a look.

Each pick lists the price, what it includes and what you would still need to set up yourself.

Prefer a website builder?

If you would rather manage products, stock and orders in one place, a store builder is the simpler route. Compare the options in our guide to the best ecommerce website builder, or browse our picks of Shopify website templates. Still deciding between a ready-made design and a custom build? Read custom website design vs template.

Ecommerce templates by type

  • A clothing website template for fashion labels and boutiques, with room for sizes, colors and fit notes.
  • A subscription based website template for boxes, memberships and repeat deliveries.
  • A pet website template for pet supply shops, treat makers and pet services.
  • Furniture website templates for furniture makers, stores and showrooms.

Sending order updates or a newsletter? Pair your shop with an HTML email template. Building with utility classes? See our Tailwind templates. Or browse all free HTML templates and the full free website templates library.

Frequently asked questions

Are these ecommerce website templates really free?

Yes. Our own templates are free to download and use for personal and commercial projects, including shops you build for clients. A credit link is welcome but optional. Templates by other designers use their own license, shown on each template page.

Can I sell products with an HTML template?

Yes. Connect a payment service: payment links or buy buttons for a few products, or a cart service such as Snipcart for a full cart. Card details and payments stay with the provider, and your site stays a fast set of HTML files.

Do I need Shopify to sell online?

No. For a small range, payment links or a cart service on a template site can be enough. A store platform such as Shopify earns its monthly fee when you have a large catalog, many orders, staff or stock shared across several places you sell.

Do I have to charge sales tax or VAT on online sales?

It depends on what you sell, where you are based and where your customers live. Rules and thresholds differ between US states and between countries, so check with your tax authority or an accountant. Tools such as Stripe Tax can then calculate the tax at checkout.

Can I host an online store for free?

The site itself, yes. Cloudflare Pages and Netlify can host an HTML shop free; check their current terms. GitHub Pages does not allow e-commerce sites. You still pay for a domain, usually $10 to $15 a year, plus card fees and any cart service or store plan.

See every collection