DEV Community

Vijay Thapa
Vijay Thapa

Posted on

Django eCommerce Website, Jewelry Shop (Download)

This is a simple e-commerce website built with Django (Python) and PayPal is added as payment processor.

I've made this as a "Jewelry Shop" website but you can make any website you like.

Project Demo on YouTube

Features of this Project

A. Admin Users Can

  1. Manage Category (Add, Update, Filter and Delete)
  2. Manage Products (Add, Update, Filter and Delete)
  3. Manage Users (Update, Filter and Delete)
  4. Manage Orders (View and Process)

B. Non-Registered Users Can

  1. View Products (Can filter based on category)
  2. Explore Product Details and Related Products

C. Registered Users Can Can

  1. All of Non-Registered Users
  2. Add to Cart
  3. Pay with PayPal or Debit/Credit Card and Order
  4. See the Order Status
  5. See Order History
  6. Update Profile
  7. Change Password
  8. Reset Password

Support Developer

Subscribe & Share my YouTube Channel - https://bit.ly/vijay-thapa-online-courses

Donate

PayPal

Buy me a Coffee ☕️

Donate by wire transfer: E-Mail at donate@vijaythapa.com for wire transfer details.

How to Install and Run this project?

Pre-Requisites:

  1. Install Git Version Control [ https://git-scm.com/ ]

  2. Install Python Latest Version [ https://www.python.org/downloads/ ]

  3. Install Pip (Package Manager) [ https://pip.pypa.io/en/stable/installing/ ]

Alternative to Pip is Homebrew

Installation

1.Create a Folder where you want to save the project

2.Create a Virtual Environment and Activate

Install Virtual Environment First



$  pip install virtualenv


Enter fullscreen mode Exit fullscreen mode

Create Virtual Environment

For Windows



$  python -m venv venv


Enter fullscreen mode Exit fullscreen mode

For Mac



$  python3 -m venv venv


Enter fullscreen mode Exit fullscreen mode

Activate Virtual Environment

For Windows



$  source venv/scripts/activate


Enter fullscreen mode Exit fullscreen mode

For Mac



$  source venv/bin/activate


Enter fullscreen mode Exit fullscreen mode

3.Clone this project



$  git clone https://github.com/vijaythapa333/django-jewelry-shop.git


Enter fullscreen mode Exit fullscreen mode

Then, Enter the project



$  cd django-jewelry-shop


Enter fullscreen mode Exit fullscreen mode

4.Install Requirements from 'requirements.txt'



$  pip install -r requirements.txt


Enter fullscreen mode Exit fullscreen mode

5.Add the hosts

Got to settings.py file

Then, On allowed hosts, Add [‘’].
ALLOWED_HOSTS = ['
']
No need to change on Mac.

6.Now Run Server

Command for PC:



$ python manage.py runserver


Enter fullscreen mode Exit fullscreen mode

Command for Mac:



$ python3 manage.py runserver


Enter fullscreen mode Exit fullscreen mode

7.Login Credentials

Create Super User (Admin)

Command for PC:



$  python manage.py createsuperuser


Enter fullscreen mode Exit fullscreen mode

Command for MAC:



$  python3 manage.py createsuperuser


Enter fullscreen mode Exit fullscreen mode

Then Add Email, Username and Password

Download from Here 👇

GitHub logo vijaythapa333 / django-jewelry-shop

Simple E-Commerce Website with Django

Top comments (2)

Collapse
 
nurali_sulaymonov_3cf7a00 profile image
Nurali Sulaymonov • Edited

Hi Bro Thank you for your work, but there was a problem after the order was set, it is not possible to pay, it gives an error
[05/May/2024 10:52:07] "GET /media/product/gold-and-diamond-ring.jpg HTTP/1.1" 200 18812
[05/May/2024 10:52:22] "GET /add-to-cart/?prod_id=23 HTTP/1.1" 302 0
[05/May/2024 10:52:22] "GET /cart/ HTTP/1.1" 200 20496
Not Found: /checkout/
[05/May/2024 10:52:28] "GET /checkout/? HTTP/1.1" 404 3536
Not Found: /favicon.ico
[05/May/2024 10:52:28] "GET /favicon.ico HTTP/1.1" 404 6948
Not Found: /checkout/
[05/May/2024 11:10:50] "GET /checkout/? HTTP/1.1" 404 3536
r

Collapse
 
s0bacc profile image
S0bacc

That's pretty useful, thanks! Speaking of jewelry stores, I can say that finding outstanding online stores can be quite problematic. However, I managed to discover great indian bracelets on queenofheartsjewelry.us/product-ca..., and in general, all the jewelry there is incredible, so I'm glad I stumbled upon that store.