Super Cashier is a simple program to help customer for doing transaction independently in the shop/supermarket. Customer can add bought items, item quantity and price per item and get discount if the transaction met the total price requirements.
Programming Languages and Software:
- Python
- Visual Studio Code
Library:
- Tabulate
- Create simple program cashier using Python
- Utilize OOP, Function, Exception Handling, and PEP8 principles to create Python Program
- Utilize modularization to create module script
- Customer can add item name, item quantity, and price per item
- Customer can update item name/item quantity/price per item
- Customer can delete one item/more items
- Customer can reset their order
- Customer can check their order and total price
- Transaction module imported and its class called by Consumer
- Consumer can start their transaction
- Consumer add item, quantity, and price with method add_item
- Consumer can update their order with: (1) update_item_name for changing item name; (2) update_item_quantity for updating item quantity; (3) update_item_price for updating price of item.
- If they cancel to buy one item or more items, Consumer can use method delete_item with inserting item name
- If they cancel order, Consumer can use method reset_transaction and start order again
- If their order is done, Consumer can check order with method check_order
- Consumer get total price and discount if their total price is met the requirements with method total_price
- main.py: The main script work as program simulation and import module transaction
- module_transaction.py: The module script that has class Transaction and its function methods
Import module and assign its class in main script:
Customer input empty item name
With Super Cashier Program, Consumer can do their transaction independently. It is hoped that it can help business actors in optimizing their business processes.
- Can be added with the choice option for transaction
- Can be added with list of items in the shop/supermarket to identify whether the item is available or not
- Can be added with list of items that is near to expiration date and give suggestion to customer
Author Copyright (c) 2024 Muhammad Chavez Assad Patriot