This project implements a simple command-line based online store management system in Python. It allows users to add products to inventory, manage customer information, make purchases, and view sales data. The system is designed to simulate basic operations of an online store.
The OnlineStore project is a Python application that provides functionalities for managing an online store's inventory and customer base. It includes features such as adding products, updating stock levels, searching for products, removing products, making purchases, registering customers, and viewing customer information.
To run the OnlineStore project, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/OnlineStore.git
- Navigate to the project directory:
cd OnlineStore
- Run the application:
Make sure you have Python 3.x installed on your system.
python main.py
- Add Product: Add a new product to the inventory with specified price and stock.
- Update Stock: Increase stock of existing products.
- View Inventory: Display all products currently in inventory.
- Register Customer: Register new customers with their name and email.
- View Customers: Display a list of all registered customers.
- Make a Purchase: Simulate a purchase by adding products to a shopping basket, adjusting inventory stock, and calculating total purchase amount.
- Search Product: Search for a product by name in the inventory.
- Remove Product: Remove a product from the inventory.
- Adding a Product:
store.add_product('jeans', 65.5, 10)
- Making a Purchase:
store.make_a_purchase()
This project is licensed under the MIT License. See the LICENSE file for more details.
For any questions or feedback, please contact [Laia] at [l.ayats.e@gmail.com].