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
- Manage Category (Add, Update, Filter and Delete)
- Manage Products (Add, Update, Filter and Delete)
- Manage Users (Update, Filter and Delete)
- Manage Orders (View and Process)
B. Non-Registered Users Can
- View Products (Can filter based on category)
- Explore Product Details and Related Products
C. Registered Users Can Can
- All of Non-Registered Users
- Add to Cart
- Pay with PayPal or Debit/Credit Card and Order
- See the Order Status
- See Order History
- Update Profile
- Change Password
- Reset Password
Support Developer
Subscribe & Share my YouTube Channel - https://bit.ly/vijay-thapa-online-courses
Donate
Donate by wire transfer: E-Mail at donate@vijaythapa.com for wire transfer details.
How to Install and Run this project?
Pre-Requisites:
Install Git Version Control [ https://git-scm.com/ ]
Install Python Latest Version [ https://www.python.org/downloads/ ]
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
Create Virtual Environment
For Windows
$ python -m venv venv
For Mac
$ python3 -m venv venv
Activate Virtual Environment
For Windows
$ source venv/scripts/activate
For Mac
$ source venv/bin/activate
3.Clone this project
$ git clone https://github.com/vijaythapa333/django-jewelry-shop.git
Then, Enter the project
$ cd django-jewelry-shop
4.Install Requirements from 'requirements.txt'
$ pip install -r requirements.txt
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
Command for Mac:
$ python3 manage.py runserver
7.Login Credentials
Create Super User (Admin)
Command for PC:
$ python manage.py createsuperuser
Command for MAC:
$ python3 manage.py createsuperuser
Then Add Email, Username and Password
Top comments (2)
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
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.