We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 24
KENDRIYA VIDYALAYA NO.2 ,
ITANAGAR , ARUNACHAL PRADESH
Mysar*
(.§ PROJECT PORTFOLIO
TOPIC — E-COMMERCE DATABASE MANAGEMENT
SYSTEM
SUBMITTED BY: SUBMITTED TO:
SANKET CHAKRABORTY SAROJ K. MISRA SIR
x PGT ((S)
ROLL NO. - 28KENDRIYA VIDYALAYA NO.2 ,
ITANAGAR , ARUNACHAL PRADESH
Mysar*
(.§ PROJECT PORTFOLIO
TOPIC — E-COMMERCE DATABASE MANAGEMENT
SYSTEM
SUBMITTED BY: SUBMITTED TO:
AMAN KUMAR SINGH SAROJ K. MISRA SIR
x PGT ((S)
ROLL NO. - 28ACKNOWLEDGEMENT
It is my pleasure that | acknowledge my
sincere gratitude to our teacher MR. S.K.
MISRA who taught and undertook the
responsibility of teaching the subject
computer science. | have greatly benefited
from his classes. | would like to express my
sincere appreciation for all the other
students of my batch and the good times
that we all shared together. Finally, | would
like to thank our principal K.R. Meena who
has always been a source of inspiration.CERTIFICATE
This is to certify that SANKET CHAKRABORTY, of
class XII ‘A’ Kendriya Vidyalaya No.2 Itanagar,
Arunachal Pradesh has done project on
E-COMMERCE DATABASE MANAGEMENT SYSTEM
under the supervision of Saroj K.Misra. | have taken
interest and have shown at most sincerity in
completion of this project. | certify this project to
our expectation and as per guidelines issued by
CBSE, NEW DELHI
INTERNAL EXAMINER EXTERNAL EXAMINER
PRINCIPALCERTIFICATE
This is to certify that AMAN KUMAR SINGH, of class
XII ‘A’ Kendriya Vidyalaya No.2 Itanagar, Arunachal
Pradesh has done project on
E-COMMERCE DATABASE MANAGEMENT SYSTEM
under the supervision of Saroj K.Misra. | have taken
interest and have shown at most sincerity in
completion of this project. | certify this project to
our expectation and as per guidelines issued by
CBSE, NEW DELHI
INTERNAL EXAMINER EXTERNAL EXAMINER
PRINCIPALHARDWARE AND SOFTWARE REQUIRED
e HARDWARE
PC
MOBILE PHONE
e SOFTWARE
PYTHON (latest version)
MYSql Python ConnectorINTRODUCTION
This project automates the E- COMMERCE
DATABASE MANAGEMENT SYSTEM which
gives the user three different options
through which they can search for the
product of their choice, and finally place
their orders.
The first option is to search through various
catagories of products, for e.g.
Smartphones, Clothes, Groceries, etc.
The user can choose their category and they
will be shown all the products available in
that particular category.The second option is to take a look at all the
products available. The user can choose to
take a look all the different types of
products available and choose their product
from there.
The third option is to search through the
various brands available. The user can
choose to take a look at all the brands
available and choose a particular brand. On
choosing the particular brand the user will
be shown all the products that are available
from that particular brand.
Lastly, the user can place an order of their
product of choice. On placing the order of aparticular product, that product is added
into the order_table in the database with
various other details like the transaction ID
(which is allotted to every transaction that
has been made), product ID, product name,
date of dispatch and the contact details of
the customer.
Also the quantity of the product which has
been ordered is reduced by 1 from the
main_table.
PURPOSE OF THIS PROJECT
The purpose of this project is to provide an
interface to the user which is easy to use
and efficient.It also helps the e- commerce company to
keep a track of the products available , and
the transactions which are being made.
SOME IMPORTANT TERMS
e@ MySql Database
@ Interfacing MySql with python
@ MySql connector
e Functions in pythonimport aysqLcoanector
bjsmysl conser. conect{ustloaet,wer=rot’, passwords daabseauin projet)
cazobjzobjcursox)
def category
print 484884466 Crpore salable are: AHOHLAAAR ELA)
a> "select dines CATEGORY from main, tble"
cxcobjexcoie()
ferchccarbj fecal)
fociia fhe
prine{e])
prin)
inpCategory=inpua("Enter your category: ")
prin")
pri We ae the following japCatgery,')
print")
b'select PRODUCT NAME,PRICE from main table where CATEGORY: {}" format(inpCategory)
cxcobjexccie()
ferchucaroj thal)
foriin fete
prio],
PRICE: “i
def produc:
1='select PRODUCT. NAME,PRICE from main table?
corbjexcetel)
fechseacj fecal)
cbjconnit)
"PRICE: "ide rok):
a:"select PRODUCT NAME,PRICE from main table”
cagobjenset(a)
fechsaai fetal)
chjscemi)
for iin fects
pete)"
pet
def bani
rn ***842 fonds able ne 888888)
3 "xle dsiae BRAND_NAME fom aia cle"
cuchjexeude)
fackewo} fetal)
foriin fects
pine)
pri)
inpBrandinn"What bad ae you okig fo)
prin)
pein We he te allowing neste produc fiom "npBa,)
A)
‘idee PRODUCT NAME PRICE fom ui le were BRAND NAME)" fraatapBad)
cucbjexecr()
faci -awob fetal)
foriiafecke
pine]
PRICE")
giondef ord):
inpContact-iniapee(Eater your to-digt phone aunber:"))
inpOrdersinpwe("What do you waat to order")
a_y="seleet QUANTITY from ania, table where PRODUCT. NAME
cacob.excetelty)
fexcheewobjerchall)
if fer
print("OUT OF STOCK!
set
produc d"selest PRODUCT JD from mai, able where PRODUCT NAME="{}"focmatapOrder)
carobjexeete product id)
fexcuccurolj ecll)
For stating fom mai, table
"update man table set QUANTITY- QUANTITY} where PRODUCT NAME-'()"formatiapOrder)
caobjexcoatel)
objeomi()
cle dei ood
TALS OF CUSTOMER, DATE,OF DISPATCH) aa} 1.) faa] eksngouan ted)
sca oui pa)while True:
priat("WELCOME TO ESHOP} \n")
priat("Press 1 if you are looking for a category.
fprtalt Press if yontanx looking Forajprodacr.!)
print("Press 3if you are looking for a brand. ")
priat("Press 4 if you want to place an order. \a)
inpint-intinpue("Eater your number: "))
priae("ERROR!")
peinr(*Check your number.”)WELCOME TO E-SHOP :)
Press 1 if you are looking for a category.
Press 2 if you are looking for a product.
Press 3 If you are looking for a brand
Press 4 if you want to place an order.
Enter your number: 1
yoniobeeonieek Catagories available are: ebebreeRoR CE:
Smartphones
TABLETS
Television
Clothes
Shoes_Footwears
Grocery
Games
Enter your category: |
Enter your category: smartphones
We have the following smartphones :
Vivo V12. ------------- PRICE: 20000
Vivo V10_Pro - PRICE: 18000
Vivo Z12 PRICE: 47000
Iphone ALO - PRICE: 15000
Iphone X11 - PRICE: 50000
Iphone Z15_PLUS - PRICE: 37880
Infinix S17_LITE - PRICE: 27580
Infinix XZ29 PRICE: 67890
Infinix K17 -: PRICE: 17000
xWELCOME TO E-SHOP :)
Press 1 if you are looking for a category.
Press 2 if you are looking for a product.
Press 3 if you are looking for a brand.
Press 4 if you want to place an order.
Enter your number: 2
Vivo V12_ ------------- PRICE: 20000
Vivo V10_Pro - PRICE: 18000
Vivo Z12 - PRICE: 47000
Iphone A10 - PRICE: 15000
Iphone X11 ---~ - PRICE: 50000
PRICE: 37880
PRICE: 27580
Iphone Z15_PLUS
Infinix S$17_LITE
Infinix XZ29 PRICE: 67890
Infinix K17_ - PRICE: 17000
Realme K19 PRICE: 21000
Realme G7 - PRICE: 34000
LG 120 - PRICE: 30000
Sony All
Sony AL1_Pro_Plus
Micromax B12
Mens_T-Shirt_S -
- PRICE:
35000
- PRICE: 40000
PRICE: 40000
PRICE: 1300
Mens_Sweat-Shirt_S - PRICE: 260
Women_Saree PRICE: 750
Children_Shirts_Pants - PRICE: 657
PRICE: 1570
Women_Leggings_L
Women_Salwar_Kameez_XL - PRICE: 1570
Women_Jeans_M -~ - PRICE: 2050
Nike Canvas_Shoes - PRICE: 670
Nike Sports_Shoes - PRICE: 569
Addidas Sports_Shoes - PRICE: 789Addidas Canvas_Shoes
Addidas Footwears
- PRICE: 789
- PRICE: 300
Nike Footwears - PRICE: 360
Bata Footwears PRICE: 200
Bata Canvas_Shoes - PRICE: 490
Bata Sports_Shoes - PRICE: 670
Maggi_Noodles - PRICE: 10
Yippe_Noodles - PRICE: 10
Surfexl_Detergent - - PRICE: 20
Nirma_Detergent PRICE: 10
Bikaner_Bhujia_ - PRICE: 50
Haldiram_Bhujia - PRICE: 50
Dragon_Ball_Kakkarot PRICE: 140
Dragon_Seiya - PRICE: 148
Call_Of_Duty - PRICE: 120
Dota
PRICE: 150WELCOME TO E-SHOP :)
Press 1 if you are looking for a category.
ress 2 you are looking for a product:
Press 3 if you ae looking for a brand.
Press 4 if you want to place an order.
Enter your number: 3
-neeseeneneBrands avallable are: *##KHORNN EEK
vivo
‘APPLE
INFINIX
REALME
is
Sony
MICROMAK
ZARA
TIN
RAJESH
NIKE
|ADDIDAS.
BATA
Magai
Yippe
SURFEXL
NIRMA
BIKANER
HALDIRAM
BANDAL
Playstation
What brand are you looking for?:|
What brand are you looking for?: vivo
We have the following available products from vivo :
Vivo V12 PRICE: 20000
Vivo V10_Pro - PRICE: 18000
Vivo Z12 PRICE: 47000
xWELCOME TO E-SHOP :)
Press 1 if you are looking for a category.
Press 2 if you are looking for a product.
Press 3 if you are looking for a brand.
Press 4 if you want to place an order,
Enter your number: 4
Enter your 10-digit phone number: 9436123456
What do you want to order? vivo v12
Your order has been placed.REFERENCES
Class 11 Book (Sumitra Arora python)
Class12 Book( Sumitra Arora python)
LINKS:
https://google.com