Fashion Designer Store Management System
1. Introduction
The Fashion Designer Store Management System is a Python-based application
designed to streamline customer management, product inventory, and order
processing for fashion retailers. It is tailored for small and medium sized businesses,
eliminating the need for complex databases by relying on in-memory data structures
like lists.
This lightweight, user-friendly system improves operational efficiency and ensures
data accuracy, making it an ideal solution for businesses aiming to modernize their
operations.
The program includes essential features like adding, viewing, and removing
customer, product, and order records.
Its validation and error-handling mechanisms prevent data inconsistencies, making
the system reliable and robust.
The program's modular structure also allows for future expansion, ensuring
scalability.
2. Key Features
Customer Management
- Add customers with details: ID, name, phone, email, and address.
- View and remove customer records.
- Validate customer IDs to ensure accurate order processing.
P
a
g
e
n
o
1
Product Management
- Add products with attributes like name, size, price, and stock.
- View product inventory and remove unavailable items.
- Ensure real-time stock updates during order placement.
Order Processing
- Link orders to valid customer and product IDs.
- Calculate total prices and update stock after each transaction.
- Handle errors for invalid customer/product IDs or unavailable stock.
Error Handling
- Notify users of invalid inputs or out-of-stock items.
- Provide clear error messages like: "Customer ID not found. Please add the
customer first."
Data Validation
- Validate every action to prevent data inconsistencies, ensuring smooth operations.
3. Benefits
1. Ease of Use: A menu-driven interface makes it accessible for non-technical users.
2. Cost-Effective: Operates locally without requiring databases or internet
connectivity.
3. Quick Setup: Lightweight, ready-to-use Python program.
4. Reliable: Accurate validation mechanisms and error handling.
P
a
g
e
n
o
2
5. Customizable: Easily expandable to include advanced features like reporting or
GUI.
4. Future Enhancements
While the current system is highly functional, several enhancements can improve its
capabilities:
1. Persistent Storage: Introduce file-based or database storage to save data across
sessions.
2. Reporting: Add features for generating sales and inventory reports.
3. GUI Interface: Develop a graphical interface for improved usability.
4. Search Functionality: Implement search options for quick record retrieval.
5. Integration: Support for barcode scanners and payment gateways.
5. Conclusion
The Fashion Designer Store Management System is a practical, lightweight tool for
managing store operations effectively. Its local operation, ease of use, and modular
structure make it an excellent choice for small retailers.
By automating customer, product, and order management, this system reduces
manual errors and enhances efficiency. Its scalability ensures it can grow alongside
the business, making it a reliable and modern solution for the fashion retail industry.
6. Bibliography
1. Learn Python (https://www.learnpython.org/)
2. Python Official Documentation (https://docs.python.org/3/tutorial/)
P
a
g
e
n
o
3
P
a
g
e
n
o
4
Coding
Customer Data Entry
customers = []
products = []
orders = []
while True:
print("\n--- Fashion Designer Store Menu ---")
print("1. Add Customer")
print("2. Add Product")
print("3. Add Order")
print("4. View Customers")
print("5. View Products")
print("6. View Orders")
print("7. Remove Customer")
print("8. Remove Product")
print("9. Remove Order")
print("10. Exit")
choice = int(input("Enter your choice (1-10): "))
if choice == 1: # Add Customer
L = []
customer_id = int(input("Enter the Customer ID number: "))
L.append(customer_id)
name = input("Enter the Customer Name: ")
L.append(name)
phone = int(input("Enter Customer Phone Number: "))
L.append(phone)
email = input("Enter the Email ID: ")
L.append(email)
address = input("Enter the Address: ")
L.append(address)
customers.append(L)
print("Customer details added successfully!")
elif choice == 2: # Add Product
L = []
product_id = int(input("Enter the Product ID: "))
L.append(product_id)
product_name = input("Enter the Product Name (e.g., Dress, Shirt, Pants): ")
L.append(product_name)
P
a
g
e
n
o
5
size = input("Enter Product Size (S/M/L/XL): ")
L.append(size)
price = float(input("Enter the Price of the Product: "))
L.append(price)
stock = int(input("Enter the Available Stock Quantity: "))
L.append(stock)
products.append(L)
print("Product details added successfully!")
elif choice == 3: # Add Order
if not products: # Check if products list is empty
print("No products available. Add products first.")
continue
L = []
order_id = int(input("Enter the Order ID: "))
L.append(order_id)
customer_id = int(input("Enter the Customer ID: "))
# Validate Customer ID
if not any(customer[0] == customer_id for customer in customers):
print("Customer ID not found. Please add the customer first.")
continue
L.append(customer_id)
product_id = int(input("Enter the Product ID: "))
# Search for the product in the product list
product_found = False
for product in products:
if product[0] == product_id:
product_found = True
stock_available = product[4] # Get the stock quantity
if stock_available > 0: # Check stock availability
quantity = int(input("Enter the Quantity Ordered: "))
if quantity > stock_available:
print(f"Sorry, only {stock_available} items are available.")
else:
total_price = quantity * product[3]
L.append(product_id)
L.append(quantity)
L.append(total_price)
order_date = input("Enter the Order Date (YYYY-MM-DD): ")
L.append(order_date)
P
a
g
e
n
o
6
orders.append(L)
product[4] -= quantity # Update stock
print("Order details added successfully!")
else:
print("Sorry, product not available.")
break
if not product_found:
print("Product ID not found. Please check the Product ID.")
elif choice == 4: # View Customers
if customers:
print("\nCustomer Details:")
print("ID | Name | Phone | Email | Address")
for row in customers:
print(" | ".join(map(str, row)))
else:
print("No customer details available.")
elif choice == 5: # View Products
if products:
print("\nProduct Details:")
print("ID | Name | Size | Price | Stock")
for row in products:
print(" | ".join(map(str, row)))
else:
print("No product details available.")
elif choice == 6: # View Orders
if orders:
print("\nOrder Details:")
print("ID | Customer_ID | Product_ID | Quantity | Total_Price | Order_Date")
for row in orders:
print(" | ".join(map(str, row)))
else:
print("No order details available.")
elif choice == 7: # Remove Customer
if customers:
customer_id = int(input("Enter the Customer ID to remove: "))
for i, customer in enumerate(customers):
if customer[0] == customer_id:
customers.pop(i)
print("Customer removed successfully!")
break
else:
P
a
g
e
n
o
7
print("Customer ID not found.")
else:
print("No customers to remove.")
elif choice == 8: # Remove Product
if products:
product_id = int(input("Enter the Product ID to remove: "))
for i, product in enumerate(products):
if product[0] == product_id:
products.pop(i)
print("Product removed successfully!")
break
else:
print("Product ID not found.")
else:
print("No products to remove.")
elif choice == 9: # Remove Order
if orders:
order_id = int(input("Enter the Order ID to remove: "))
for i, order in enumerate(orders):
if order[0] == order_id:
orders.pop(i)
print("Order removed successfully!")
break
else:
print("Order ID not found.")
else:
print("No orders to remove.")
elif choice == 10: # Exit
print("Exiting the program. Thank you for using the Fashion Designer Store
system!")
break
else:
print("Invalid choice! Please enter a number between 1 and 10.")
Screenshots
P
a
g
e
n
o
8
P
a
g
e
n
o
9
P
a
g
e
n
o
1
0
P
a
g
e
n
o
1
1
P
a
g
e
n
o
1
2
P
a
g
e
n
o
1
3
P
a
g
e
n
o
1
4
P
a
g
e
n
o
1
5
P
a
g
e
n
o
1
6
P
a
g
e
n
o
1
7
P
a
g
e
n
o
1
8
P
a
g
e
n
o
1
9
P
a
g
e
n
o
2
0