Online Jewelry Shop System in Django with Source Code

Online Jewelry Shop System in Django with Source Code

This Online Jewelry Shop System Project in Django created based on python, Django, and SQLITE3 Database. The Online Jewelry Shop System project that will assist a Jewelry store or store in providing an online ordering system for their customers.

The system has two user interfaces: one for the admin user, or Jewelry management, and the other for the client, or the system’s website. Customers must register on the website before they can conduct business with the Jewelry shop.

A Online Jewelry Shop System is simple to navigate, and the features are similar to those found in other online stores.

The Jewelry items are grouped by item categories to make it easier for consumers to find what they’re looking for.

Each product can have a different color, size, sample image, and thorough description thanks to the system. Since some of the jewelry products do not need this area, the sizes and colors fields are not needed.

To start creating a Online Jewelry Shop System Project in Python Django, makes sure that you have PyCharm Professional IDE Installed in your computer.

This Online Jewelry Shop System in Django Framework, Also includes a Download Source Code for free, just find the downloadable source code below and click download now.

About ProjectProject DetailsDefinition
Project Name Online Jewelry Shop System in Django with Source CodeThe Online Jewelry Shop System in Django is an easy project for beginners to learn how to build a web-based python Django project.

We will provide you with the complete source code and database for the python project so that you can easily install it on your machine and learn how to program in Python Django.
Python version (Recommended)3.8 VersionPython 3.8 introduces some new syntax to the language, as well as a few small modifications to existing behavior and, most importantly, a slew of performance improvements, following in the footsteps of the previous 3.7 version.
Programming Language UsedPython Django LanguageDjango is a high-level Python web framework for building safe and maintainable websites quickly. Django is a web framework built by experienced developers that takes care of a lot of the heavy lifting so you can focus on developing your app instead of reinventing the wheel.
Developer Name itsourcecode.comFree projects containing source code in Java, PHP, Python, Django, VB.Net, Visual Basic, C, C++, C#, Javascript, and other languages are available on this website.
IDE Tool (Recommended)Sublime, Visual Studio, PyCharmSublime Text is a source code editor that is available for purchase. It comes with built-in support for a variety of programming and markup languages. Plugins, which are often community-built and maintained under free-software licenses, allow users to extend the functionality of the system. Sublime Text has a Python API to help with plugins.
Project Type Web ApplicationA web application, unlike computer-based software programs that operate locally on the device’s operating system, is application software that runs on a web server. The user uses a web browser with an active network connection to access web apps.
DatabaseSQLiteSQLite is a programming language that is used to create embedded software for devices such as televisions, cell phones, and cameras. It can handle HTTP requests with low to medium traffic. SQLite has the ability to compress files into smaller bundles with less metadata. SQLite is a temporary dataset that is used within an application to process data.
Church Management System in Django Overview

Admin Features of Online Jewelry Shop System in Django

  • Login Page – The page where the system administrator enters their system credentials in order to gain access to the system’s administrative side.
  • New Category Page-This is the page where an administrator can add a new jewelry category.
  • Category List– The page with a list of jewellery categories that can be navigated to change or delete a category.
  • New Product Page – The page to which an administrator can add new product.
  • Product List– The page on which the jewelry pieces or goods are mentioned and can be viewed, modified, or deleted.
  • Orders Page– The location where the admin can handle customer orders.
  • New User Page – The page where a new admin or customer’s system credentials are created by an admin.
  • Users list – This is the page that lists and manages the added users.

Customer Features of Online Jewelry Shop System in Django

  • Login Page – Customers enter their website credentials on this page to gain access to all of the website’s features.
  • Register Page– The page where new customers created their login credentials for the website.
  • Home Page– When customers visit the website, this is the system’s default page. This page shows the jewelry pieces for sale in the store, and the items can be sorted using the category filter checklist on the right side of the page, or by entering a keyword in the search box above the products.
  • Product View Page – The page on which the product’s specific information is shown, as well as the page on which the customer adds the product to his or her cart.
  • Cart List Page– The page that lists the items that customers have chosen. This is the page where the customer can complete the order checkout process.
  • My Order Page– The page that lists the customer’s orders.

Online Jewelry Shop System in Django Steps on How to Create a Project

Time needed: 5 minutes

Here’s the step’s on how to create a Online Jewelry Shop System in Django with Source Code.

  • Step 1: Open file.

    First , open “pycharm professional” after that click “file” and click “new project“.
    Create new Project for Online Jewellery Shop System in Django with Source Code

  • Step 2: Choose Django.

    Next, after click “new project“, choose “Django” and click.
    choose django for Online Jewellery Shop System in Django with Source Code

  • Step 3: Select file location.

    Then, select a file location wherever you want.
    Create location name for Online Jewellery Shop System in Django with Source Code

  • Step 4: Create application name.

    After that, name your application.

  • Step 5: Click create.

    Lastly, finish creating project by clicking “create” button.
    Finish Creating Project Name for Online Jewellery Shop System in Django with Source Code

  • Step 6: Start Coding.

    Finally, we will now start adding functionality to our Django Framework by adding some functional codes.

Functionality and Codes of the Online Jewelry Shop System in Django

  • Create template for the homepage in Online Jewelry Shop System in Django.

In this section, we will learn on how create a templates for the homepage. To start with, add the following code in your base.html under the folder of shop/templates/shop.

<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Myrel Jewellery</title>
    {% load staticfiles %}
    <link href="{% static 'shop/bootstrap/css/bootstrap.min.css' %}" rel="stylesheet">
    <link href="{% static 'shop/bootstrap/css/style.css' %}" rel="stylesheet">
  <body style="background-color: green">
    <!--  navbar starts -->
    <nav class="" style="border-radius:0px !important;margin-bottom:0px; background-color: black;">
      <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          <a class="navbar-brand" href="{% url 'shop:home' %}"><span id="lione" style="color: red;">Myrel Jewellery Shop</span></a>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-center">
              <li><a href="{% url 'shop:home' %}"><span id="" style="color: red">Home </span><span class="sr-only">(current)</span></a></li>
              <li><a href="{% url 'shop:home' %}"><span id="lione" style="color: red">Rings & Neklace </span></a></li>
              <li><a href="{% url 'shop:about' %}"><span id="lione" style="color: red">About </span></a></li>
              {% if user.username %} <li><a href="{% url 'shop:logout' %}"><span id="lione" style="color: red">Logout {{user.username}}</span></a></li>{% endif %}
              <li><a href="{% url 'shop:cart' %}"><span class="glyphicon glyphicon-shopping-cart" style="color:red;"></span></a></li>
        </div><!-- /.navbar-collapse -->
      </div><!-- /.container-fluid -->
    <!--  navbar ends -->
    {% block body %}{% endblock %}
    <hr class="divider">
    <center><footer style="color:white;margin-left:70px;">&copy Myrel Online Jewellery Shop System 2021 | All Rights Reserved</footer></center>
    <hr class="divider">

    <script src="{% static 'shop/jquery-1.12.4.min.js' %}"></script>
    <script src="{% static 'shop/bootstrap/js/bootstrap.min.js' %}"></script>
<!-- <span class="badge">{{ length }}</span> -->

  • Create template for the cart in Online Jewelry Shop System in Django.

In this section, we will learn on how create a templates for the cart. To start with, add the following code in your cart.html under the folder of shop/templates/shop.

{% extends 'shop/base.html' %}

{% block body %}

<div class="container" style="padding-top:70px;">
  <div class="row">
    <div class="col-md-12 col-sm-12 col-xs-12">
      <div class="panel panel-info">
        <div class="panel-heading">
          <div class="panel-title">
            <div class="row">
              <div class="col-md-6">
                <h4><span class="glyphicon glyphicon-shopping-cart"></span> Cart</h4>
              <div class="col-md-6">
                <a href="{% url 'shop:home' %}" class="btn btn-primary pull-right">Continue Shopping</a>
        <div class="panel-body">
          {% for item in buyList %}
            {% if item.user.username == user.username %}
            <div class="row">
              <div class="col-md-2 col-sm-12">
                <img src="{{ item.product.p_photo.url }}" alt="photo" width="20%"/>
              <div class="col-md-6 col-sm-12">
                <h3><strong>{{ item.product.p_name }}</strong></h3>
                <!-- <h4><small>{{ item.product.p_detail }}</small></h4> -->
                <h4>Price : <strong>₱{% widthratio item.quantity 1 item.product.p_cost %}</strong></h4>
                <div class="dropdown">
                  <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                    <span class="caret"></span>
                  <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                    {% for i in '12345' %}
                      <li><a href="{% url 'shop:qty' i %}">{{ i }}</a></li>
                    {% endfor %}
                  <a href="{% url 'shop:remove' %}" class="btn btn-danger">Remove</a>
            {% endif %}
          {% endfor %}
        <div class="panel-footer">
          <a href="{% url 'shop:checkout' %}" class="btn btn-success pull-right">Checkout</a>

{% endblock %}

  • Create template for the checkout in Online Jewelry Shop System in Django.

In this section, we will learn on how create a templates for the checkout. To start with, add the following code in your checkout.html under the folder of shop/templates/shop.

{% extends 'shop/base.html' %}

{% block body %}
	<div class="container" style="padding-top:70px;">
		<div class="row">
			<div class="col-md-8 col-sm-8 col-xs-12">
				<div class="panel panel-primary">
				  <div class="panel-heading">Shopping Address</div>
				  <div class="panel-body">
						<form action="{% url 'shop:checkout' %}" method="post" enctype="multipart/form-data">
		          {% csrf_token %}
		            {% for field in form %}
		            <div class="form-group">
		              <input type="text" class="form-control" name="{{field.html_name}}" placeholder="{{field.label}}">
		            {% endfor %}
		          <button type="submit" class="btn btn-success" style="width:100%;">Proceed</button>
			<div class="col-md-4 col-sm-4 col-xs-12">
				<div class="panel panel-success">
				  <div class="panel-heading">
						<span class="pull-right"><a href="{% url 'shop:cart' %}">Edit List</a></span>
						Review Order
				  <div class="panel-body">
						{% for buy in buyItems %}
						{% if buy.is_purchased == True and buy.user == user %}
				    <h4>{{ buy.product.p_name }}</h4>
						<h5>₱{% widthratio buy.quantity 1 buy.product.p_cost %}</h5>
						{% endif %}
						{% endfor %}
{% endblock %}

Downloadable Source Code Below.

Anyway, if you want to level up your programming knowledge, especially python, try this new article I’ve made for you Best Python Projects with source code for Beginners.

But If you’re going to focus on web development using Django, you can download here from our list of Best Django Projects with source code based on real-world projects.

How To Run The Online Jewelry Shop System in Django?

  • Step 1: Extract/unzip the file
  • Step 2: Go inside the project folder, open cmd and type the following commands to install Django Framework and run the webserver:
  • python migrate
  • python runserver
  • Step 3: Finally, open the browser and go to


In summary, this Online Jewelry Shop System in Django with Source Code can be useful to students or professional who wants to learn python programming language.

This project can also be modified to fit your personal requirements.

Hope this project will help you to improve your skills. Happy Coding!


If you have any questions or suggestions about Online Jewelry Shop System in Django with Source Code, please feel free to leave a comment below.

Leave a Comment