Skip to content

nicodemusnaisau/Wonder-Mart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Self-Checkout Using Python

Wonder Mart

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.

Console - Demo

Objective

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.

Tools And Liblary

The tools and libraries used to support this project include:
Tools :

Visual Studio Code Python Git

Liblary

pip install colored
  • The currency format in the nominal transaction using babel 2.11.0
pip install Babel

Installation

⚠️ 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 python 3.10 and above. As of early 2021, the match keyword does not exist in the released python versions <= 3.9.

Using Git

git clone git@github.com:nicodemusnaisau/Wonder-Mart.git
cd Wonder-Mart
python Main.py

Function Definition

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

Test Case👀

👇 Add Items
  • Add items Console - Demo
  • View Cart Console - Demo
👇 Update Items
  • Update item name Console - Demo
    • Result Update item name Console - Demo
  • Update Quantity item Console - Demo
    • Result Update Quantity Console - Demo
  • Update price item Console - Demo
    • Result Update price Console - Demo
  • Update condition when null item Console - Demo
👇 Delete Items
  • Delete items spesific Console - Demo
    • Delete items view Console - Demo
  • Delete when null item Console - Demo
👇 Payment Details
  • View Payment Summary when null item Console - Demo
  • View Payment Summary Console - Demo
  • Discount condition when order more than Rp200.000 Console - Demo
  • Discount condition when order more than Rp300.000 Console - Demo
  • Discount condition when order more than Rp500.000 Console - Demo
👇 Reset Transaction
  • Reset Transaction Console - Demo
  • View Cart Console - Demo
👇 Exit
  • Exit Program Console - Demo

Feature Works🚀

  • Implementing a GUI for a friendly interface.
  • Adding payment features and nominal change.
  • Export Data to CSV in every order transaction.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages