An open API service indexing awesome lists of open source software.

https://github.com/sandeepkumar-s-18/shoppykart-template

πŸ›οΈ A simple e-commerce website with product display, cart management, and checkout functionality using HTML, CSS, and JavaScript.
https://github.com/sandeepkumar-s-18/shoppykart-template

css3 custom-elements e-commerce-website google-map html5 js localstorage sweetalert video

Last synced: about 2 months ago
JSON representation

πŸ›οΈ A simple e-commerce website with product display, cart management, and checkout functionality using HTML, CSS, and JavaScript.

Awesome Lists containing this project

README

          

# E-Commerce Web Application

Welcome to the **ShoppyKart Website** – a seamless and dynamic platform where users can browse through products, add them to their cart, and enjoy a fully functional shopping experience, all built using modern web technologies: **HTML**, **CSS**, and **JavaScript**.

---

## πŸ“Έ Preview
### πŸ›οΈ **Page Preview**
[![Page preview](Images/page_preview.jpg)](https://sandeepku-s.github.io/ShoppyKart-template/)
### πŸ›’ **Cart Page Window**
![Cart page window](Images/cart.png)
### πŸ’³ **Checkout Window Notification**
![Checkout window](Images/checkout.png)
### 🏷️ **Product Information Window**
![Product information window](Images/product_information.png)
### πŸŽ₯ **Video Window**
![Video window](Images/display_video.png)
### πŸ—ΊοΈ **Map Window**
![Map window](Images/map.png)
### βž• **Add the Product Window**
![Add the Product window](Images/add_product.png)

---

## πŸ›  **Features**

- **Product Catalog**: Users can view and explore a variety of products with detailed images, ratings, and descriptions.
- **Interactive Cart**: Add products to your cart and view the total price dynamically.
- **Dark/Light Theme Toggle**: Enhance the browsing experience by switching between light and dark themes.
- **Zoom-in Product Images**: Hover over product images to zoom in for more details.

---

## πŸ’» **Tech Stack**

- **HTML**: Semantic structure for the web pages.
- **CSS**: Styling and layout using custom fonts, grids, and flexbox.
- **JavaScript**: Core interactivity, including product management, cart operations, and UI functionality.
- **LocalStorage**: Data persistence for cart items and product listings, ensuring data is not lost across sessions.
- **External Libraries**:
- [Font Awesome](https://fontawesome.com/): For the history button icon.
- [SweetAlert](https://sweetalert.js.org/): For error alerts (e.g., division by zero).

---

## πŸ‘¨β€πŸ’» Installation

1. Clone this repository:
```bash
git clone https://github.com/sandeepku-s/ShoppyKart-template.git
```
2. Navigate to the project directory:
```bash
cd ShoppyKart-template
```
3. Open `index.html` in your web browser to use the ShoppyKart-template.

---

## πŸ›οΈ Usage

### πŸ–₯️ **User Interface**

1. **Product Display**:
- Products are displayed on the main page in a grid layout.
- Each product shows the image, name, rating, original price, and discounted price.

2. **Product Details**:
- Clicking on a product name or image opens a detailed view of the product with additional information like rating, price, and description.

3. **Add to Cart**:
- Users can add products to the cart directly from the main product display.
- The cart icon in the header shows the current count of products in the cart.

4. **Cart Management**:
- View cart by clicking the cart icon in the header.
- The cart dynamically updates with the total price.

### πŸ’³ **Checkout Process**

- Once the user is ready to purchase, they can view the total cart amount and proceed with checkout.
- The project uses a simple SweetAlert confirmation upon successful checkout.

---

## πŸ“‚ Project Structure

Here is an overview of the project structure:

```bash
ShoppyKart-template/
β”œβ”€β”€ index.html # The main HTML file with the product listing and cart structure
β”œβ”€β”€ CSS/
β”‚ β”œβ”€β”€ Style.css # The main stylesheet for page layouts and UI
β”‚ └── Font.css # Additional styles related to custom fonts
β”œβ”€β”€ Fonts/
β”‚ └── font_templates # Custom fonts and templates used in the app
β”œβ”€β”€ Images/
β”‚ β”œβ”€β”€ product_1.jpg # Example product image
β”‚ β”œβ”€β”€ product_2.jpg # Another example image
β”‚ └── ............. # All Images
└── Script.js # JavaScript logic for managing products, cart, and UI behavior
```

---

## πŸš€ Deployment

This project can be deployed easily using platforms like [GitHub Pages](https://pages.github.com/). To preview the live version, visit:

---

### πŸš€ **Live Demo**
You can preview the live demo of the application by following this link:
[Demo Link](https://sandeepku-s.github.io/ShoppyKart-template/)

---