A
Project On
E-commerce Store Management System
Submitted in partial fulfillment of the requirements for the
Senior Secondary School Certificate Examination
2024-2025
By
PRANAY KESHWANI
Submitted to:
Mr. Krishan Singh Sir
4C Colony Jamna Kothi,
New Loha Mandi Rd, Harmada,
Jaipur, Rajasthan 302013
Certificate
This is to certify that this project report entitled E-Commerce Store Management System
is a bonafide record of the project work done by Pranay Keshwani of class XII, in the
academic year 2024- 2025. The project has been submitted in partial fulfillment of
Senior Secondary School Certificate Examination for practical held at Jamna
Vidhyapeeth school, Jaipur.
Date: ___________
Internal Examiner External Examiner
ACKNOWLEDGEMENT
I solemnly take the opportunity to thank all the helping hands who
made me to complete this project. First of all I thank the Almighty
for keeping me hale and healthy in order to successfully complete
my work.
I would like to convey my special thanks to Mr. Sourabh Sir and
Krishan Singh Sir Teacher in Information Technology who gave me
immense support and guidance throughout the completion of this
project.
Last but not the least, I express my heartiest thanks to my lovable
parents and friends for their prayers, suggestions and
encouragement for the successful completion of the project.
Scope of the Project
The purpose of this project is to design an application that can help
the manager/administrator to add, update, and delete details of
products, customers, and orders in the e-commerce system easily.
They do not need to maintain physical records or logbooks for
managing inventory, customer information, or order history.
They only have to fill in details in the software, and the product or
customer will be added to the system.
The system also generates insights such as the total sales, customer
purchase patterns, and stock availability based on the data entered,
making management efficient and streamlined.
CODING OF THE PROJECT :
import pandas as pd
import matplotlib.pyplot as plt
# Function to add a new employee
def add_new_employee():
df = pd.read_csv('employee.csv')
Eid = ('Enter Employee ID:')
Ename = input('Enter Employee Name:')
Gender = input('Enter Gender:')
DOB = input('Enter Date of Birth (YYYY-MM-DD):')
Address = input('Enter Address:')
Phone = input('Enter Phone Number:')
Salary = input('Enter Salary:')
# Append new employee details to the DataFrame
df.loc[len(df)] = [Eid, Ename, Gender, DOB, Address, Phone, Salary]
df.to_csv('employee.csv', index=False)
# Function to show employee details
def show_employee_details():
df = pd.read_csv('employee.csv')
Eid = input('Enter Employee ID to view details:')
employee = df[df['Eid'] == int(Eid)]
if not employee.empty:
print(employee)
else:
print("Employee not found!")
# Function to update employee details
def update_employee_details():
df = pd.read_csv('employee.csv')
Eid = input('Enter Employee ID to update:')
column_name = input('Enter the column name to update (Ename, Gender, DOB, Address, Phone, Salary):')
new_value = input(f'Enter new value for {column_name}:')
# Update the specific column for the given employee
if column_name in df.columns:
df.loc[df['Eid'] == int(Eid), column_name] = new_value
df.to_csv('employee.csv', index=False)
print("Employee details updated successfully.")
else:
print(f"Column {column_name} does not exist.")
# Function to delete an employee
def delete_employee():
df = pd.read_csv('employee.csv')
Eid = input('Enter Employee ID to delete:')
# Find the index of the employee to delete
idx = df[df['Eid'] == int(Eid)].index
if not idx.empty:
df.drop(idx, axis=0, inplace=True)
df.to_csv('employee.csv', index=False)
print("Employee deleted successfully.")
else:
print("Employee not found!")
# Function to generate a salary report
def generate_salary_report():
df = pd.read_csv('employee.csv')
salary_report = df[['Eid', 'Ename', 'Salary']]
print(salary_report)
# Function to show a bar graph of salaries
def show_salary_graph():
df = pd.read_csv('employee.csv')
salary_data = df[['Ename', 'Salary']]
salary_data.plot(kind='bar', x='Ename', y='Salary', color='skyblue')
plt.title('Employee Salary Graph')
plt.xlabel('Employee Name')
plt.ylabel('Salary')
plt.show()
# Function to show customer details
def show_customer_details():
df = pd.read_csv('customers.csv')
customer_id = input('Enter customer_id to view details:')
customer = df[df['customer_id'] == int(customer_id)]
if not customer.empty:
print(customer)
else:
print("Customer not found!")
# Function to show all employee details
def show_all_employees():
df = pd.read_csv('employee.csv')
if not df.empty:
print("\nAll Employee Details:")
print(df)
else:
print("\nNo employees found in the record.")
# Main menu for the user to interact with the system
while True:
# Show all employee details at the start of the menu
show_all_employees()
print("\nEmployee and Customer Management System")
print("1. Add New Employee")
print("2. Show Employee Details")
print("3. Update Employee Details")
print("4. Delete Employee")
print("5. Generate Salary Report")
print("6. Show Salary Graph")
print("7. Show Customer Details")
print("8. Exit")
choice = int(input('Enter your choice: '))
if choice == 1:
add_new_employee()
elif choice == 2:
show_employee_details()
elif choice == 3:
update_employee_details()
elif choice == 4:
delete_employee()
elif choice == 5:
generate_salary_report()
elif choice == 6:
show_salary_graph()
elif choice == 7:
show_customer_details()
elif choice == 8:
print("Exiting the system.")
break
else:
print("Invalid choice. Please try again.")
SOME SCREEN SHOTS OF THIS PROJECT :
The Menu
ADDING A NEW EMPLOYEE:
SHOW EMPLOYEE DETAILS:
UPDATE EMPLOYEE DETAILS:
DELETE EMPLOYEE:
GENERATE SALARY REPORT:
SHOW SALARY GRAPH:
SHOW CUSTOMER DETAILS:
EXIT: