0% found this document useful (0 votes)
35 views42 pages

Electronix: Online Electronics Store

Uploaded by

Payal Kori
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views42 pages

Electronix: Online Electronics Store

Uploaded by

Payal Kori
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 42

ELECTRONIX

ONLINE
ELECTRONICS
STORE

P a g e 1 | 42
PROJECT REPORT ON
Online Electronics Store
UNDER THE GUIDANCE OF
Ms. Nancy Nelson
SUBMITTED BY

Pranav Mishra

UNIVERSITY OF MUMBAI
S.Y.B.Sc (COMPUTER SCIENCE) ACADEMIC
YEAR: 2023-24

BHARTIYA VIDYA BHAVAN’S


MM COLLEGE OF ARTS, NM COLLEGE OF COMMERCE & HRJ
COLLEGE OF COMMERCE

BHAVAN’S COLLEGE
MUNSHI NAGAR, ANDHERI (WEST),
MUMBAI – 400058

P a g e 2 | 42
BHAVAN’S COLLEGE
MUNSHI NAGAR, ANDHERI (WEST),
MUMBAI – 400058
BHARATIYA VIDYA BHAVAN

CERTIFICATE
This is to certify that Mr. Pranav Mishra of the class
S. Y. B. Sc. Computer Science has satisfactorily completed the practical course
as prescribed by the University of Mumbai during the academic year 2023 – 24.

P a g e 3 | 42
ACKNOWLEDGEMENT

I would like to express my sincere gratitude towards the Computer Science Department of
Bhavan’s College.

After months of hard work, finally I am very happy to present my second year Project.
The Project making was full of new experiences and learning and difficult one too. Though a
difficult job it was made simpler by the timely guidance received, which helped me greatly in
the completion of my project. But it wouldn’t be right to do so without thanking to those who
have helped me in converting our thought into reality. So, I would like to take full advantage of
this opportunity to thank each and every person who has helped me throughout the completion
of our project.

I am obliged to my parents & family members who always support me greatly and
encouraged me in each and every step. I give my special thanks and sincere gratitude towards
the Principal Dr (Mrs) Zarine Bathena ,Head of Department(Computer Science) Prof. Mrs.
Krupa Kamdar.

I owe my sincere thanks to our Project guide Prof Ms. Nancy Nelson for their constant
support and encouragement without which the successful completion of this project would have
been impossible. They have been instrumental for making me concentrate and focus my effort
in this project.
Finally, I would like to thank each and every individual who was directly or indirectly
contributing for this project.

-Thank you

P a g e 4 | 42
INDEX

Sr. No. Topics Page No.


1. Preliminary Investigation
1.1. Title of the Project
1.2. Description of System
1.3. Advantages of present system
1.4. Requirement specification: Software and hardware
1.5. Number Of Modules
1.6. Technology used
1.7. Gantt Chart
2. System Analysis
2.1. Fact Finding Techniques
2.2. Event Table
2.3. Use Case Diagram
2.4. ERD (Entity Relationship diagram)
2.5. Class diagram
2.6 Object Diagram
2.7 Activity Diagram
2.8 Sequence diagram
2.9 Site Map
3. System Design
3.1 Deployment Diagram
4. System Coding
4.1 List of tables with attributes and constraints
4.3 Program Description with code
4.4 Validations
4.5 Test Cases, Test Data and Test Results
4.6 Screen Layouts

5. Future Enhancements

6. Conclusion

7. References and bibliography

P a g e 5 | 42
BHAVAN’S COLLEGE, ANDHERI (W)

DEPARTMENT OF COMPUTER SCIENCE

Project Documentation
PHASE COMPLETION CHART

CLASS : SY.BSc. COMPUTER SCIENCE


ROLL NO. : 15
STUDENT NAME : PRANAV MISHRA
TITLE OF THE PROJECT: ONLINE ELECTRONICS STORE

Expected Actual Time of


Phase Title Date of Completion with Remarks
Completion Guide’s Signature
I. Preliminary investigation

a) Title of the Project 20/8/23


b) Description of System 20/8/23
c) Advantages of the present 22/8/23
system
d) Required Specification 24/8/23
e) Number of Modules 24/8/23
f) Technology Used 24/8/23
g) Gantt chart 3/10/23

II. System Analysis

a) Fact Finding Techniques 25/8/23


(Questionnaire) 30/8/23
b) Use Case Diagram
c) ERD 30/8/23
d) Class diagram 01/9/23
e) Object Diagram
01/9/23
f) Activity Diagram
g) Sequence diagram 06/9/23
h) Site map 07/9/23

P a g e 6 | 42
III. System Design

a) Deployment Diagram 17/09/13

IV. System Coding


a) List of tables with 14/9/23
attributes and constraints
b) Program Description 17/9/23
[Programs / Classes and
their responsibilities in
brief] with Naming
Convention
c) Validations 23/9/23
d) Test Cases, Test Data and
Test Results [Write test 24/9/23
cases for all imp.
programs]
e) Screen Layouts
27/9/23

V. System Implementation 30/9/23


VI. Project Submission 5/10/23

P a g e 7 | 42
1. Preliminary Investigation

1.1 Title of the Project:


ELECTRONIX

• The name of the Shop is “ELECTRONIX “. The address of the office 4JP Rd, Old D N
Nagar, Munshi Nagar, Andheri West, Mumbai, Maharashtra 400058
• It was started by Pranav Mishra in 2019.
• It is basically an electronic shop which has products like Laptops, phones, and accessories like
smart watch , speaker ,PS5, Gaming accessories etc.

1.2 Description of the system:

• Present system is a complete offline system.


• All the records of staff, customers, and Payments are kept in various registers and
files.
• If Customer comes then employee has to attend the customer.
• The customer can choose the product which is displayed in the shop and if the order
is in bulk then the employee takes the order for the particular product.
• Once the customer has chosen the product the receipt is been generated in which the
name of the product and the price of the system is been given and also the quantity of
the product.

1.3 Advantages of Present System :

• Global Reach: Your online store allows you to reach customers not only locally but also
globally, expanding your market potential.

• 24/7 Accessibility: Customers can browse and make purchases at any time, providing
them with convenience and flexibility.

• Reduced Overhead Costs: Operating an online store typically involves lower costs
compared to maintaining a physical storefront, such as rent, utilities, and staffing.

• Wider Product Selection: You can offer a wider range of electronic products and
accessories compared to a physical store due to the virtual nature of your business.

• Detailed Product Information: Online product listings can include detailed information,
specifications, and customer reviews, helping customers make informed decisions.

P a g e 8 | 42
• Personalized Shopping Experience: You can implement recommendation engines and
personalized product suggestions based on customer preferences, enhancing the shopping
experience.

• Customer Reviews and Ratings: Positive reviews and ratings from satisfied customers
can build trust and credibility for your brand.

• Scalability: It's easier to scale up your online business by adding new products or
expanding into different markets.

• Cost-Effective Marketing: Online advertising and social media promotion can be more
cost-effective than traditional advertising methods.

• Competitive Advantage: An efficient and user-friendly online store can give you a
competitive edge in the electronic retail market.

• Easier Expansion: If you decide to diversify into related product categories, your online
platform can easily accommodate these changes.

• Customer Data: Collecting customer data allows you to create targeted marketing
campaigns and improve customer retention.

• Eco-Friendly: Operating primarily online can be environmentally friendly by reducing


the need for physical stores and associated resources.

1.4 Requirement Specification : Software and hardware :

• Device: Customers can access your website using a wide range of devices, including smartphones,
tablets, laptops, and desktop computers.

• Web Browser: Customers need a web browser to access your website. Your website should be
compatible with popular web browsers such as:

▪ Google Chrome
▪ Mozilla Firefox
▪ Apple Safari
▪ Microsoft Edge
▪ Opera

• Internet Access: Customers need an active internet connection to browse your online store and
make purchases. The website should be accessible over both wired (e.g., Ethernet) and wireless
(e.g., Wi-Fi, mobile data) connections.

• Connection Speed: While your website should be accessible on slower connections, a broadband
or high-speed internet connection is ideal for faster loading of web pages and smooth online
shopping experiences.

P a g e 9 | 42
1.5 Number Of Module :

User Registration Module:


Enables user to register on website and records all the data input from user to database.

User Module:
User after successful login can go for selecting and purchasing their needs.

Home Module
Home page of Mobile Accessories Shopping Website.

Admin Login:
Admin needs to login for accessing their rights.

My Cart:
User can see their Shopping cart.

Contact us:
The user can contact with the management.

Carrer :
User can Apply for wide opportunity to work with electronix

About :
User will get to know more about Electronix

Terms and condition & Private Policy :


Condition of electronics and private policy of the website will be mention of this two
pages

1.7 Technologies Used :

• Software: Microsoft Visual studio 2022


• Languages: C#
• Database System: Microsoft SQL Server 2012

P a g e 10 | 42
2.System Analysis
2.1 Fact Finding Technique Questionnaire

• Why do you need a online application?


• What exactly do you need in the application?
• What language do you want the application to be coded in?
• What is your Budget?
• Do you want an annual/monthly report generation system?

DIAGRAMS

2.3 Use Case Diagram

P a g e 11 | 42
2.4 Entity Relationship Diagram

P a g e 12 | 42
2.5 Class Diagram

P a g e 13 | 42
2.6 Object Diagram

P a g e 14 | 42
2.5 Activity Diagram

ADMIN ACTIVITY DIAGRAM

P a g e 15 | 42
USER /CUSTOMER ACTIVITY DIAGRAM

P a g e 16 | 42
2.8 Sequence Diagram

PAYS

P a g e 17 | 42
2.9 Site Map

PRODUCT Profile

P a g e 18 | 42
3. SYSTEM DESIGN

3.1 Deployment Diagram

P a g e 19 | 42
4. System Coding

4.1 List Of Tables With Attributes And Constraints

Field Name Data Type Constraint Description

ID int Not null primary Customer ID


key

NAME varchar(10) Not null Customer name

EMAILID varchar(50) Not null Customer email id

PASSWORD varchar(10) Not null Customer password

PHONENO varchar(10) Not null Customer phone no

ADDRESS varchar(max) Not null Address of Customer

Customer Table with Attributes and Constraints

Field Name Data Type Constraint Description

P_ID int Not null primary key Product ID

P_NAME varchar(50) Not null Product Name

P_PRICE int Not null Product Price

P_DISCRIPTION Varchar(70) Not null Discription of the Product

Product Table with Attributes and Constraints

Field Name Data Type Constraint Description

ADMIN_ID int Not null primary key chef ID

ADMIN_PASS Varchar(10) Not Null chef name

Admin Table with Attributes and Constraints

P a g e 20 | 42
AddProduct.aspx.cs

using System;
using System.Collections.Generic;
using System.Linq; using
System.Web; using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient; using
System.Configuration; using
System.Data;
using System.IO;

public partial class Add_Product : System.Web.UI.Page {


SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["mydbConnectionString"].ConnectionStr
ing);
SqlCommand cmd;
DataSet ds = new DataSet();
SqlDataAdapter da = new SqlDataAdapter();
string q;
private void Display()
{
try
{
if (con.State == ConnectionState.Closed)
{
con.Open();
}

q = "Select
product_id,product_name,product_price,category_id,product_img,product_size,product_description
from Product_detail";
cmd = new SqlCommand(q, con);
da.SelectCommand = cmd;
da.Fill(ds, "Prod");
gvProd.DataSource = ds.Tables["Prod"];
gvProd.DataBind();
}
catch (Exception ex)
{
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Display();

P a g e 21 | 42
}
}

protected void btnAdd_Click(object sender, EventArgs e)


{
try
{
FileInfo fi = new FileInfo(upload.PostedFile.FileName);
string ext = fi.Extension;
if ((ext == ".jpg" | ext == ".png"))
{
string filename = upload.PostedFile.FileName;
upload.SaveAs(Server.MapPath("~/Pictures/" + filename)); if
(con.State == ConnectionState.Closed)
{
con.Open();
}
if (btnAdd.Text == "Submit")
{
string q1 = "Select category_id from Category_detail where category_name=@cn ";
cmd = new SqlCommand(q1, con);
cmd.Parameters.AddWithValue("@cn", DropDownList1.SelectedItem.Text.Trim());
int catid = Convert.ToInt32(cmd.ExecuteScalar());
q = "Insert into Product_detail
(product_name,product_price,category_id,product_img,product_size,product_description)values(@
pn,@pr,@cid,@d,@s,@des)";
cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@pn", txtnm.Text.Trim());
cmd.Parameters.AddWithValue("@pr",txtPrice.Text.Trim());
cmd.Parameters.AddWithValue("@cid", catid);
cmd.Parameters.AddWithValue("@d", upload.PostedFile.FileName);
cmd.Parameters.AddWithValue("@s", txtSize.Text.Trim());
cmd.Parameters.AddWithValue("@des", txtDes.Text.Trim()); int i =
Convert.ToInt32(cmd.ExecuteNonQuery()); if (i > 0) {
Response.Write("<script>alert('Insert Successful')</script>");
Display();
}
else
{
Response.Write("<script>alert('Insert UnSuccessful')</script>");
}
}
else if ((btnAdd.Text == "Update"))
{
string q1 = "Select category_id from Category_detail where category_name=@cn";
cmd = new SqlCommand(q1, con);
cmd.Parameters.AddWithValue("@cn", DropDownList1.SelectedItem.Text.Trim());
int catid = Convert.ToInt32(cmd.ExecuteScalar());
q = "Update Product_detail set

P a g e 22 | 42
product_name=@pn,product_price=@pr,category_id=@cid,product_img=@d,product_size=@s,pr
oduct_description=@des where product_id=@pid";
cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@pn", txtnm.Text.Trim());
cmd.Parameters.AddWithValue("@pr", txtPrice.Text.Trim());
cmd.Parameters.AddWithValue("@cid", catid);
cmd.Parameters.AddWithValue("@d", upload.PostedFile.FileName);
cmd.Parameters.AddWithValue("@s", txtSize.Text.Trim());
cmd.Parameters.AddWithValue("@des", txtDes.Text.Trim());
cmd.Parameters.AddWithValue("@pid", Convert.ToString(ViewState["product_id"]));
int i = Convert.ToInt32(cmd.ExecuteNonQuery());
if (i > 0)
{
Display();
}
else
{
Response.Write("<script>alert('Update Unsuccessful')</script>");
}
}

btnAdd.Text = "Submit";
}
else
{
Response.Write("<script>alert('Please Insert An Product Design')</script>");
}
}
catch (Exception ex)
{
}

protected void gvProd_SelectedIndexChanged(object sender, EventArgs e)


{
string pid = Convert.ToString(gvProd.SelectedDataKey.Value);
ViewState["product_id"] = pid;
DisplayRecords(pid);
}
private void DisplayRecords(string pid)
{
try
{
if (con.State == ConnectionState.Closed)
{
con.Open();
}

P a g e 23 | 42
q = "Select
product_name,product_price,category_id,product_img,product_size,product_description
from Product_detail where product_id=@pid";
cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@pid", pid);
SqlDataReader dr = cmd.ExecuteReader();
while ((dr.Read()))
{
txtnm.Text = Convert.ToString(dr["product_name"]);
txtPrice.Text = Convert.ToString(dr["product_price"]);
txtSize.Text = Convert.ToString(dr["product_size"]);
txtDes.Text = Convert.ToString(dr["product_description"]);
}

btnAdd.Text = "Update";
}
catch (Exception ex)
{
}
}
protected void gvProd_RowDeleting(object sender, GridViewDeleteEventArgs e)
{
try
{
int i = Convert.ToInt32(e.Keys[0]);
if (con.State == ConnectionState.Closed)
{
con.Open();
}

q = "Delete from Product_detail where product_id=@pid";


cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@pid", i);
int ie = Convert.ToInt32(cmd.ExecuteNonQuery());
if (ie > 0)
{
Display();
}
else
{
Response.Write("<script>alert('Problem Occured During Deletion')</script>");
}
}
catch (Exception ex)
{
}
}

P a g e 24 | 42
protected void btnReset_Click(object sender, EventArgs e)
{
txtnm.Text="";
txtPrice.Text = "";
txtSize.Text = "";
}
}

P a g e 25 | 42
Login.aspx

P a g e 26 | 42
P a g e 27 | 42
4.2 Validations

Field Name Valid Values Invalid Values

name Pranav %pranav

address Hiranandani,powai @sakinaka

Phone no 9980128373 Abc987858

Email id [email protected] elec.com

Customer Table

Field Name Valid Values Invalid Values

P_ID 57890 %#%

P_NAME IamAdmin 67/89_/Admin

P_PRICE 999999 Abc#858

P_DISCRIPTION Asus-Rog ram 32gb __@1````+_


Storage 2TB NvMe ssd

Product Table

Field Name Valid Values Invalid Values

ADMIN_ID 57890 Admin

ADMIN_PASS anku@1234 Admin

Admin Table

P a g e 28 | 42
Test Cases, Test Data and Test Results

Test Module Why Input Expected Observed Remark


Case
Output Output
ID

1 Admin To check if it only Valid Access is Access was PASS


Login gives access to the Credentials granted granted
admin

2 Admin To check if it only Invalid Access Access PASS


Login gives access to the Credentials Denied with was
admin an error denied and a
message message was
shown
3 Admin To Check if it only Blank Access Access PASS
Login gives access to the denied with was
admin an error denied and an
message for error message
the same was shown

4 Customer To check if the Valid Access is Access PASS


Login access is granted Credentials granted was
only to the granted
customers

5 Customer To check if the Invalid Access Access PASS


Login access is granted Credentials is was
only to the denied with denied and an
customers an error error message
message for was shown
the same
6 Customer To check if the Blank Access is Access PASS
Login access is granted denied with was
only to the an error denied and an
customers message for error message
the same was shown

P a g e 29 | 42
4.3 Screen Layouts

Home page

P a g e 30 | 42
Why Us page

P a g e 31 | 42
About page

P a g e 32 | 42
Laptop Page

P a g e 33 | 42
Mobile Page

P a g e 34 | 42
Accessories Page

P a g e 35 | 42
Login Page

Policy Page

P a g e 36 | 42
Our services Page

Contact us Page

P a g e 37 | 42
Terms and Condition Page

P a g e 38 | 42
Career Page

P a g e 39 | 42
5.Future Enhancement

• Payment Integration: Adding secure payment options for seamless transactions.

• Enhanced User Interface: Improving the website's user-friendliness for a better


experience.

• User Feedback-Driven Updates: Adapting the system based on valuable user


suggestions.

• Advanced Modules: Incorporating cutting-edge features for an upgraded platform.

• Scalability: Allowing admin to hire and manage employees for business growth.

• Providing a More User-Friendly Interface: Our commitment to improving user


experience is evident through the goal of providing a more user-friendly interface.

• Rectification and Enhancement Based on User Feedback: Customer feedback is


invaluable for continuous improvement.

P a g e 40 | 42
6. Conclusion

Bringing the Offline Store Online:


This project has successfully transitioned an offline electronic store into an online platform.
This digital transformation has opened up new avenues for business by tapping into the vast online
consumer market.

Interactive and User-Friendly Interface:


The project features an interactive and user-friendly interface, making it easy for customers to navigate
and explore products.
User experience is prioritized, ensuring that visitors can find what they need with ease.

Fulfilling Client Needs:


Our project has met and even exceeded the requirements and expectations of your client.
By delivering a solution that aligns with the client's vision, you've demonstrated your commitment to their
success.

Empowering Both Sellers and Customers:


Sellers now have a digital platform to showcase their electronic products to a broader audience.
Customers can conveniently browse, compare, and purchase electronic items from the comfort of their
homes.
This empowerment fosters a win-win situation for both sellers and customers.
Ease of Selling and Buying Online:

The project has simplified the process of selling electronic products online for sellers.
Sellers can efficiently manage their online storefronts, showcase their products, and handle transactions.
For customers, buying electronic products online is now a hassle-free experience with easy access to
product information, reviews, and secure payment options.
Expanded Market Reach:

By going online, the store has transcended geographical boundaries, reaching customers far and wide.
This expanded market reach increases the potential for sales and growth.
Convenience and Accessibility:

P a g e 41 | 42
7. References and bibliography

https://app.diagrams.net/
https://www.youtube.com/
https://staruml.io/
https://www.istockphoto.com/
https://fontawesome.com/
https://bootstrapmade.com/
https://www.w3schools.com/
https://getbootstrap.com/
https://datatables.net/examples/styling/bootstrap4
https://favicon.io/

P a g e 42 | 42

You might also like