This is a simple MultiVendor e-commerce website built with Django (Python) and Stripe is added as payment processor.
In this website, Vendors (Stores) can register and add their products.
And Users can visit the product and order by paying with Debit/Credit Card (Stripe is Used).
Then Vendor gets the email notification about the order and should deliver the product to the customer based on the address details.
Free Software Development Courses
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. Vendors Can
- Add Products
- Update Profile
- Gets Notification When an Order is made by Users
- Get Orders and Manage Them
C. Users Can Can
- Add to Cart
- Pay with Debit/Credit Card and Order
- While Checkout, User should give the address to deliver
- Get Email Notification about the confirmation of the order
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/simple-multivendor-site.git
Then, Enter the project
$ cd simple-multivendor-site
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
For Sponsor or Projects Enquiry
- Email - hi@vijaythapa.com
- LinkedIn - vijaythapa
Download from Here
vijaythapa333 / simple-multivendor-site
Simple Multi Vendor E-Commerce Website using Python Django.
Also if you want "E-Commerce Project with Payment Integration", follow the article below
Top comments (1)
i faced this error each time i click to login as vendor:
RelatedObjectDoesNotExist at /vendor/vendor-admin/
User has no vendor.
Request Method: GET
Request URL: 127.0.0.1:8000/vendor/vendor-admin/
Django Version: 3.2.4
Exception Type: RelatedObjectDoesNotExist
Exception Value:
User has no vendor.
Exception Location: C:\Users\wise\AppData\Local\Programs\Python\Python38\lib\site-packages\django\db\models\fields\related_descriptors.py, line 421, in get
Python Executable: C:\Users\wise\AppData\Local\Programs\Python\Python38\python.exe
Python Version: 3.8.9