Documentation
Voltix — Electronics Store Template
Version 1.0.0 · Bootstrap 5 · 15 files · 146 KB
Getting started
- Unzip the download and open index.html in a browser. No build step is needed.
- Bootstrap is bundled in assets/vendor/bootstrap/. Theme overrides and custom components live in assets/css/style.css, loaded after Bootstrap.
- Adjust the CSS variables at the top of assets/css/style.css to re-theme the template.
- Replace the artwork in assets/images/ with your own images.
- Upload the whole folder to any static host.
File structure
The download contains these 15 files:
- LICENSE.txt1.8 KB
- README.md2.9 KB
- assets/css/style.css29 KB
- assets/fonts/rubik-LICENSE.txt4.4 KB
- assets/fonts/rubik-latin-wght-normal.woff235 KB
- assets/images/favicon.svg177 B
- assets/js/main.js29 KB
- assets/vendor/bootstrap/LICENSE.txt1.1 KB
- assets/vendor/bootstrap/css/bootstrap.min.css227 KB
- assets/vendor/bootstrap/js/bootstrap.bundle.min.js79 KB
- category.html81 KB
- documentation/index.html13 KB
- documentation/licenses/lucide-LICENSE.txt3.1 KB
- index.html107 KB
- product.html53 KB
Colours
These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.
--navy-950#070d1f--navy-900#0b132b--navy-800#121c3d--navy-700#1c2a55--cyan#00d1ff--cyan-deep#00718f--ink#0b132b--muted#4a5776--line#dde4f0--surface#ffffff--page#f2f5fb--good#0f8a5f--warn#c2410c--bs-primary#00d1ff--bs-focus-ring-colorrgba(0, 209, 255, 0.4)
Interactive features
Products
Edit the PRODUCTS array at the top of assets/js/main.js (name, price, stock, options, colours, specs). The product page and cart read from it; the cards in index.html and category.html are static HTML, so duplicate a card and change its data-id and data-add values.
Cart
The basket is saved to localStorage (with an in-memory fallback). Change FREE_SHIPPING in main.js to move the free-shipping threshold. Replace the checkout button handler with a link to your real checkout.
Shop filters and compare
Filters read the data in PRODUCTS. Add a brand by adding a checkbox with name="brand" and the brand name as its value. Links such as category.html?group=audio pre-select a category.
Deal countdown
The timer counts to local midnight each day. Change the end time inside initCountdown() in main.js to count to a fixed date.
Customisation notes
Rebrand the accent
Change --cyan and the navy tokens at the top of assets/css/style.css; Bootstrap variables are mapped to them in the same block.
Product artwork
Each product is an SVG symbol defined in the sprite at the top of every page (id art-phone, art-laptop and so on). Edit the symbol shapes or swap in a product photo inside .art; the accent hue is set by the hue-1 to hue-6 classes.
Mega menu
The Shop dropdown is a Bootstrap dropdown with a full-width panel at 992px and up. Add a column by copying one of the col-lg-2 blocks.
What is front-end only
This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.
- Checkout is a demonstration: the button shows a notice and no payment or order is created.
- The cart is stored only in the visitor's browser.
- Search and filters run on the bundled demo catalogue in main.js.
- Prices, stock levels, ratings and brands are fictional.
Bundled components and licences
Everything the template needs is inside the download; nothing is loaded from the network.
- Rubik typeface — OFL-1.1 (
assets/fonts/rubik-LICENSE.txt) - Bootstrap 5.3.9 — MIT (
assets/vendor/bootstrap/LICENSE.txt) - Lucide icons (inlined SVG) — ISC (
documentation/licenses/lucide-LICENSE.txt)
Changelog
Version 1.0.0 · Nov 23, 2026
- Initial release.