Beruflich Dokumente
Kultur Dokumente
By
Bijjar Sayed
(BSCS/S14/0116)
M. Usman Khan
(BSCS/S14/0108)
M. Hassam Shakeel
(BSCS/S14/0101)
2018
Bijjar Sayed
(BSCS/S14/0116)
M. Usman Khan
(BSCS/S14/0108)
M. Hassam Shakeel
(BSCS/S14/0101)
By
Bijjar Sayed
(BSCS/S14/0116)
M. Usman Khan
(BSCS/S14/0108)
M. Hassam Shakeel
(BSCS/S14/0101)
Bachelors of Science
In
Computer Science
CERTIFICATE
This project “Web Based Uni Platform Application for Maintaining Shopping Malls” is
presented by Bijjar Sayed, M. Hassam Shakeel and M. Usman Khan under the supervision
of their project advisor and approved by the project examination committee, and acknowledged
by the Hamdard Institute of Engineering and Technology, in the fulfillment of the requirements
for the Bachelor degree of Computer Science.
_____________________ _______________________
In-charge FYP-Committee Mr. Afzal Hussain
(Project Supervisor)
______________________ _______________________
Prof. Dr. Aqeel-ur-Rehman Muhammad Fahad
Chairman (Project Co-Supervisor)
(Department of Computing)
_______________________
Prof. Dr. Vali Uddin
(Dean, FEST)
Acknowledgement
All praises to Al Mighty” ALLAH”, the most merciful, the most gracious, the source of
knowledge and wisdom end owed to mankind. All respects for Holy Prophet “Hazrat
MUHAMMAD ﷺ, whose personality will always be source of guidance for humanity.
We wish to express our appreciation to our Supervisor, Mr Afzal Hussain who served as our
major advisor. We would like to express our heartiest gratitude for their keen guidance, sincere
help and friendly manner which inspires us to do well in the project and makes it a reality.
Many people, especially our classmates and team members itself, have made valuable comment
suggestions on this proposal which gave us an inspiration to improve our project. We thank all
the people for their help directly and indirectly to complete our project.
I
Abstract
E-commerce is not a new thing but has been a great source of online business for many years. In
the modern world internet has made business much easier through online transaction and virtual
stoppings, banks have moved to internet banking which has given benefits to e-commerce.
It’s very common these days to order anything from online and get the product at your gate, all
you need to do is go to that particular shop website and order and even pay the bill online.
This process is quite easy for large business vendor’s to obtain a website and maintain it for their
customers, their budget is well enough to permit large vendor’s to obtain a website and maintain
for business purposes. As earlier discussed E-commerce is growing rapidly, business owner
focuses on coming online to facilitate their customers, at the same time small business owner
require their own website for the business too.
The project focuses on small vendors to help them get their business online. The project
addresses that to obtain a single platform and allow multiple shops to business online. The
purposed project targets a shopping mall where different business owners are running their
businesses having multiple website, which is quite difficult for customer to remember each
website name too. The project will have a single name to let the customer to browse through that
one single name and virtually visit each shop present at the shopping mall be a small are large
vendor. The project will also resolve the budget problem for small business owner as having a
stand-alone website will require them a greater budget than the budget is require to obtain a
portion of proposed project.
Keywords: E-commerce, content management system (CMS), single platform, virtual visit.
II
Table of Contents
Acknowledgement ..........................................................................................................................I
Abstract ......................................................................................................................................... II
Table of Contents ......................................................................................................................... III
List of Figures .............................................................................. Error! Bookmark not defined.
List of Tables ............................................................................................................................. VII
List of Abbreviations ................................................................................................................ VIII
CHAPTER 1 ................................................................................................................................. 1
INTRODUCTION TO THE PROJECT ........................................................................................ 1
1.1 Introduction ......................................................................................................................... 1
1.2 Purpose................................................................................................................................ 1
1.3 Motivation ........................................................................................................................... 1
1.4 Problem Statement .............................................................................................................. 2
1.5 Background ......................................................................................................................... 2
1.6 Solution Scope .................................................................................................................... 2
CHAPTER 2 ................................................................................................................................. 3
DETAILED REQUIREMENTS SPECIFICATION ..................................................................... 3
2.1 Functional Requirements System Features ......................................................................... 3
i. Admin .................................................................................................................................. 3
ii. Shop panel ........................................................................................................................... 4
User Purchase ..................................................................................................................... 5
2.2 Non-Functional Requirements ............................................................................................ 7
i. Performance ........................................................................................................................ 7
ii. Security ............................................................................................................................... 7
iii. Usability .............................................................................................................................. 7
iv. Portability ........................................................................................................................... 7
2.3 Software Quality Attributes ................................................................................................ 7
i. Availability .......................................................................................................................... 7
2.4 Assumptions and Constraints .............................................................................................. 7
i. Constraints .......................................................................................................................... 7
ii. Assumptions ........................................................................................................................ 8
CHAPTER 3 ................................................................................................................................. 9
III
How It Works................................................................................................................................. 9
3.1 Admin Login ..................................................................................................................... 10
3.2 Admin Dashboard ............................................................................................................. 11
3.3 Malls Listed ...................................................................................................................... 12
3.4 Shop Creation.................................................................................................................... 13
3.5 Vendor Panel (Shop Insertion).......................................................................................... 14
3.6 Edit and Update product ................................................................................................... 15
3.7 Implementation ................................................................................................................. 16
3.8 Home Page ........................................................................................................................ 17
CHAPTER 4 ............................................................................................................................... 19
Software Development Model ..................................................................................................... 19
4.1 Methodology ..................................................................................................................... 19
4.2 Requirement Phase............................................................................................................ 19
4.3 Development Phase ........................................................................................................... 20
4.4 Testing Phase .................................................................................................................... 21
Black Box Testing .......................................................................................................... 22
System Testing ............................................................................................................... 22
Unit Testing ................................................................................................................... 23
Integration testing ......................................................................................................... 23
Functional testing.......................................................................................................... 23
User Acceptance Testing ............................................................................................... 23
Finalized testing ............................................................................................................ 24
4.5 Test Cases ......................................................................................................................... 24
4.5.1 Test Case # 1 ................................................................................................................. 24
4.5.2 Test Case # 2 ................................................................................................................. 25
4.5.3 Test Case # 3 ................................................................................................................. 25
4.5.4 Test Case # 4 ................................................................................................................. 26
4.5.5 Test Case # 5 ................................................................................................................. 26
4.5.6 Test Case # 6 ................................................................................................................. 27
4.5.7 Test Case # 7 ................................................................................................................. 27
4.5.8 Test Case # 8 ................................................................................................................. 28
CHAPTER 5 ............................................................................................................................... 29
Project Planning ........................................................................................................................... 29
IV
5.1 Project Timeline ................................................................................................................ 29
5.2 Designing Phase ................................................................................................................ 30
System Diagram ........................................................................................................................... 30
CHAPTER 6 ............................................................................................................................... 34
TOOLS AND TECHNIQUES ..................................................................................................... 34
6.1 Project Techniques ............................................................................................................ 34
CSS (Cascading Style Sheet) ......................................................................................... 34
Smart Draw ................................................................................................................... 34
Java Script ..................................................................................................................... 34
HTML ............................................................................................................................ 34
6.2 Project Tools ..................................................................................................................... 35
Web-Browser ................................................................................................................. 35
Visual Studio ................................................................................................................. 35
Sublime 3 ....................................................................................................................... 36
Notepad++ .................................................................................................................... 36
MS-Project .................................................................................................................... 36
MS-Word ....................................................................................................................... 36
MS-PowerPoint ............................................................................................................. 36
CHAPTER 7 ............................................................................................................................... 37
CONCLUSION AND FUTURE WORK .................................................................................... 37
7.1 Limitation .......................................................................................................................... 37
7.2 Conclusion ........................................................................................................................ 37
7.3 Future Work ...................................................................................................................... 37
REFERENCES ........................................................................................................................... 38
APPENDICES ............................................................................................................................ 39
Appendix A: Admin login ........................................................................................................... 39
Appendix B: Customer CMS Creation ....................................................................................... 40
Appendix C: Dashboard ............................................................................................................... 43
Appendix D: Mall Creation ......................................................................................................... 46
Appendix E: Customer Management Dashboard ........................................................................ 47
Appendix F: Customer Product Edits .......................................................................................... 50
Appendix G: Customer Order List ............................................................................................... 52
Appendix H: Purchasing User Login ........................................................................................... 55
V
List of Figures
VI
List of Tables
Table No. Descriptions Page No.
VII
List of Abbreviations
DB: Database
MS: Microsoft
VIII
CHAPTER 1
INTRODUCTION TO THE PROJECT
1.1 Introduction
The project web based uni platform application for maintaining shopping malls in unique itself
by providing facility to small business owners in a huge shopping mall to use E-commerce
feature in a mutual website containing one entire shopping mall.
Actually the idea is to combine a whole shopping mall in a signal website in which multiple
(may be 100) shops running in the particular mall. For each shop a separate content management
system (CMS) is created so they can place and view their products and orders.
The web based uni platform application for maintaining shopping malls and is a Web based
platform for the digital aspects that allows small business owner to share the entire web app for
their customer facilitation.
Taking an example of ABC shopping mall which has 100 shops in it and when a client intends
to buy some product to that particular ABC mall, he/she simply brows the ABC.com and
virtually visits each shop be a small or a large outlet. He /she has nothing to do with the
remembering each shop name and their web site name so to shop.
It integrates an entire shopping mall supporting multiple functions. It also incorporates all the
following tools within one single software environment.
1.2 Purpose
The purpose of the project is to make E-commerce easier than ever buy the integration of
multiple CMS. Further the purpose extends to make the E-commerce operations easier such as
product placement, order views and monthly report card.
1.3 Motivation
It has said every problem drives to some solution, similarly in this project the problem was to
find a single web site that contains many shops and their CMSs for online shopping. While
having our literature review we could not find such a website so we took that challenge to
develop that solution by our self that can facilitate shopping malls for better use of E-commerce.
1
1.4 Problem Statement
Observing that people are often confused where to shop online similarly small business owner
facing same problem how to acquire a website and how to advertise it so people should know.
Having stand-alone website cost them quite much and its social media advertisement and
marketing is another cost, this fear often leaves them in dark rooms.
1.5 Background
The basic purpose for reviewing is to relate to ongoing research to develop that knowledge. The
literature review may resolve the argument and provides better exposure to the current research.
Literature review is significant factor that allows the researcher to look back on the work done on
similar project and learn from their findings. The tenacity of literature review is to examine the
work done by older students and compare this system with other system. Most importantly a
review helps to find the right direction by critically analyzing the published paper/article.
2
CHAPTER 2
DETAILED REQUIREMENTS SPECIFICATION
2.1 Functional Requirements System Features
The project basically consists of three major panels one is admin panel, second is client panel
(shops) and third one is customer panel (buyer panel). But the main panels are admin and
customer. Further defined below.
i.Admin
Admin can creates/delete accounts for clients and gives rights to client for managing their CMS.
We have facilitated our system by authentication, which lets management from admin panel.
Here happens the management of application with multiple options. [2] Product attributes
management, sales reports, prices charts and mall creations are key functions to be access from
dashboard. Somehow dashboard can be thought of a managerial room.
To access the Admin Panel, clink on admin link given on the bottom of web page, enter your
administrator account email address and password, and click log in [3]. All modern browsers
support. Transport Layer Security is a certificate for secure log in’s.
When navigating the dashboard of admin remain aware of that we round big quantities for the
dashboard view, but if you need to know you can click any of the numbers to see an exact count.
The information shown first on the dashboard provides a quick overview of users with bypass or
locked out status, inactive users who haven't logged in recently, your total end user count. Click
on any of these items to view a filtered list of users.
3
Description: The below figure describes about the admin panel. The Admin can manage their
dashboard to create accounts for shop owners, delete accounts and edit their data, as well
generate sales report.
ii.Shop panel
Shop owners can view their CMSs created by admin, they can manage their CMSs by adding
products their details [4].
Description: The below figure shows shop owners right’s to maintain their CMS. Once their
account is created further it’s up to them how they manage their CMS via login to their
dashboard. They can add products with their details, view orders and generate sales reports.
4
Figure 2.2 : Customer Panel
User Purchase
While the browsing or purchasing user has a separate CMS through which he/she adds products
to their cart and check out. For buying any product from any shops user has to register their selves
first so that their address could be collected for delivery as the web app currently offer cash on
delivery (COD) [5].
5
Figure 2.3 : User CMS
Descriptions: The above flow diagram shows the flow of user activity in the web. Initially user
selects the product then its added to cart, further if he continues shopping, again the said process
is conducted if not the exit for exit customer has to login if already registered if not then as to
register and insert address. [6]
6
2.2 Non-Functional Requirements
i. Performance
It is a web based application.
It allows multiple CMS creation
It can handle multiple users at the same time.
It is efficient.
ii.Security
Only the authorized users use the portal.
Its admin that creates client accounts.
Users have to fill their details to login
iii.Usability
Web app admin and client can create accounts first and can access it easily. It is user
friendly.
iv.Portability
The portal is made using HTML5, CSS3, C#, SQL server, bootstrap, which are platform
independent and can be transported to other services with minimum efforts.
i.Availability
If the internet services gets disrupted while sending information to the server. The
information can be sent again.
i.Constraints
The project User interface only supports English language.
7
Admin and User have to login using their registered user name and passwords i.e.
Limited to HTTP.
ii.Assumptions
8
CHAPTER 3
How It Works
This developed system is intended to work not like other typical E-commerce website in which
their product are list and any buyer/ user register to add their post addresses. In the proposed
system we have taken the owners involvement in our priority to let the shop owners to be
involved in add products, receiving orders, approving order and delivering orders [7]. This
process will help owners to run their web independently.
In first phase admin has to register who is the main admin of whole website.
The above figures show the registration and admin login pages for main admin, where the main
admin register himself/herself to further create malls. Until there is no admin there cannot be
any malls created. While the register option is shown in user interface (UI) through which admin,
customer and the purchasing user can login. But for the admin perspective the process is different
as using registration option anybody can make an admin account and create malls. The process
is further discussed in next figure.
9
3.1 Admin Login
When the admin is registered via the web registration form then admin has to make yourself as
admin from the server. Until the admin make changes for admin and authorizes himself/herself
as admin from server side he/she cannot access the web as admin and create malls. The below
snap is of server where the admin has made changes from server [8].
As the admin as the developer and has the access to server. The above figure show the two
column named “Adduser” and “Auth” these two column determine the rest of the work for
admin. The admin has to write admin and Y for yes to authorization the he she can login as
admin.
While the second figure show those same “Adduser” and “Auth” column filled with N, this
means these are simple customer or purchasing user who do not have privileges to create malls
10
and access to dashboard.
When the admin is in, further will be presented with these facilities listed above. Mall creation
and management. The admin is also well aware of total orders, suppose one time there are 10
malls created and each mall consist of 10 shops and each shop containing thousands of product
the mall management can track how many products are available currently in the mall, similarly
can track how many orders have be placed with the total cost. Moreover the Mall management/
11
admin can select any of mall to check how many orders and products are available to that
particular mall. This makes the work of management to be aware of any fraud is being done by
the shop employees [9].
We design our Website Dashboard UI in a way that users can easily understand and ease to
learn. In fact, if you use email sites or if you navigated or used any e-commerce site we know
that you are not going to face any problem using it. No code or password is needed to use our
website’s dashboard or to edit any website’s content. And, if you face any difficulties, problems
or unable to understand any function and the built-in documentation does not help you, user can
simply get in touch with us for free support.
Suppose luck one mall is brows it will take to its shops where may be 10, 12, or 15 shops
12
available. Shop owners to which mall they create their Shop CMS and start adding their product.
But the best way of creating CMS is to create it where the actual shop is presented so it will
become easier for user for physical visit.
The figure shows when the shop owner is registered will be presented with this page where shop
owner creates a shop and list a mall from list view according to their shop presence.
Such as Hassam has created a shop named as Electro word in lucky one mall.
13
Figure 3.7 : Shops inside Mall
Using the above option shop owner will be able to fully determine product details, whether it’s
14
pricing, discount, categorizes and product updates such as deletion of product and price updates
when you have to decrease the price anyway. Creating different categories. These all functions
are listed here for shop owner.
Description: while edit product panel shows all the product of entire shop to access the particular
product you must click to that and enter to edit product.
15
Figure 3.10 : Product Updates
3.7 Implementation
Description: This is the Sign Up page of our project. By Sign Up by this page admin and user
can registered their ids. [10]
16
Description: This is the login page of both customer panel and user panel.
Description: This is the initial IU when users brows to the UHB web. The will be presented with
this interface.
18
CHAPTER 4
Software Development Model
4.1 Methodology
We have used Evolutionary development methodology for development of our project.
Evolutionary Methodology.
Evolutionary Models are iterative type models.
Evolutionary Model allow to develop more complete version of the software.
Evolutionary prototyping is the most integral form of prototyping.
Our FYP is based on web based application in which admin and client make
accounts and can access easily.
Admin can update information, create/delete accounts.
Customer can view the information, pictures and shops virtually. They can only
view data and can edit cart.
19
4.3 Development Phase
Coding samples
Description: This is the coding sample of admin and this is the code admin dashboard.
20
Description: This is the coding sample of user panel and this is the code user dashboard.
File Validation
File Handling
Session Handling
21
Database connectivity and Retrieval data.
System Testing
System testing, is a process that involves system testing. While in this phase users are given
different sort of trainings to use system. In system testing, it’s on users how the use system
according to their working and changes are made accordingly. Some précised set of data are
arranged to test. Meanwhile, test is carried out bugs are observed and noted to be fixed. The staff
that is going to operate the system are given trainings. This is the stage where the major goal is
to make sure that the system is working properly as well efficiently. Testing is a very crucial
task for the successful running of system.
Integration testing
Meanwhile unit test is carried out on small and sample units of software, whereas Integration
testing is carried when multiple of units are together and test. It is supposed system as a whole
tested. Integration testing is done after unit test and before validation is tested. The integration
testing has the facility to take the results of unit testing and test the system in a larger scope.
Basically, in integration testing developer integrates two or more units as combine to test, such
as sign up and login, these both are tested together to check whether after signup system allows
to sign in with those username and password used in sign up. In this way we can clearly see the
output of one unit is impacting the second one. The ultimate motive of any testing method is to
uncover the errors related to functionalities or development.
Functional testing
Like other testing technique functional testing is a method of software testing used in software
development where software is tested to conform to all requirements. Functional testing is a
method of testing software to determine that the software has its all functionalities. This
technique is a sort of black box which considers test cases of similar software tested earlier. To
check/test Functions, system is given input and the outputs are observed whether or according
to specification or not. Functional testing often determines what system does
23
application/system that is being tested should be engaged with user constantly so that user should
be putting load to check the efficiency and accuracy.
Finalized testing
We encounter and fix errors, bugs before the portal is accepted for operational use. The portal has
been tested by uploading, viewing information, reserved request, searching location date and accept
reserved request.
Procedures Description
Expected Result System would add new user into the database
Result Pass
24
4.5.2 Test Case # 2
Test Case Title: Testing the Main Page access of “Web Based uni Platform application for
maintaining shopping malls”
Procedures Description
Preconditions
Users must login in the system
Result Pass
Procedures Description
Result Pass
25
4.5.4 Test Case # 4
Test Case Title: Testing the data addition by customer and can be viewed and by user in Web
Based uni Platform application for maintaining shopping malls.
Procedures Description
Result Pass
Procedures Description
Result Pass
26
4.5.6 Test Case # 6
Test Case Title: Testing that customer should login using given ID passwords by admin on web
app.
Procedures Description
Result Pass
Procedures Description
Result Pass
27
4.5.8 Test Case # 8
Test Case Title: Users should be able to add products to cart.
Procedures Description
Result Pass
28
CHAPTER 5
Project Planning
5.1 Project Timeline
Description: Below table contains the information of various phases of project.
Table 5.1 : Phases of Project
Responsible
No. Phase Duration Action Performed
Person
Non-Functional
Bijjar Sayed
Requirement &
1 50 Days Hassam Shakeel
Gathering Functional
Usman Khan
Requirements
Functional Bijjar Sayed
Requirement
2 30 Days & Hassam Shakeel
Analysis
System Analysis Usman Khan
Bijjar Sayed
User Interface and
3 Designing 45 Days Hassam Shakeel
System Flow
Usman Khan
Front-End Bijjar Sayed
4 Development 62 Days & Hassam Shakeel
Backend Development Usman Khan
Black-Box Bijjar Sayed
5 Testing 25 Days & Hassam Shakeel
White-Box Testing Usman Khan
Bijjar Sayed
6 Documentation 30 Days FYP Report Hassam Shakeel
Usman Khan
Overall Project 245 Days
29
5.2 Designing Phase
System Diagram
System context diagrams show a system, as a whole and its inputs and outputs from/to external
factors.
System Context Diagrams represent all external entities that may interact with a system. Such a
diagram pictures the system at the center, with no details of its interior structure, surrounded by
all its interacting systems, environments and activities. The objective of the system context
diagram is to focus attention on external factors and events that should be considered in
developing a complete set of systems requirements and constraints.
System context diagrams are used early in a project to get agreement on the scope under
investigation. Context diagrams are typically included in a requirements document. These
diagrams must be read by all project stakeholders and thus should be written in plain language,
so the stakeholders can understand items within the document.
Description: This System Diagram shows how the Customer and Admin can access the
Application, this diagram also show that how task has been performed systematically.
30
5.3 Activity Diagram
Description: This is the activity diagram of our project. This activity diagram shows the
working and activities done by admin, Customer and user.
Activity diagram is another important diagram in UML to describe the dynamic aspects of the
system. Activity diagram is basically a flowchart to represent the flow from one activity to
another activity. The activity can be described as an operation of the system.
31
The control flow is drawn from one operation to another. This flow can be sequential, branched,
or concurrent. Activity diagrams deal with all type of flow control by using different elements
such as fork, join.
The basic purposes of activity diagrams is similar to other four diagrams. It captures the dynamic
behavior of the system. Other four diagrams are used to show the message flow from one object
to another but activity diagram is used to show message flow from one activity to another.
This is the Use case diagram of our app in which admin and customer are the actors. Showing
information is edited and set by admin and customer updates the data.
A use case diagram is a graphic depiction of the interactions among the elements of a
system. A use case is a methodology used in system analysis to identify, clarify, and organize
system requirements. In this context, the term "system" refers to something being developed or
operated, such as a mail-order product sales and service Web site. Use case diagrams are
employed in UML (Unified Modeling Language), a standard notation for the modeling of real-
world objects and systems. System objectives can include planning overall requirements,
validating a hardware design, testing and debugging a software product under development,
creating an online help reference, or performing a consumer-service-oriented task. For example,
use cases in a product sales environment would include item ordering, catalog updating, payment
processing, and customer relations. A use case diagram contains four components.
32
Figure 5.3 : Use Case
33
CHAPTER 6
TOOLS AND TECHNIQUES
Smart Draw
Every project that are developed require some visualization and working flow. Flow charts are
important in a software development that shows how the system is going to work. Smart Draw
is tool to create flow charts for software project. We can also draw ERD diagram for project
after which we go for database creation.
Java Script
We have used Java Script for create ON Click function, alert function, delete data function, show
and hide function. JavaScript is a high-level, interpreted programming language. It is a language
characterized as dynamic, weakly typed, prototype based and multi-paradigm. It is used to make
WebPages interactive and provide online programs.
HTML
We have used HTML to create Structure of Class Management System such as Division, Header,
Footer, and Navigation bar Side Bar Tables. Hypertext Markup Language (HTML) is a standard
34
markup language for creating web pages and web applications. With Cascading Style Sheets
(CSS) and JavaScript, it forms a triad of cornerstone technologies for World Wide Web. HTML
describes the structure of a web pages semantically and originally included cues for the
appearance of the document.
Web-Browser
Visual Studio
Sublime
Notepad++
MS-Project
MS-Word
MS-PowerPoint
Web-Browser
We have used web browser like GOOGLE CHROME and Edge for viewing.
Visual Studio
To develop any kind of software project we require coding edition. By using which we create
our code and test for errors. Coding editors are also called compiler. Any programming language
supports some dedicated editors, we have developed our project using C# we support visual
studio. It’s a Microsoft coding editor supports multiple operating systems: Windows, Linux and
MacOs. It’s a free and open source editor that is very efficient and user friendly for development.
It’s also support many other languages like C++ and allows database connection and application
35
like desktop and web app both can be developed using visual studio.
Sublime 3
We have used Sublime3 for Html Coding. Sublime is sample and allow adding extension to
change the format for coding. Sublime has the facility to support many languages using changed
the extension according to the language.
Notepad++
Notepad++ code editor has been used to develop some parts of the project
MS-Project
We have used MS-Project to create FYP Timeline.
MS-Word
We have used MS Word to Create FYP Reports like Proposal, First evaluation, and final
evaluation.
MS-PowerPoint
We have used MS PowerPoint to create Presentations like Proposal, First evaluation, and Final
evaluation.
36
CHAPTER 7
Customer (Shop owner) can’t become a part of system unless admins approval.
7.2 Conclusion
The project is an easy way for E-commerce. It has the vision of making easy way out for small
to large business owners to get their business online within the same domain of shopping mall.
It will not only help business owners to become online but also benefits to operate within the
same domain. Separate content management systems are the huge beneficiary factors for the
small businesses to maintain it easily. Every shop owner has to be registered via main admin
who creates them account which would become their CMS. Once their accounts are created
owners are presented with a dashboard where the start maintain and updating their CMS.
Meanwhile, by user perspective it’s also very helpful and user friendly as users’ needs to just
brows to only one site to visit multiple shops, their offerings and sales.
In future we add these features in our project to make our project more effective. Through Push
notification we can engage users more than a normal usage. The engaging of users is also be
done thorough SMS and E-mail notifications.
37
REFERENCES
[3] H.-b. T. T. K. a. S. W. S. Kim, ""Modeling roles of subjective norms and eturst in customer
acceptance of airline B2C Ecommerce websites",," Turism Management,, (2009.
[4] R. M. Ballenger, ""An eCommerce Development Case: Your Company's eCommerce Web
Site..," Journal of Information Systems Education,, Vols. vol. 18.4,, p. p . 409, 2012.
[5] D. K. V. J. L. a. J. I. Duyne, ""The design of sites: patterns, principles, and processes for
crafting a customer-centered Web experience," 2002..," Addison-Wesley Longman
Publishing Co., Inc., vol. vol. 0.3, p. p . 289, 2002.
[6] L. M. F. a. L. G. Mich, ""Evaluating and designing web site quality."," IEEE MultiMedia,
vol. vol. 10.1, no. 2010, pp. pp. 34-43, 2005.
[7] H. J. H.-G. C. a. H.-G. H. Wen, ""E-commerce Web site design: strategies and models.,"
Information management & computer security,, vol. vol. 9.1, no. 2001, pp. pp. 5-12.
[8] L. F. G. a. P. P. Baresi, ""From web sites to web applications: New issues for conceptual
modeling.," 2000., 2012.
[9] ". F. a. R. K. F. a. R. K. Ricker, ""Order fulfillment: the hidden key to e-commerce success.,"
Supply chain management review, vol. vol. 11.3, no. 2005, pp. pp. 60-70, 1999.
[11] R. a. M. R. Kalakota, " "e-Business. Roadmap for Success"," Addison Wesley, Chicago,
2014.
38
APPENDICES
namespace EcomProj2.Pages.General
{
public partial class Login : System.Web.UI.Page
{
}
else
{
Response.Redirect(@"~\Pages\General\Malls.aspx");
}
}
39
SqlParameter[] param = {
new SqlParameter("@UserName",SqlDbType.VarChar,50 ),//0
new SqlParameter("@Password",SqlDbType.VarChar,50),//1
new SqlParameter("@Auth",SqlDbType.VarChar,50)//1
};
param[0].Value = txtUsername.Text;
param[1].Value = txtPassword.Text;
param[2].Value = 'N';
Response.Redirect(@"~\Pages\General\Malls.aspx");
}
else
{
lblError.Visible = true;
}
}
}
namespace EcomProj2.Pages.General
{
public partial class CreateShop : System.Web.UI.Page
{
MainBLL DL = new MainBLL();
DataSet DS_Cat_Code;
DataSet DS_CatName;
protected void Page_Load(object sender, EventArgs e)
{
if (Session["UserName"] != null)
{
}
else
{
Response.Redirect(@"~\Pages\General\Login.aspx");
}
SqlParameter[] param = {
Session["IsShop"] = 'Y';
Session["ShopCode"] = "SH000" + code;
SqlParameter[] paramss = {
new SqlParameter("@UserName",SqlDbType.VarChar,15),
new SqlParameter("@AddUser",SqlDbType.VarChar,15),
new SqlParameter("@IsShop",SqlDbType.Char,1),
new SqlParameter("@IsActive",SqlDbType.Char,1),
new SqlParameter("@ShopCode",SqlDbType.VarChar,15)
};
if (Session["UserName"] != null)
{
paramss[0].Value = Session["UserName"];
}
else
{
paramss[0].Value = "Guest";
}
paramss[1].Value = "N";
paramss[2].Value = 'Y';
paramss[3].Value = 'Y';
paramss[4].Value = code;
Response.Redirect(@"~\Pages\General\Malls.aspx");
42
}
Appendix C: Dashboard
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EcomProj2.Pages.admin
{
public partial class Dashboard1 : System.Web.UI.Page
{
MainBLL DL = new MainBLL();
String connetionString;
SqlConnection cnn;
cnn.Open();
SqlCommand command;
SqlDataReader dataReader;
dataReader = command.ExecuteReader();
while (dataReader.Read())
{
count = Int32.Parse(dataReader.GetValue(0).ToString());
}
43
if (count >= 50) {
Response.Write("<script>alert('" + count + "');</script>");
}
cnn.Close();
// DropDownList1.SelectedValue =
Request.Params.GetValues(0).GetValue(0).ToString();
Label4.Text = "0";
Orderss();
Customers();
Products();
Price();
// da.Fill(ds);
reptater.DataSource = ds;
//Label1.Text = reptater.Pag
44
reptater.DataBind();
// da.Fill(ds);
Repeater1.DataSource = ds;
//Label1.Text = reptater.Pag
Repeater1.DataBind();
// da.Fill(ds);
Repeater2.DataSource = ds;
//Label1.Text = reptater.Pag
Repeater2.DataBind();
// da.Fill(ds);
Repeater3.DataSource = ds;
//Label1.Text = reptater.Pag
Repeater3.DataBind();
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EcomProj2.Pages.admin
{
public partial class MallCreate : System.Web.UI.Page
{
if (Session["UserName"] != null)
{
}
else
{
Response.Redirect(@"~\Pages\admin\Login.aspx");
}
46
SqlParameter[] param = {
};
Response.Redirect("/Pages/admin/Dashboard.aspx", false);
using System;
using System.Collections.Generic;
using System.Data;
47
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EcomProj2.Pages.Customer
{
public partial class Manageaccount : System.Web.UI.Page
{
if
(Request.Params.GetValues(14).GetValue(0).ToString().Equals("yes
"))
{
Label1.Text =
Request.Params.GetValues(14).GetValue(0).ToString();
btnSave_Click();
}
}
SqlParameter[] param = {
new SqlParameter("@UserName",SqlDbType.VarChar,50),
};
param[0].Value =
Request.Params.GetValues(0).GetValue(0).ToString();
ds = DL.FillDataSet("sp_Profile_View", param);
48
// da.Fill(ds);
reptater.DataSource = ds;
reptater.DataBind();
}
new SqlParameter("@UserName",SqlDbType.VarChar,50),//1
new SqlParameter("@Gender",SqlDbType.VarChar,10),//3
new SqlParameter("@FirstName",SqlDbType.VarChar,50),//4
new SqlParameter("@LastName",SqlDbType.VarChar,50),
new SqlParameter("@Email",SqlDbType.VarChar,150),
new SqlParameter("@DOB",SqlDbType.DateTime),
new SqlParameter("@Address1",SqlDbType.VarChar,50),
new SqlParameter("@Remarks",SqlDbType.VarChar,150),
new SqlParameter("@MobilePhone",SqlDbType.VarChar,15),
new SqlParameter("@AddUser",SqlDbType.VarChar,15),
new SqlParameter("@IsShop",SqlDbType.Char,1),
new SqlParameter("@IsActive",SqlDbType.Char,1),
new SqlParameter("@isVerifiedByEmail",SqlDbType.Char,1),
new SqlParameter("@isVerifiedBySMS",SqlDbType.Char,1),
};
param[0].Value =
Request.Params.GetValues(0).GetValue(0).ToString();
param[1].Value =
Request.Params.GetValues(1).GetValue(0).ToString();
param[2].Value =
Request.Params.GetValues(2).GetValue(0).ToString();
param[3].Value =
Request.Params.GetValues(3).GetValue(0).ToString();
param[4].Value =
Request.Params.GetValues(4).GetValue(0).ToString();
param[5].Value = DateTime.Now;
param[6].Value =
Request.Params.GetValues(6).GetValue(0).ToString();
param[7].Value =
Request.Params.GetValues(7).GetValue(0).ToString();
param[8].Value =
Request.Params.GetValues(8).GetValue(0).ToString();
param[9].Value =
Request.Params.GetValues(9).GetValue(0).ToString();
param[10].Value =
Request.Params.GetValues(10).GetValue(0).ToString();
param[11].Value =
49
Request.Params.GetValues(11).GetValue(0).ToString();
param[12].Value =
Request.Params.GetValues(12).GetValue(0).ToString();
param[13].Value =
Request.Params.GetValues(13).GetValue(0).ToString();
Response.Redirect(@"~\Pages\admin\UserManagement.aspx");
}
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EcomProj2.Pages.Customer
{
public partial class EditProduct : System.Web.UI.Page
{
MainBLL DL = new MainBLL();
protected void Page_Load(object sender, EventArgs e)
{
HTML_ProductList();
if
(Request.Params.GetValues(5).GetValue(0).ToString().Equals("yes"
))
{
Label1.Text =
Request.Params.GetValues(5).GetValue(0).ToString();
btnSave_Click();
}
}
50
private void HTML_ProductList()
{
//string sql = " select title,content from company";
//string con = "server=...";
System.Data.DataSet ds = new System.Data.DataSet();
// System.Data.SqlClient.SqlDataAdapter da = new
System.Data.SqlClient.SqlCommand(sql, con);
// System.Data.SqlClient.SqlDataAdapter da = new
System.Data.SqlClient.SqlCommand(sql, con);
SqlParameter[] param = {
new SqlParameter("@ItemCode",SqlDbType.VarChar,50),
};
param[0].Value =
Request.Params.GetValues(0).GetValue(0).ToString();
ds = DL.FillDataSet("sp_Product_Manage_List", param);
// da.Fill(ds);
reptater.DataSource = ds;
reptater.DataBind();
}
new SqlParameter("@itemCode",SqlDbType.VarChar,50),
new SqlParameter("@item",SqlDbType.VarChar,50),
new SqlParameter("@desc",SqlDbType.VarChar,50),
new SqlParameter("@AddUser",SqlDbType.VarChar,15),
new SqlParameter("@price",SqlDbType.Int),
new SqlParameter("@amount",SqlDbType.Int)
};
param[0].Value =
Request.Params.GetValues(0).GetValue(0).ToString();
param[1].Value =
Request.Params.GetValues(1).GetValue(0).ToString();
param[2].Value =
Request.Params.GetValues(2).GetValue(0).ToString();
param[3].Value = Session["UserName"];
param[4].Value =
Int32.Parse(Request.Params.GetValues(3).GetValue(0).ToString());
51
param[5].Value =
Int32.Parse(Request.Params.GetValues(4).GetValue(0).ToString());
Response.Redirect(@"~\Pages\Shop\ProductList.aspx");
}
}
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EcomProj2.Pages.General
{
public partial class Order : System.Web.UI.MasterPage
{
MainBLL DL = new MainBLL();
protected void Page_Load(object sender, EventArgs e)
{
if (Session["UserName"] != null)
{
Session["cart"] =
(Int32.Parse(Session["cart"].ToString())+(1)).ToString();
ab += dif.ToString()+",";
ab = ab.TrimEnd(ab[ab.Length - 1]);
txtProdId.Text = ab;
}
else
{
Response.Redirect(@"~\Pages\General\Login.aspx");
}
}
};
SqlParameter[] param = {
};
param[0].Value = code;
param[1].Value = Session["CustomerCode"];
param[2].Value = DateTime.Now;
param[3].Value = 'N';
param[4].Value = 'N';
54
param[5].Value = dif.ToString();
param[6].Value = Session["ShopCode"];
Session["checkouts"] = null;
Session["cart"] = null;
Response.Write("<script>alert('Successfully Send
Order');</script>");
Response.Redirect(@"~\Pages\General\Malls.aspx");
}
else
{
Response.Redirect(@"~\Pages\General\Register.aspx");
using System;
using System.Collections.Generic;
using System.Linq;
55
using System.Data;
using System.Data.SqlClient;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
namespace EcomProj2.Pages.General
{
public partial class Register : System.Web.UI.Page
{
MainBLL DL = new MainBLL();
DataSet DS_Sub_Cat_Code;
DataSet DS_CatName;
}
else
{
Response.Redirect(@"~\Pages\General\Malls.aspx");
}
this.DataBind();
}
}
return allbooks;
}
if (txtPassword.Text.Length >= 5)
{
SqlParameter[] param = {
new SqlParameter("@CustomerCode",SqlDbType.Char,10),//0
new SqlParameter("@UserName",SqlDbType.VarChar,50),//1
new SqlParameter("@Password",SqlDbType.VarChar,150),//2
new SqlParameter("@Gender",SqlDbType.VarChar,10),//3
new SqlParameter("@FirstName",SqlDbType.VarChar,50),//4
new SqlParameter("@LastName",SqlDbType.VarChar,50),
new SqlParameter("@Email",SqlDbType.VarChar,150),
new SqlParameter("@DOB",SqlDbType.DateTime),
new SqlParameter("@Address1",SqlDbType.VarChar,50),
new SqlParameter("@Address2",SqlDbType.VarChar,50),
new SqlParameter("@CountryCode",SqlDbType.VarChar,10),
new SqlParameter("@ProvinceCode",SqlDbType.VarChar,10),
new SqlParameter("@CityCode",SqlDbType.VarChar,10),
new SqlParameter("@Remarks",SqlDbType.VarChar,150),
new SqlParameter("@HomePhone",SqlDbType.VarChar,15),
new SqlParameter("@MobilePhone",SqlDbType.VarChar,15),
new SqlParameter("@AddUser",SqlDbType.VarChar,15),
new SqlParameter("@CreateDate",SqlDbType.DateTime),
new SqlParameter("@IsShop",SqlDbType.Char,1),
new SqlParameter("@ShopCode",SqlDbType. VarChar,10 ),
new SqlParameter("@IsActive",SqlDbType.Char,1),
new SqlParameter("@isVerifiedByEmail",SqlDbType.Char,1),
new SqlParameter("@isVerifiedBySMS",SqlDbType.Char,1),
new SqlParameter("@auth",SqlDbType.Char,1),
};
Response.Redirect(@"~\Pages\General\WantShop.aspx");
}
else
{
Response.Write("<script>alert('Password should be 5
characters');</script>");
}
}
}
}
58
59