Skip to content

ashwin-maurya/Ecommerce-Store-in-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

E-commerce Store

This is a simple PHP e-commerce store built using XAMPP, MySQL, HTML, and CSS.

Table of Contents

Features

  • Product listing and browsing.
  • User registration and authentication.
  • Shopping cart functionality.
  • Checkout process.
  • Order management for admin.
  • Product search functionality.
  • User account management.

Requirements

Before you begin, ensure you have met the following requirements:

  • XAMPP: Download and install XAMPP from here.
  • MySQL Database: Set up a MySQL database in XAMPP to store product, user, and order information.
  • Web Browser: Any modern web browser like Chrome, Firefox, or Safari.
  • Code Editor: Use a code editor of your choice for making code changes.

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/ecommerce-store.git

Set up your database:

Create a new database in MySQL for your e-commerce store. Import the provided SQL schema file into your database to create the necessary tables. Configure the database connection:

Open config.php and update the database credentials to match your MySQL setup. Start XAMPP:

Start the Apache and MySQL services using XAMPP's control panel. Run the application:

Open your web browser and navigate to http://localhost/web/ (or the appropriate path where you placed the project files).

Usage Register as a user or log in if you already have an account. Browse and search for products on the store. Add products to your cart. Proceed to checkout to complete your order. Admins can manage products, users, and orders through the admin panel.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve this e-commerce store.

Releases

No releases published

Packages

No packages published