Every HTML template is free to download and use on unlimited sites. See how pricing works
ThemeVault

Free Ecommerce Website Templates (HTML): What the Cart Really Does, and How to Take Payments

Web DevelopmentDesignNovember 17, 202611 min read
Free Ecommerce Website Templates (HTML): What the Cart Really Does, and How to Take Payments

Search for a free ecommerce website template and you’ll find hundreds of good-looking shop designs: product grids, a cart icon with a little number on it, a checkout page with neat form fields. What the download pages rarely tell you is what happens when someone actually presses “Place order”. With a plain HTML template, the honest answer is: nothing reaches you, unless you connect something that takes the money.

That isn’t a reason to skip HTML shop templates. It’s a reason to choose one knowing which part it gives you (the shop front) and which part you add (the till). We rebuilt all seventeen templates in our Ecommerce category this year, and I spent an afternoon testing three of them in a browser the way a customer would: picking a size, filling the cart, going through checkout. This post shows what I found, which template suits which kind of shop, and five realistic ways to start taking payments, from a no-code payment link to a full cart service.

What you get in a free HTML shop template

An HTML ecommerce template is a set of static pages: HTML for the structure, CSS for the look, and a little JavaScript for the parts that move. Ours run on any web host, because there’s no database and no server code to install.

Every template in our Ecommerce category is on version 2.0 and built on Bootstrap 5. When I went through the downloads, every one had the pages a shop needs:

  • a home page with featured products and offers
  • a product listing (grid, and in most of them a list view, with sorting and filters)
  • a product page with a photo gallery, options and quantity
  • a cart and a checkout
  • login, register and account pages

Most also have a wishlist, an order confirmation page, a contact page and help pages for delivery and returns. Many come with ready-made HTML emails too: an order confirmation, a welcome email, a password reset. Those are designed for you to send from your own system, which matters in a minute.

What the cart really does: I tested it

I started with WearTrend, a fashion template whose 2.0 changelog promises “a working shop on every page”. It delivers on that. On the home page I tapped a size on a product card and the item went straight into the bag. The bag panel in the header, the cart page and the checkout all read the same list, so the numbers agree everywhere.

WearTrend's cart page with two items, a size on each line, quantity buttons, a Remove link and an order summary showing free delivery and a total of $198.00
WearTrend’s cart after a couple of taps: sizes, quantities, a free-delivery bar and a total that adds up.

The cart page let me change quantities and remove a line, and showed a free-delivery bar, a box for a discount code and a shipping estimate. One small thing to know: the bag starts with a demo item already in it, so a buyer opening the demo sees a cart that looks used. You’ll want to clear that before you go live.

Then checkout. When I pressed the order button with the form empty, it stopped me and highlighted twelve fields. When I filled in the ten required ones (name, email, phone, address, city, postcode, country, region and the terms box), it took me to an order confirmation page: “Order WT-900316 is confirmed”, with my test name, a delivery estimate and the order summary.

WearTrend's order confirmation page: Thank you for your order, Order WT-900316 is confirmed, delivery address, estimated delivery of 2 to 4 working days and an order summary
The confirmation page looks finished. On a static site, though, no order has gone anywhere yet.

Here is the part that matters. The page says a receipt has been emailed. Nothing was emailed, and nothing was charged. The bag and the “last order” live in my own browser’s storage (localStorage), which is why the cart survives a page refresh. No one else can see them, and the shop owner has no idea the order happened.

That’s not a fault in WearTrend. It’s what every static template is: a complete, clickable shop front that shows a customer exactly how buying will feel. Turning it into a shop that sells means connecting the buttons to a payment service, which is the second half of this post.

The templates, by kind of shop

All seventeen are free to download and use for your own site or a client’s. Here are the ones I’d look at first for each kind of store. Before including a template, I checked its actual download for leftover placeholder text; a few still have some in places, so they’re left out of this list until we’ve fixed them.

Clothing and fashion

WearTrend is the most complete. It carries two full designs in one download, “Shop Floor” (white and mint, a wide search bar, prices and sizes always visible on the cards) and “Shop the Look” (warm off-white and black, with runway photos you can tap to shop each garment). A small View control switches between them, and you keep one by deleting a single script line. The product listing filters and sorts without reloading the page.

Stylinto went the editorial way: serif headlines on warm paper, arch-framed photos and a terracotta newsletter band. Version 2.0 added nine pages (order confirmation, account, wishlist, size guide, help and FAQ among them) and six HTML emails. Its filter sidebar becomes a slide-out drawer on phones, which is how shoppers expect filters to behave there.

FerryStyle and StyleWay are the more classic store layouts. FerryStyle’s version 2.0 added fifteen pages, among them checkout, an order confirmation, a wish list, an account area and pages for special offers and brands, plus six ready-made HTML emails, and its cart and mini cart now agree on the total. StyleWay added ten, including a size guide, a wish list, an account area and an order confirmation, with six emails of its own and cart and checkout totals that add up.

Watches

Timecenter is built for watches: a quiet petrol-and-brass look, a quick-view popup on every product card, hover zoom on the product page, and live world clocks for five cities in the footer. Its checkout keeps all six steps of a traditional store checkout, with a sticky order summary beside them.

Timecenter's checkout page with Step 1 Checkout Options (register or guest checkout), a returning customer login and an order summary of two watches totalling $610.00
Timecenter’s checkout: six steps, guest or account, with the order summary always in view.

Auto parts

Rawstuf does something parts shops genuinely need: a fitment finder. You pick a year, then a make, then a model. For 2023 I got BMW, Ford, Honda, Toyota and Volkswagen, and BMW offered the 1 Series, 3 Series, 5 Series and X3. The car is saved to “My garage”, and each product carries fitment data, with a filter that shows only parts that fit. The vehicle list sits in its own JavaScript file, so you can swap in your own makes and models without touching the pages.

Rawstuf's home page: Parts that fit, checked before you pay, a licence plate search and a year, make and model finder set to 2023, BMW, 1 Series, with a Save to my garage button
Rawstuf’s vehicle finder: year, make, model, then “Save to my garage”.

Carestorer is the more visual parts store. Its hero slides draw a brake, suspension or electrics assembly apart, with a price tag on each part, and the product page has price breaks for buying in quantity, part options and a specification table.

Pharmacy and health

Medistore is the most downloaded template in the whole category, with more than 1,700 downloads. It has category pages organised by need, a product page with the strength and pack size in the name, and a six-step checkout that checks its fields before it lets an order through. This month it also gained the pages a pharmacy is judged on: About, Guarantee, Shipping & Payment, Privacy, Terms and a Contact page with a form.

You can see all seventeen on the Ecommerce templates page.

Five ways to start taking payments

So you have a shop front. Here are the realistic ways to connect it to money, from least work to most. I’ve kept to what each provider says on its own pages.

1. Stripe Payment Links: the simplest start

Stripe describes Payment Links as a way to “accept payments online without writing code”. You create a link for a product in the Stripe dashboard and paste it behind your template’s Buy button. The customer pays on a Stripe-hosted page that offers more than 40 payment methods, can change the quantity, and gets an automatic receipt. Stripe can also turn a link into an embeddable buy button, add shipping rates and accept promotion codes.

What you give up: the template’s own cart. The products and prices live in Stripe, behind each link, not in the template’s bag. That suits a shop with a handful of products, a pre-order or a single bestseller. For twenty products with sizes, keep reading.

2. Razorpay Payment Button, if you sell in India

For shops in India, Razorpay’s Payment Button works in a similar way. Razorpay says it “provides a single line of code that you can embed on your website or blog”, and you design the button and its payment form in their dashboard. Like a payment link, it replaces the cart rather than using it, so it fits small catalogues best.

3. Snipcart: keep your cart, add the checkout

Snipcart is the closest fit for a template like WearTrend, because it’s designed to sit on top of an existing HTML site. You paste their snippet into your pages after the opening <body> tag, and turn each Add to cart button into a Snipcart button by giving it the class snipcart-add-item and three attributes: data-item-id, data-item-name and data-item-price. Snipcart’s crawler then checks each order against your page, so nobody can change a price in their browser and pay less.

The cost, from their pricing page: 2% per transaction plus the payment gateway’s fees, and if your monthly sales are under $1,000, a $20 monthly fee instead of the 2%. The trade-off is that Snipcart brings its own cart panel, so you’d either use theirs or restyle it to match the template, and remove the template’s localStorage cart so there aren’t two.

4. Ecwid or the Shopify Buy Button: a store inside your site

If you want stock levels, order management and customer emails handled for you, embed a hosted store. Ecwid’s pricing page offers exactly this, “Adding an Ecwid store to an existing website built on WordPress, Wix, Squarespace, or any other platform”, and its Starter plan is $5 a month for up to 10 products. Shopify’s Buy Button does something similar: “Buy Buttons help you add your products to your external website and blog posts”, and Shopify says the Buy Button sales channel is included in all its subscription plans.

Your template still provides the design around it: the home page, the brand story, the help pages. The product listing and checkout come from the service.

5. A real backend, when you’ve outgrown all of the above

PayPal’s developer documentation pairs the button on your page with a server-side part that creates the order (their Orders API). That’s typical of full integrations: someone writes a bit of server code, and from then on you can do whatever you like. If you’re going that far, it’s worth asking whether a platform would be simpler.

When an HTML shop template is the wrong choice

A static template plus a payment link is a great way to sell a few things quickly and cheaply. It’s the wrong tool when you need:

  • stock that updates itself, so you don’t sell the last pair twice
  • customer accounts with real order history; the template’s account page is a design, not a database
  • emails that send automatically when an order arrives or ships
  • hundreds of products that someone other than a developer will edit every week

Then you want a platform such as WooCommerce or Shopify. You don’t have to throw the design away, though. A designer can carry the look over, and our post on turning an HTML template into a WordPress theme explains what that involves and when it’s worth it.

Making a template yours before launch

Whichever route you choose, this is the list I’d work through:

  1. Clear the demo data. Empty the starter bag (in WearTrend it’s a seed list in js/main.js), and replace the sample products, prices and order numbers.
  2. Use your own photos. Product photos sell more than any layout, and the downloads ship with blurred placeholder photos, so you’ll be replacing them anyway.
  3. Fill in the policy pages. Delivery, returns, privacy and terms. Several of these templates already have the pages; they need your real rules.
  4. Connect the forms. Contact, newsletter and checkout forms validate and show a success message, but they post nowhere until you give them an address (a form service, your payment provider or your own server).
  5. Change the confirmation text. If no email goes out, don’t promise one. Say what really happens next.
  6. Keep or remove the credit. The licence lets you use the templates free on your own or a client’s site with the small ThemeVault credit in the footer. You can pay a one-off fee on the template page to remove it.

Three questions to pick the right one

How many products? Under ten: any template plus Stripe Payment Links, Razorpay or Ecwid’s Starter plan. Dozens with sizes or options: a template plus Snipcart, or a platform.

What does your customer need to decide? Clothes need sizes and good photos (WearTrend, Stylinto). Car parts need fitment (Rawstuf). Watches need detail and trust (Timecenter’s hover zoom and quick view). Medicines need clear names and a pharmacy’s policy pages (Medistore). Pick the template that already handles your product’s hardest question.

Who will update it? If it’s you, once a month, static HTML is fine. If it’s a shop assistant every day, choose a platform from the start.

Frequently asked questions

Can a free HTML template take real payments?

Not on its own. The cart and checkout pages show the buying experience, but payment needs a service such as Stripe Payment Links, Razorpay, Snipcart, Ecwid or Shopify’s Buy Button connected to your buttons.

Do these templates need a database or PHP?

No. They are HTML, CSS and JavaScript and run on any web host, including the cheapest shared hosting.

Is the cart in the template real?

It works in the visitor’s browser: in WearTrend, items, quantities and totals all update, and the cart survives a refresh. It isn’t shared with you, so no order reaches the shop until you connect a payment or cart service.

Can I use these templates for a client?

Yes. You can use and change them for your own site or a client’s, keeping the footer credit or paying to remove it. You can’t resell the template itself.

Which template is best for an online clothing store?

WearTrend if you want the most working shop features and two designs to choose from; Stylinto for a more editorial look; FerryStyle or StyleWay for a classic store layout.

Found this useful? Share it
ThemeVault teamWe build and rebuild the templates on ThemeVault, and check every live demo before we write about it.
Keep reading

More from the blog

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.