A modern, lightweight eCommerce website template built using plain HTML, CSS, and JavaScript.
No frameworks. No build tools. No dependencies.
Designed to be beginner-friendly, easy to customize, and simple to understand.
- 📦 Product catalog powered by a single
items.jsonfile - 🧭 Category pages (Men, Women, Electronics)
- ⭐ Featured items mini carousel
- 🛍️ Quantity-based shopping cart (saved in localStorage)
- 🔔 Toast notifications when items are added to cart
- 📱 Fully responsive layout (mobile + desktop)
- 🧠 Beginner-friendly “How to Edit Products” help section
- 🎨 Clean, modern UI with subtle animations
- ⚖️ MIT Licensed
/
├── index.html
├── pages/
│ ├── men.html
│ ├── women.html
│ ├── electronic.html
│ ├── cart.html
│ ├── about.html
│ └── contact.html
├── css/
│ ├── style.css
│ ├── cart.css
│ └── contact.css
├── js/
│ ├── main.js
│ ├── cart.js
│ └── animations.js
├── data/
│ └── items.json
└── images/
├── men/
├── women/
└── electronics/
All products live inside:
/data/items.json
Each product looks like this:
{
"id": 1,
"name": "Men's Black Jacket",
"price": 59.99,
"image": "men/mens_jacket.jpg",
"category": "men",
"featured": true
}- id → Must be unique (no duplicates)
- name → Product name shown on the site
- price → Number only (no
$sign) - image → Path inside the
/imagesfolder - category →
men,women, orelectronics - featured →
trueshows in the Featured Picks carousel
To control what shows in the Featured Picks carousel:
"featured": trueSet it to false to hide the item from the carousel.
The About page automatically explains this for non-technical users.
- Items added to cart are stored in localStorage
- Quantity buttons allow increment/decrement
- Cart persists on refresh
- Demo checkout clears the cart
(No payment gateway included by default.)
Open index.html directly in your browser.
Some browsers block local JSON loading. Use a local server:
python -m http.serverThen open:
http://127.0.0.1:8000
- Checkout is demo-only
- All products and images are placeholders
- No backend required
- Beginners learning HTML / CSS / JavaScript
- Developers wanting a clean starter template
- Portfolio projects
- Demos or mock storefronts
- Anyone who wants no framework overhead
MIT License
© Thomas Davis, 2026
You are free to use, modify, and distribute this project.
Built with:
- HTML5
- CSS3
- Vanilla JavaScript
- Animate.css
No frameworks. No bundlers. No nonsense.
