Front End
In FrontEnd Displaying Products and on home page displaying products with categories. Next adding products to cart from homepage category page and also adding products to cart in multiple quantities from the single product page.
Next is displaying products added to cart in cart page and also in the drop-down menu with a checkout link.
While user goes to checkout page after adding products to cart. We will check user logged in or not?
If user logged in we will allow him to the checkout page or else he will be prompted to log in or register.
If he is a new user, he should register. If he is an existing user, he can log in with his login credentials.
In checkout page, if the user already has billing details. It will be displayed or else user will be prompted to enter billing details.
After that user can choose the payment method and accept the terms his order will be placed. For now, I’m using only Cash On Delivery method.
If we use payment gateways, the user will be redirected to a payment gateway. If he pays we will store transaction id and other information from payment gateway provider into our database.
A customer can submit reviews to the product, a customer can submit only one review per product.
The customer can cancel his order. Also, a customer can update his or her address from my account page.
A customer can check all the orders on my account page. And also view single orders from single order view page.
Wishlist for the customer to add products to wishlist and remove products from wishlist.
Back End
In Back End Admin Area, Admin User will be able to log in and add, edit & delete products. And also admin user can check the orders. Go through the list of customers and go through all the reviews submitted by customers.
Order Processing from the backend, admin can process the order in 4 different stages one is Order Placed, Order In Progress, Order Dispatched, and Order Delivered.
A lot more features are included.
Create Database & Tables
First of we will start with creating database and tables, we need couple of tables for our features. I’ll create basic tables that we need and we will create other tables as we go along.
First I’ll list out all the tables that we need in our project
admin table
category table
products table
users table
usersmeta table
orders table
orderitmes table
orderstracking table
wishlist table
reviews table
Creating Required Files
First I’ll start with creating files in front end
index.php – we need this file for displaying all products and products based on categories
single.php – for displaying single product details
addtocart.php – for adding items to cart
cart.php – for displaying products in cart
delcart.php – for deleting items from cart.
checkout.php – for customer checkout process
login.php – for users to login/register from same page
loginprocess.php – for login functionality of customer
registerprocess.php – for customer registration process.
my-account.php – for displaying all the orders associated with customer
view-order.php – for displaying single order with more details
cancel-order.php – for cancelling the order
edit-order.php –
addtowishlist.php – for adding items to wishlist
wishlist.php – for displaying products in wishlist
delwishlist.php – for deleting products from wishlist
logout.php –
Creating necessary files in Admin Area
login.php –
index.php –
caetgories.php –
addcategory.php –
delcategory.php –
editcategory.php –
products.php –
addproduct.php
editproduct.php –
delproduct.php –
delprodimg.php –
orders.php –
order-process.php –
customers.php –
reviews.php –
logout.php –