Wonder Mart is self-checkouts (SCOs), also known as assisted checkouts (ACOs) or self-service checkouts. It is a minimarket with a self-service cashier that makes it easy for customers to make shopping calculations, add shopping items, and other features that support customer convenience and satisfaction in shopping.
Objectives in the project include:
- To create a program that allocates self-checkout
- To apply some programming concepts in Python
- To apply PEP8 principles for clean code programs
- Easy to improve and easy to use program
The objective requirements of the program include the following:
- Users can add orders to the cart.
- Users can see an overview of orders that have been added to the cart.
- Users can make modifications to orders that have been added.
- Users can see an overview of the payment of the entire order.
- Users can reset the shopping cart automatically, thereby deleting the entire order.
The tools and libraries used to support this project include:
Tools :
Liblary
- For coloring terminal console using
colored 1.4.4
pip install colored
- The currency format in the nominal transaction using
babel 2.11.0
pip install Babel
⚠️ It is recommended to use latest version python or minimum version 3.10. If a lower version is used, an error will occur because of the use of syntax that is only found in python3.10
and above. As of early 2021, the match keyword does not exist in the released python versions<= 3.9.
git clone [email protected]:nicodemusnaisau/Wonder-Mart.git
cd Wonder-Mart
python Main.py
No | Function | Parameter |
---|---|---|
1 | def create() | no_item, id_product, date_add, price, item, qty |
2 | def update() | no_item, id_product, date_add, price, item, qty |
3 | def delete() | no_item, id_product, date_add, price, item, qty |
4 | def create_first_data() | no_item, id_product, date_add, price, item, qty |
5 | def clean_console() | match os user system |
6 | def read(**kwrags) | index_item |
7 | def total_price() | price_total, price_each |
8 | def reset() | os.replace |
👇 Update Items
👇 Payment Details
- Implementing a GUI for a friendly interface.
- Adding payment features and nominal change.
- Export Data to CSV in every order transaction.