cs_projectfinal
cs_projectfinal
COSMETIC STORE
MANAGEMENT SYSTEM
SESSION 2024-25
SUBMITTED TO: SUBMITTED BY:
MRS.SIMPA KHARAGWANSHI PRAMOD SINGH
CLASS 12 ‘A’
Page 2 of 26
COSMETICS STORE
MANAGEMENT SYSTEM
A python and SQL based application for managing a
cosmetic inventory.
Page 3 of 26
C E R T IF IC A T E
This is to certify that
Pramod Singh
has successfully completed their Computer
Scienceproject titled
Cosmetic Store Management System
ACKNOWLEDGEMENT
INDEX
SNO. TOPIC PAGE NO.
1. COVER PAGE 1
2. CERTIFICATE 3
3. ACKNOWLEDGEMENT 4
5. NEED OF COMPUTERISATION 8
6. ADAVANTAGES 9-10
7. LIMITATIONS 11
NEED OF COMPUTERISATION
Computerization in cosmetics store management is essential for
improving the efficiency, accuracy, and scalability of operations. By
automating tasks like inventory tracking, price updates, and order
processing, businesses can save valuable time and reduce the risk of
human errors in data entry and stock management. Real-time
updates ensure that product information, stock levels, and pricing
are always accurate, preventing issues like overstocking or stockouts.
Furthermore, computer systems enable data-driven decision-making
by providing instant access to reports on sales, inventory, and
customer behavior, which helps in forecasting demand and making
informed business decisions. The automation of these processes also
leads to significant cost savings by reducing manual labor and
minimizing costly mistakes. Additionally, computerization enhances
customer service by enabling staff to quickly retrieve product details
and manage orders, leading to a better customer experience.
Overall, computerization streamlines operations, optimizes inventory
management, and improves customer satisfaction, making it an
invaluable tool for the growth and success of any cosmetics store.
Page 9 of 26
ADVANTAGES OF PROJECT
1. Improved Efficiency
Automation of Tasks: The system automates routine tasks like
inventory updates, price changes, and order processing, which
saves time and reduces the workload for store employees.
Faster Decision Making: With real-time access to product and
sales data, store managers can make quicker decisions, whether
it's about restocking, promotions, or pricing adjustments.
2. Accurate Inventory Management
Real-Time Stock Tracking: The system tracks inventory levels
automatically, providing an accurate picture of stock at any
given time and minimizing the risk of human error.
Alerts for Low Stock: Automated alerts notify store managers
when products are running low, ensuring that items are
restocked before running out, which prevents lost sales.
3. Cost-Effectiveness
Reduced Labor Costs: By automating inventory management
and administrative tasks, the system reduces the need for manual
labor, cutting operational costs.
Prevention of Stock Losses: Accurate tracking of stock reduces
the chances of stock discrepancies and shrinkage, saving money
in the long run.
4. Enhanced Reporting and Data Analysis
Data-Driven Insights: The system generates reports on sales
trends, inventory levels, and customer preferences, providing
valuable insights that help store managers make informed
decisions.
Sales Forecasting: Analyzing past data allows businesses to
predict future demand, helping in better planning of inventory
and minimizing overstocking or stockouts.
5. Better Customer Experience
Quick Access to Product Information: With computerized
tracking, store staff can quickly retrieve product details, prices,
and availability, improving the customer experience by offering
faster service.
Page 10 of 26
LIMITATIONS
1. Dependence on Technology
System Downtime: The system relies on hardware and software
that may experience downtime or technical issues. If the system
crashes or the server goes down, it could disrupt operations,
resulting in delays or loss of data.
Page 11 of 26
Host:Local host
User:Root
Pass:Gaurav
Database:Cosmetics_store
1.Customer details:
2.Stock details:
Page 13 of 26
PYTHON CODE:
Page 14 of 26
import mysql.connector
from mysql.connector import Error
def create_connection():
try:
connection = mysql.connector.connect(
host='localhost', # Your MySQL server host (default is
localhost)
user='root', # Your MySQL username
password='Gaurav', # Your MySQL password
database='cosmetic_store' # Your database name
)
if connection.is_connected():
print("Connected to MySQL Server")
return connection
except Error as e:
print(f"Error: {e}")
return None
connection.commit()
print("Customer added successfully!")
connection.close()
except Error as e:
print(f"Error: {e}")
connection.commit()
print(f"Sale completed. Total amount:
{total_amount}")
else:
print("Insufficient stock.")
connection.close()
except Error as e:
print(f"Error: {e}")
connection.close()
Page 19 of 26
except Error as e:
print(f"Error: {e}")
while True:
print("\n--- Cosmetic Store Management System ---")
print("1. Add Product")
print("2. View Inventory")
print("3. Add Customer")
print("4. Make Sale")
print("5. View Sales History")
print("6. Exit")
if choice == '1':
name = input("Enter product name: ")
brand = input("Enter product brand: ")
price = float(input("Enter product price: "))
quantity = int(input("Enter product quantity: "))
add_product(name, brand, price, quantity)
elif choice == '2':
view_inventory()
elif choice == '3':
name = input("Enter customer name: ")
email = input("Enter customer email: ")
add_customer(name, email)
elif choice == '4':
customer_id = int(input("Enter customer ID: "))
product_id = int(input("Enter product ID: "))
quantity = int(input("Enter quantity: "))
make_sale(customer_id, product_id, quantity)
Page 20 of 26
if __name__ == "__main__":
main()
Page 21 of 26
OUTPUT SCREEN
Page 22 of 26
Page 23 of 26
Page 24 of 26
BIBLIOGRAPHY
1. www.google.com
2. www.python.org
3. Computer Science with Python by Sumita Arora
Page 26 of 26
THANK YOU