Grocery Point of Sales (POS) System in Python Django Free Source Code

Language

Grocery Point of Sale System using Django in Python

This project is entitled Grocery Point of Sale System. This is a web-based application that can help a certain grocery store or shop to manage its day-to-day sales transactions. This POS application was developed in Python and Django Framework. It helps to easily store, retrieve, and calculate transactions of the said shop. I developed this application to help other programmers, especially those IT Students or self-learners who are new to Python Django Framework to have an idea of how to develop a Point of Sale System Application. It has a pleasant user interface using the Bootstrap Framework and Material Dash-Admin Template. The application has user-friendly or easy-to-use features and functionalities.

About the Grocery Point of Sale System

I developed this project using the following:

  • Python
  • Django
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Ajax
  • Bootstrap v5
  • Material Admin Design Bootstrap Dash
  • Material Design Icon
  • MUI

This Grocery Point of Sale System Project requires the system users to enter their registered system user credentials in order to access the features and functionalities of the system. Users can manage the list of Product Categories, Categories, and Sales Transactions. These features contain a CRUD or Create, Read, Update, and Delete Operations and these actions are executed using jQuery's Ajax requests. The application also generates a ready-to-print receipt of the transaction details. The receipt will be shown after the user saves a transaction and they can also re-print the receipt on the Sales List Page. The system generates a transaction code automatically upon saving the record. The system also shows the summary or the data total counts in the Home/Dashboard Page. The said page also contains the overall transactions in the current date and the Total Sum of the Transactions.

Features

  • Login Page
  • Home/Dashboard Page
    • Displays the Summary
  • Categories Management
    • Add New Category
    • List All Categories
    • Update Category Details
    • Delete Category Details
  • Products Management
    • Add New Product
    • List All Products
    • Update Product Details
    • Delete Product Details
  • Point of Sale (POS)
    • Add Product Item to List
    • Calculate Automatically the total
    • Remove Product Item from the list
    • Update Item Quantity and Recalculate Total
    • Auto-Calculate Tax Amount
    • Checkout Form Modal
    • Auto-Calculate the Customer Change
    • Shows the Transaction Receipt
  • Sales Management
    • List All Sales Transaction
    • View Transaction Receipt
    • Print Transaction Receipt
    • Delete Transaction Details
  • User Authentication
  • Logout
  • User Authentication

Sample Snapshots

Home/Dashboard Page

Grocery Point of Sale System Project

POS Form

Grocery Point of Sale System Project

Checkout Modal

Grocery Point of Sale System Project

Receipt Modal

Grocery Point of Sale System Project

Sales Transaction List

Grocery Point of Sale System Project

The system source code is free to download on this project and only for educational purposes only. The source code is not that so tricky which means not that difficult to understand. Feel free to download and modify the source code the way you wanted.

How to Run

Download/Install the following

  • Python (I used v3.9.1)
  • Django (I used v3.2.3)
  • PIP (for python modules installation)

Setup/Installation

  1. Download and Extract the provided source code zip file. (download button is located below)
  2. Open your Terminal/Command Prompt window. (make sure to add "python" and "pip" in your environment variables)
  3. Change the working directory to the extracted source code folder. i.e. cd C:\Users\Personal-23\Desktop\pos
  4. Run the following commands:
    • pip install Django
    • python manage.py migrate
    • python manage.py runserver
  5. Open a web browser and browse http://localhost:8000/ or http://127.0.0.1:8000/

Note: I might forget to list some other modules/libraries. Kindly Install the missing modules if any occurred.

Access Information

SuperUser
Username: admin
Password: admin123

DEMO VIDEO

That's it! I hope this will help you with what you are looking for. Maybe you'll find this Grocery Point of Sale System useful and can help you with your future Python Django Projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted byFaisal Ahmed Tusar (not verified)on Thu, 04/07/2022 - 15:58

Great work man. Such a nice design and nothing extra, just what is needed for a simple POS.
Submitted byMikun (not verified)on Fri, 04/22/2022 - 00:05

Heyo, great work you have here, please I would like to ask how you were able to implement the add to cart part
Submitted byPyjan Learn (not verified)on Sat, 06/18/2022 - 23:05

1. flask was not installed by default. pip install flask to avoid 'flask' module not found. 2. after extracting from the zip folder, the folder posAPP under static should be renamed as posApp to avoid 404 problems.
Submitted byUmesh Nepal (not verified)on Fri, 07/08/2022 - 10:46

In reply to by Pyjan Learn (not verified)

You need to install flask. Open terminal and type "pip install flask" Boom you are done.
Submitted byAmjad abram (not verified)on Sun, 03/19/2023 - 16:56

In reply to by RickRun (not verified)

any IDE that supports python(VSCode, Pycharm and many more) can run the app through the source code. Just open through your editor, make sure the editor is ready for python, and simply run
Submitted byRobiul Islam Bejoy (not verified)on Mon, 07/04/2022 - 20:12

How do I add an image option in the Product class? Can you give some resources to add images in the product class?
Submitted byAnonymous (not verified)on Sat, 09/10/2022 - 16:23

Is it possible to share the font-end of this project? Didn't find the full dashboard.
Submitted byBram Werbrouck (not verified)on Sun, 11/20/2022 - 16:22

I tried to install this on a raspberry pi’ but I can’t login with the admin user..
Submitted byVijay Singh Kushwaha (not verified)on Fri, 01/27/2023 - 17:09

I am unable to configure this application ; how can i do that pls any one can guide me
Submitted bysyed@syed (not verified)on Tue, 02/07/2023 - 21:13

please provide the rar file password
Submitted byjust normal student (not verified)on Sat, 08/05/2023 - 17:29

man you saved my life i just got in internship to local small electronic store and i had to make pos system in 1 month. and i tried and it was horrible and you just saved my ass sir ty and ill learn coding in the future bcs ppl like you exist and i wanna become like you sir xd respect.
Submitted byGreat Work (not verified)on Thu, 08/31/2023 - 13:45

Great Work

Add new comment