Project Overview
Swiftcart is a versatile e-commerce HTML template featuring multiple pages including homepage, product details, shopping cart, checkout, blog, and more. It supports dark mode and RTL layout variants, making it suitable for quickly building e-commerce websites or landing pages.
Tech Stack
- HTML5 + CSS3 (with SCSS source)
- Bootstrap 5
- jQuery
- FontAwesome + Custom icon font (swiftcart-icons)
- Owl Carousel
- Third-party plugins: Nice Select, MeanMenu, GLightbox, etc.
- PHP (contact form email sending)
Project Structure
text
swiftcart-html/
├── index.html
├── shop.html
├── product-details.html
├── cart.html
├── checkout.html
├── contact.html
├── blog-grid.html
├── about.html
├── 404.html
└── assets/
├── css/
│ ├── swiftcart.css
│ ├── swiftcart-dark.css
│ └── swiftcart-rtl.css
├── js/
│ └── swiftcart.js
├── inc/
│ └── sendemail.php
├── sass/
│ └── swiftcart.scss
└── vendors/ # Third-party libraries like Bootstrap, jQuery
Key File Descriptions
index.html— Homepage with complete modules including navigation, search, carousel, product categoriesassets/css/swiftcart.css— Main stylesheet defining all page layouts and component stylesassets/css/swiftcart-dark.css— Dark theme variant, switchable via toggle functionalityassets/css/swiftcart-rtl.css— RTL layout support (for right-to-left languages like Arabic)assets/js/swiftcart.js— Page interaction logic (navigation, carousel, forms, etc.)assets/inc/sendemail.php— Contact form email sending script for handling visitor messages
Quick Start
- Open
swiftcart-html/index.htmldirectly in a browser to preview - To run with a local server, execute:
bash
cd swiftcart-html python -m http.server 8080 - The contact form requires deployment to a PHP-enabled server, and you need to modify the recipient email address in
sendemail.php
Usage Recommendations
- Customize colors and layout using the SCSS source by modifying
swiftcart.scssand recompiling - Dark/light mode switching is implemented via the
data-skinattribute, suitable for landing page A/B testing scenarios - The template does not include backend logic; complete e-commerce functionality requires integrating your own database and payment API
