Fashion Shop is a command-line Java application designed to help manage an online T-shirt store. The system allows the shop owner to handle daily transactions, manage orders, track customers, and generate various reports. This project demonstrates core Java programming concepts without Object Oriented Principals, array manipulation, and CLI-based user interaction.
- Place Order: Add new T-shirt orders with size, quantity, and customer phone number.
- Search Customer: View a summary of a customer's purchases by phone number, including quantities and amounts by T-shirt size.
- Search Order: Look up order details by Order ID.
- View Reports:
- Customer Reports (Best customers, all customers, detailed breakdown)
- Item Reports (Best selling sizes by quantity or amount)
- Order Reports (All orders, sorted by amount)
- Set Order Status: Update the status of an order (Processing, Delivering, Delivered).
- Delete Order: Remove an order from the system.
When you run the application, you will see a menu similar to the following:
[1] Place Order [2] Search Customer
[3] Search Order [4] View Reports
[5] Set Order Status [6] Delete Order
Input Option :
- Enter the number corresponding to the action you want to perform.
- The program will guide you through each process step by step.
- If you enter an invalid option, the program will not respond (as per requirements).
- All data is stored in arrays in memory (no database required).
- Each order is assigned a unique Order ID.
- T-shirt sizes supported: XS, S, M, L, XL, XXL (with different prices).
- Reports and searches are generated dynamically from the stored data.
- Requirements:
- Java JDK 8 or higher
- Windows, macOS, or Linux (CLI-based)
- Compile:
- Open a terminal in the project directory.
- Run:
javac FashionShop.java
- Run:
- Run:
java FashionShop
- Run:
- Placing an Order:
- Enter customer phone number, T-shirt size, and quantity.
- System calculates the amount and confirms the order.
- Searching for a Customer:
- Enter phone number to view all purchases by size and total amount.
- Viewing Reports:
- See best customers, best selling sizes, and all orders sorted by amount.
- The application is designed for educational purposes and does not persist data after the program exits.
- All user input is handled via the command line.
- The system is robust against invalid menu options (no response for wrong input).
This project is provided for educational use. You may modify and use it as needed for learning or demonstration purposes.
⭐️ From Nugi29