Professional Documents
Culture Documents
QuickShop v2
QuickShop v2
INTRODUCTION
Electronic commerce or e-commerce refers to a wide range of online business activities for
products and services. It also pertains to “any form of business transaction in which the parties
interact electronically rather than by physical exchanges or direct physical contact.”
E-commerce is usually associated with buying and selling over the Internet, or conducting any
transaction involving the transfer of ownership or rights to use goods or services through a
computer-mediated network. Though popular, this definition is not comprehensive enough to
capture recent developments in this new and revolutionary business phenomenon. A more
complete definition is: E-commerce is the use of electronic communications and digital
information processing technology in business transactions to create, transform, and redefine
relationships for value creation between or among organizations, and between organizations and
individuals.
1
1.1. E-COMMERCE FEATURES
E-Commerce provides following features i.e. Non-cash payment, Support, Marketing and many
more which are listed below.
1.1.5. Support
E-Commerce provides various ways to provide pre sales and post sales assistance to provide better
services to customers.
Website following B2B business model sells its product to an intermediate buyer who then sells
the product to the final customer. As an example, a wholesaler places an order from a company's
website and after receiving the consignment, sells the end product to final customer who comes to
buy the product at wholesaler's retail outlet.
2
Figure 1.2: Business to Business Model
3
Figure 1.4: Consumer to Consumer Model
4
1.2.6. Government - to - Business (G2B)
Government uses B2G model website to approach business organizations. Such websites support
auctions, tenders and application submission functionalities.
5
1.3.2. Mobile Application
Internet powered mobile phones have become celestial device by gathering critical mass. People
enjoy the luxury of on-the-go web access, searching for information and resources on the web with
their smartphones. Mobile shopping has become the new market trend with an increasing customer
base. So as to tap this potential market, E-commerce Support launches Mob-ecommerce, an
application for different mobiles i.e. Android, IOS, Windows etc. If you run an online store to sell
your products, you probably also have a nicely designed mobile web site, or responsive version of
your existing web site, that your visitors can visit on their mobile and tablet devices. Companies
like Zappos and Amazon have that, too – and they do extremely well. In addition to a great mobile
experience on their web site – both of those companies have native apps available in the Apple
Store and Google Play. You, as the provider, have to look at who your audience is. Online
retailers who have, for example, a large amount of iOS users would probably benefit from having
a free native app in the Apple Store that their users can download and browse and buy directly
from their mobile device.
The Internet allows people from all over the world to get connected inexpensively and reliably. As
a technical infrastructure, it is a global collection of networks, connected to share information
using a common set of protocols. Also, as a vast network of people and information, the Internet
is an enabler for e-commerce as it allows businesses to showcase and sell their products and
services online and gives potential customers, prospects, and business partners access to
information about these businesses and their products and services that would lead to purchase.
Before the Internet was utilized for commercial purposes, companies used private networks-such
as the EDI or Electronic Data Interchange-to transact business with each other. That was the early
form of e-commerce. However, installing and maintaining private networks was very expensive.
With the Internet, e-commerce spread rapidly because of the lower costs involved and because the
Internet is based on open standards.
E-Commerce advantages can be broadly classified in three major categories as providing benefits
to a number of organizations, consumers, society.
E-Commerce helps organization to reduce the cost to create process, distribute, retrieve and
manage the paper based information by digitizing the information.
6
E-commerce helps organization to provide better customer services.
E-Commerce helps to simplify the business processes and make them faster and efficient.
E-Commerce increased the productivity of the organization. It supports "pull" type supply
management. In "pull" type supply management, a business process starts when a request
comes from a customer and it uses just-in-time manufacturing way.
E-Commerce application provides user more options and quicker delivery of products.
E-Commerce application provides user more options to compare and select the cheaper and
better option.
A customer can put review comments about a product and can see what others are buying or
see the review comments of other customers before making a final buy.
Readily available information. A customer can see the relevant detailed information within
seconds rather than waiting for days or weeks.
E-Commerce helps reducing cost of products so less affluent people can also afford the
products.
E-Commerce has enabled access to services and products to rural areas as well which are
otherwise not available to them.
E-Commerce helps government to deliver public services like health care, education, social
services at reduced cost and in improved way.
Besides providing benefits to the above mentioned areas, there are certain technical and non-
technical limitations that are associated with E-Commerce and defined in the next section.
7
1.4.4. Technical Limitations
There can be lack of system security, reliability or standards owing to poor implementation
of e-Commerce.
Special types of web server or other software might be required by the vendor setting the e-
commerce environment apart from network servers.
User resistance: User may not trust the site being unknown faceless seller. Such mistrust makes
it difficult to make user switch from physical stores to online/virtual stores.
Internet access is still not cheaper and is inconvenient to use for many potential customers like
one living in remote villages.
8
1.5.1. Credit Card
Payment using credit card is one of most common mode of electronic payment. Credit card is small
plastic card with a unique number attached with an account. It has also a magnetic strip embedded
in it which is used to read credit card via card readers. When a customer purchases a product via
credit card, credit card issuer bank pays on behalf of the customer and customer has a certain time
period after which he/she can pay the credit card bill. It is usually credit card monthly payment
cycle. Following are the actors in the credit card system.
The merchant - seller of product who can accept credit card payments.
Debit cards free customer to carry cash, cheques and even merchants accepts debit card more
readily. Having restriction on amount being in bank account also helps customer to keep a check
on his/her spending.
1.5.3. E-Money
E-Money transactions refers to situation where payment is done over the network and amount gets
transferred from one financial body to another financial body without any involvement of a
middleman. E-money transactions are faster, convenient and saves a lot of time.
Online payments done via credit card, debit card or smart card are examples of e-money
transactions. Another popular example is e-cash. In case of e-cash, both customer and merchant
both have to sign up with the bank or company issuing e-cash.
9
check customer review about the product by requesting them to fill the review sheet so they will
get the record that their customer is satisfied with their product & services.
Sr.
Traditional Commerce E-Commerce
No.
Information sharing is made easy via electronic
Heavy dependency on information exchange
1. communication channels making little dependency on
from person to person.
person to person information exchange.
Communication/ transaction are done in Communication or transaction can be done in
synchronous way. Manual intervention is asynchronous way. Electronics system automatically
2.
required for each communication or handles when to pass communication to required
transaction. person or do the transactions.
It is difficult to establish and maintain standard A uniform strategy can be easily established and
3.
practices in traditional commerce. maintain in e-commerce.
No uniform platform for information sharing as E-Commerce provides a universal platform to support
6.
it depends heavily on personal communication. commercial / business activities across the globe.
10
CHAPTER 2
EXISTING SYSTEMS
E-Commerce is a vast fields now a days. If you hit any search engine regarding any e-commerce
website there are thousands of websites are available for each and every model i.e. Business to
Business, Business to Consumer etc. Every model of e-commerce has different features and its
aspects of dealing with their co related company or a client. In this chapter we are discussing the
e-commerce models in details with one of their proposed system so it is easy to understand for the
readers to identify and differentiate between different models of e-commerce. Every system
contains full features and its usage and regarding its rolls. Mentioned below are the existing
websites of e-commerce that depicts various models of e-commerce.
11
parts of this world. Presently there are 25 business units operating under Alibaba Group Holding
Limited (NYSE: BABA) and the main aim is to cultivate the progress of a broad, shared and
affluent e-commerce environment.
The main page of the Alibaba.com is shown in Fig 2.1 which is consist of some general
information regarding the website as it is a Business to Business website so it consist of some
categories of Buyers and Suppliers because B2B website is not for those customer who are
interested in buying few products because this website is dealing in stock. Whenever you try to
buy something on this website you fill face a constraint for the minimum quantity just like the in
Fig 2.2.
This Fig 2.2 show you that if you have to book an order for the listed fashion T-shirt the minimum
amount for this product is at least 1500 pieces which is a huge quantity so buyers can book any
product available on this website as this is one of the top and premium website regarding to B2B
12
model so this website consist of good categories like Apparel, Textile & leather Products, Fashion
Accessories. Fig 2.3 show a little glimpse of the categories menu available on the website.
This website has a very vast categories section. Buyers can check the categories on this website as
per their need that in which type of product they are interested in so when they select the product
then there is a button available for them which is stated in contact to supplier which is also shown
in Fig 2.4 when you click the button you have been transferred to a page where sending a request
to suppliers that you are interested in the product and you want to contact them and will send your
message which contains your contact number and number of quantity you want to book with a
message regarding your need for the product and then you have to send the message you can see
the page of Contact to Supplier which shown in Fig 2.4.
After sending the message you request will be send to the suppliers so he will contact within a
time frame of 24 to 48 hours regarding your need and also discuss with you regarding the shipping
details and product details.
13
2.2 BUSINESS TO CONSUMER
The term business-to-consumer, often called B2C, refers to transactions between a business and
its end consumer. Examples of B2C transactions include individuals shopping for clothes to be
given as birthday gifts, diners ordering food and eating in a restaurant, and TV watchers
subscribing to satellite TV providers.
The term B2C differs from business-to-business (B2B) in that these transactions are done with no
intent on the consumer’s part to use the product or service for commercial purposes.
If, for the example given above, the shopper bought the clothes in order to resell it in her online
shop, that transaction would instead fall under B2B. If a person also buys food in bulk from a
restaurant, then uses the food to cater to party and charges for the catering services, then the
transaction will fall under B2B as well. For the third example above, if a business orders satellite
TV pay-per-view programming such as a popular boxing event, and shows it in their bar with the
intention of attracting more customers to come in for a drink, then that transaction would fall under
B2B instead of B2C.
Though B2C refers to all business-to-consumer transactions the term is most commonly used for
online selling of products. The effect of B2C transactions in the online scene is of such magnitude
that retailers have become very vigilant in keeping their websites up-to-date and optimized to get
the consumer traffic they want.
The website which we are discussed in this section is Daraz.pk. Daraz.pk is one of the premium
online website in Pakistan for online shopping in this website you can get thousands of products
that you can buy online and delivered to you within 24 to 48 hours in the given Fig 2.5 you can
easily see the main page of the website which list main categories available on the website like
Men & Women Fashion Accessories, Mobile Phones etc.
14
By clicking on of any of the following categories you will send to the page of that specific listed
product like in the Fig 2.6 when we click on the category of Men Fashion there is a sub Menu of
Men’s Jeans and when we click on this category it send us to the page where all the men’s jeans
are listed in Fig 2.6 you can easily see different jeans products with different colors.
When you selected your desired product you just have to click that specific product and then you
just have to click the picture which forward you to Buy Now page where you can select the
quantity, color and size of the product and then your product will be added to the Shopping Cart
and you can select your payment system like PayPal or Cash On Delivery etc. and your desired
product will be send to you within next 24 – 48 hours.
15
2.3 CONSUMER TO CONSUMER
Have you ever bought or sold an item on eBay.com or craigslist.org? If so, you have participated
in consumer-to-consumer (C2C) e-commerce. People who come together to buy, sell or trade items
online take part in C2C e-commerce. This type of e-commerce is the modern version of using the
classified advertising section of your local newspaper or going to an auction. C2C e-commerce is
a convenient way for consumers to buy and sell goods without getting in their cars and driving to
a store.
C2C e-commerce differs from a business-to-business model or a business-to-consumer model
because consumers interact directly with each other. However, a business does operate the online
platform on which C2C transactions take place. Buyers can shop for free, but sellers sometimes
have to pay a fee to list their products. Consumers often play an active role in monitoring e-
commerce sites for scams and other inappropriate content.
The C2C model entails lower costs and higher profits for buyers and sellers. Sellers can store
inventory in a home office and it costs less to market and distribute products than in a traditional
business-to-consumer model. Both new and used goods are sold through C2C e-commerce and
fewer middlemen are involved in the transactions. Advances in technology and ease of access to
the Internet have also made it possible for a growing number of individuals to launch C2C e-
commerce businesses.
Craigslist is one of the top websites in the world and the leading service for classified ads.
Consumers can not only buy, sell, and trade items, but also conduct other transactions such as
housing and job searches. The site is very user-friendly, allowing consumers to register and list an
item for sale within minutes. For consumers looking to make a purchase, they simply go to the ‘for
sale’ category and choose the appropriate subcategory (e.g. computers, furniture, books, etc.).
In Fig 2.8 you can see different links/advertisements from different consumers all over the world.
These are divided in different categories like jobs, housing, community etc. Consumer can visit
that website and find his concern link and click on it. For example when we see a job in job section
16
link accounting + finance it send us to a page of specific jobs listed in accounting and finance
categories and then we selected a job of Kingsland London Hotel job offer then it lead us to a
page of that job where you can easily apply for that post.
The C2B model has flourished in the Internet age because of ready access to consumers who are
“plugged in” to brands. Where the business relationship was once strictly one-directional, with
companies pushing services and goods to consumers, the new bi-directional network has allowed
consumers to become their own businesses. Decreases in the cost of technologies such as video
cameras, high-quality printers and Web development services give consumers access to tools for
promotion and communication that were once limited to large companies. As a result, both
consumers and businesses can benefit from the C2B model.
17
For the C2B relationship to be fulfilled, the participants must be clearly defined. The consumer
could be any individual who has something to offer a business, either a service or a good. Examples
could be a blogger, as mentioned before, or a photographer offering stock images to businesses.
The consumer could also be someone answering a poll through a survey site, or offering job-hiring
services by referring someone through referral hiring sites such as elance.com.
Elancer.com is a website where you can different consumer come to find the person who want to
do work virtually by sitting at their home generally known as freelancers. Freelancers find
different jobs on this website which are listed in Fig 2.11. For this concern they have to create an
account their and apply for the job for any of these categories in which they are interested. After
that they have to bit for an account that they can complete this job in this duration and the cost for
this job after that the main consumer who posted this jobs will decide that who will get this
opportunity all depends on the skills & experience of the person.
18
2.5 BUSINESS TO GOVERNMENT
Business-to-government (B2G) is a business model that refers to businesses selling products,
services or information to governments or government agencies. B2G networks or models provide
a way for businesses to bid on government projects or products that governments might purchase
or need for their organizations. This can encompass public sector organizations that propose the
bids. B2G activities are increasingly being conducted via the Internet through real-time
bidding. B2G is also referred to as public sector marketing.
Governments are contained within the federal, state and local arenas. Governments typically work
with prenegotiated contracts and they’ve usually vetted out contractors they’ve used before or for
whom there are standing contracts that might be grandfathered in. Types of B2G techniques called
integrated marketing communications encompass Web-based communications as well as strategic
public relations and electronic marketing.
Social platforms such as LinkedIn, Facebook and Twitter can be part of this vertical market,
although businesses largely neglect this form of B2G selling. Businesses can provide documents
such as a “Statement of Capabilities” which outlines the abilities, products and services of a
company that wishes to contract with government agencies. This document will frequently
accompany a “Proposal of Service” that can be supplied when submitting contract bids.
In Pakistan the most popular website for the category of Business to Government model is Official
Gateway to the Government of Pakistan in this website you can see all the information regarding
the Pakistan general information like Gazette, National Biography etc. these all things are for the
marketing for the foreign clients who visit this website. But this website is not only for the
marketing purpose it also contains different links which make the foreign visitor’s life easy like
they can apply for the passport by contacting the Regional Offices. They can apply for the
Immigration etc. All these links you can see in the Fig 2.12.
19
2.6 GOVERNMENT TO BUSINESS
Government to Business which also refers to G2B is an e-commerce model in which the
government of the country give support to their citizen by giving them a business opportunity by
helping them finically with the help of their Business Loan facility or by different offer. Through
this loan citizen can support their family and also the nation in the development sector.
In Pakistan the best example of Government to Business e-commerce example in Government of
Pakistan Ministry of Industries and Production by which government of Pakistan help their
citizens by promoting different Business Loan Offers you can see this website in the Fig 2.13.
Figure 2.13: Pakistan Ministry of Industries & Production website Main Page
You can apply for Business loans through this website which is announced by the government.
You can also check the investment by the government in different sectors of the country i.e.
Information Technology, Food Processing & Stone Development etc.
20
2.7 GOVERNMENT TO CITIZEN
This model is also a part of e-governance. The objective of this model is to provide good and
effective services to each citizen. The Government provides the following facilities to the citizens
through website.
You can see the all the information regarding your passport like policy, process etc. You can also
track your passport status that is your passport is ready or not or it is in progress right now as you
can see in the Fig 2.16 that there is a section of MRP Tracking. By clicking on this link you
transferred to a page where you have to enter your 16-Digit token number and it will tell you the
status of your passport.
21
Figure 2.16: Passport Information Page of website
Models Roles
Business to Business Buyers Suppliers Categories Minimum Contact
Amount Suppliers
(B2B)
Business to Consumer Supplier Categories No Min. Payment
Consumer Amount System
(B2B)
22
Consumer to
Consumer
Consumer Categories Ads Posting
(B2B)
23
CHAPTER 3
PROPOSED SYSTEM REQUIREMENT & DESIGN
Since the development of the Internet, many things that was pretty hard to obtain or to do, like
information on a large variety of topics or communication with distant friends have become so
simple that anyone can have access to them just by using a computer or any mobile device. Among
the many advantages that the Internet gives us, one of the main ones is online shopping, an activity
that many have become addicted to.
“Quick Shop” is an online shopping utility for the customers who are too busy in their life and
they have no time to go to the market and buy products. It has all the major components which are
essential for a full-fledged web based application, especially in a Business environment, now your
online product searching, cart summery, shopping cart, order the products in an easy way, and all
the notifications via e-mail are available online.
It is a website which will provide maximum shopping facilities to users. “Quick Shop” is basically
for the different products available on the shop. The user can navigate and buy products very easily
and securely without wasting time from anywhere.
There are two types of users, one who can only visit the site called visitors and the other who want
to buy products called registered users. The registered user can view the products and add to cart
the product of his or her own choice.
There is one main Administrator and various vendors. The administrator can manage categories.ie
add view and delete. A profile will be maintained for every vendor making a website a community.
Administrator will update the website and also update vendor. He can cancel the registration of
vendor violating the laws of the website.
The vendor can manage products for his shop. Basically “Quick Shop” is a shop by department
where each department is manages by each vendor. The website will be dynamic in nature and will
be online 24 Hours a day.
As the goal of the application is ease of use and to provide an interactive interface, extensive
research has been done to gain an insight into the needs and behaviors of various users. The
working of the application is made convenient and easy to use for the end user.
Users can be classified into two types based on their knowledge of the products that suit their
needs. They can be classified as users who know about the product that would satisfy their needs
and users who have to figure out the product that would satisfy their needs.
This application is created using Agile Developmental model which is also a type of Incremental
model. In this model QuickShop is made in rapid cycles. This results in small incremental releases
with each release building on previous functionality. Each release is thoroughly tested to
24
ensure software quality is maintained. It is used for time critical applications. Extreme
Programming (XP) is currently one of the most well-known agile development life cycle model.
The main reason to apply this model in development is because of its two main advantages like
working software is delivered frequently (weeks rather than months), Regular adaptation to
changing circumstances and even late changes in requirements are welcomed. So below there is a
detail information that contain Requirement Analysis of the Proposed System.
3.1.1. Tools
Xamp (apache, MySQL)
Dream viewer
Premium Navicat
Adobe Photoshop
Custom designed site banner, logo design, navigation buttons (links), site’s layout and color
scheme of customers' choice. Home page with links to View Account, Shopping Cart, Checkout
page and site map
25
3.2.2. Product Management
3.2.4. Checkout
For organization to be responsive to changing market dynamics, web application must remain
flexible and scalable. These considerations must be planned for and the application developed to
be adaptable to accommodate needs yet unknown. Additionally, functionality such as
administrative controls, to manipulate data stores, must be built in to make your e-commerce store
an ongoing success.
26
3.3. CONTEXT LEVEL DATA FLOW DIAGRAM
QuickShop is an ecommerce website where are the data is secure in MySQL database server and
the three main roles on this website is dependent on Vendors, Visitors and Administrator and
they have the following functionalities.
1. Visitor can come on this website for two purposes first is to view the products available on
the websites and secondly they can buy products available on the website.
2. Vendors manage their department’s products because there are more than one vendors
available on the website. Vendors are also manage their stock and reports and that customer
product is delivered on time or not and at the same time they manages the backup of the
reports, stock so they will reduce any risk in the future regarding their products.
3. Administrator is one of the important and main role of this website who is responsible to
create or delete any vendor. Administrator can also add any new category to the website
and assign to any vendor.
4. All the login information is also controlled by administrator.
27
3.4. LOGICAL VIEW
Logical view describes the architecturally significant parts of the design model, such as its
decomposition into subsystems and packages. And for each significant package, its decomposition
into classes and class utilities.
Administrator
EmaiID:string
passoword:string
name: string
address:string
contct: sring product
vendor
pID categorized product
EmailID name :string 1
Password:string image productID:integer
1 name:string
1 description:string
1 categoryID:integer
address:string 1 price:integer
1 contact:string quantity:integer
1
category
0
System ID
order Item name
login
logout orderId
oreder productId
quantity
Id:string
contact info
item:integr
status:string 1 address:string
ship address:string city:string
ship cost:float 0
first name :string
item cost:float last name:string
pId:float phone:integer
Id:integer
1
shipping carrier
1
id
name 1
customer
name :string
address:string
contact:string
order:integer
28
3.5. ROLE BASED USECASES
In this section we represent all the function of the QuckShop in detail. Using use case diagram this
section will include all the use cases through which user can easily understand the flow of the each
function and importance of each role.
Login
Manage signup
Administrator
Manage categories
Visit
Payments
Place order
Vendor
Manage profile
Customer
Manage products
Manage reports
In the Fig 3.3 you see the whole architectural representation of the website QuickShop but it also
possible that new user can find it really hard to understand so in the below figure we are
representing each and every role of the website.
29
Vendor
Manage Products
Manage price
Manage Quantity
Manage reports
Manage stock
User
Browse Products
Search products
User
Checkout
Login
30
Administrator
Login
Success
Enter
Signup
Username
Failure
31
Vendor Login
Vendor can easily login on it specific section by enter his/her valid email address and password.
He also has to enter his personal to successfully sign-in on the website. If any of the information
is wrong vendor has to re-enter all the information.
Success
Failure
Vendor
Figure 3.8: Vendor Login Activity
Success
32
Success
Vendor
Figure 3.10: Vendor Account Modification Activity
Success
Browse the site
Failure
Customer
Figure 3.11: Customer Site Browsing Activity
Search Products
Customer can easily search any product on the website by just entering the name of the product in
the search box available on the website and if the product is available on the website so he can find
that product other a page appear that this product is not available.
Success
Failure
Customer
Figure 3.12: Customer Product Search Activity
33
Product Shipped
Product delivered to customer is performed by vendor. Vendor login on the website in their specific
section enter the shipper information details and save changes and then dispatch this product to
the specific customer who ordered this product so that the product is shipped to the customer
successfully.
Success
Login Enter shipped Save
order details Change
s Failure
Vendor
Figure 3.13: Vendor Product Shipping Activity
Login Select
Operation
Administrat
or
Save changes
Success Failure
Figure 3.14: Administration Modify Vendor Information Activity
34
Add/delete/Modify vendor Accounts
Administrator can Add, Delete and Modify the account of the vendor. By login on the
administrator section select on the operation of Modify Vendor where he do all the above given
functions. Select a vendor id in case of delete or modification and save changes so that the system
can easily erase or modify vendor.
Administrator
Save
changes
Success Failure
Figure 3.15: Administrator Activity of Modification of Vendors Accounts
35
CHAPTER 4
IMPLEMENTATION AND TESTING
The purpose of this design is to develop an online Quick Shop that available products to customers
on the internet. Although the design is specifically for the implementation of an online Quick Shop.
A customer can browse through a product catalogue to select products of his choice. The selected
products are collected together in a shopping cart and presented as an order at the end of the
shopping period .At this point, some information like the customers postal and billing address of
him so as to facilitate a successful and efficient transaction.
The implementation phase provides interfaces for the customer, administrator and vendors. We
provides interface for user, administrator and vendor so that it could easy to make online shopping
for every kind of customer.
A shopping cart is provided to the customer in order to facilitate the process of the online purcha se.
The system was implemented using a 3 tier client/server computing environment designed on the
XAMP platform with an Apache Server as the middle tier and a web browser as the front end tier
employing design and scripting languages like PHP and HTML and using MySQL as the relational
Database.
Our Source code has been generated, software must be tested to uncover as many errors as possible
before delivery to customer. The goal is to design a series of test cases that have a high likelihood
of finding errors.
The implementation is the final and important phase. It involves user-training, system testing in
order to ensure successful running of the proposed system. The user tests the system and changes
are made according to their needs. The testing involves the testing of the developed system using
various kind of data. While testing, errors are noted and correctness in the mode.
36
4.1. IMPLEMENTATION
The first step in the implementation of the design was the designing of the database which
consisted of the design of the relational tables using the MySQL console and the phpMyAdmin
software. The Quick shop database was created on the MySQL console and a total of 10 tables.
The basic structures of the tables composing the database are shown below along full description
and figures.
Admin
This table contains all the information of the Administrator like the Username & Password of the
admin so admin is able to login on the admin panel. The figure of the admin table is given below.
Categories
This table classifies the categories of products and assigned id that can be used to link it to another
table for searching purposes. This table contains two field Category-id and Category-name.
37
Figure 4.2 Categories table to store different products categories
Products
38
Orders
This stores the details of the purchase made by a customer for the shipping/transportation of the
purchased items.
Order Items
The table stores the items that have been selected for purchase by the customer.
39
Price
Vendors
This stores the details of the existing vendors of the Quick shop.
The next step in the implementation was the design of the interfaces and the linking of the interface
to the database. This interfaces can also use on mobilephones because of its responsive nature the
website can easily adjust itself on the mobilephones.
40
4.1.2 Interface For Desktop Users
The design of the interface for desktop user was achieved using the PHP scripting language
embedded in HTML. The design consists of three interfaces, one for the Customer and another for
the administrator and vendors.
The website consists of a number of pages which have been adequately tested to produce the
screenshots described below. When the user types in the address of the web page, the index.php
file is displayed on the browser. The main page shows available category of products, so that the
user can browse through them.
Admin Page
This is the main page for the administrator through which administrator control all the operation
of the website like add or delete vendors, manage products etc.
A click on any of the categories displays the products in that category. The user can then decide to
search for more information on any of them by clicking on it or start a new search by clicking on
the continue shopping button.
41
Main Page
This is the main page of categories where the customer can choose product by clicking on the
product.
Product Description
By clicking any of the product on the main page the user will sent to the product description page
where user see full description and images of the selected product.
42
Customer Account Login
If he decides to purchase a product by clicking on add to cart button and subsequently the checkout
button, login page will be displayed.
Shopping Cart
The customer can login and then proceed to shopping. User will sent to the page of shopping cart
where user saw all the product he/she selected.
43
Billing Information Page
User proceeds from the shopping cart where some personal details are enquired for the payment
and shipping of the product. Details are then stored in the database for subsequent transactions.
After filling the form the customer order is placed and the product is delivered to customer against
the required shipping address. Thank you for your purchase page is displayed after placing the
order.
44
Vendor Panel to Add/Delete Product Categories
By logging in Vendor is taken to an interface where he can choose the action he want to perform
like adding a new category update or editing the existing ones.
45
Administrator Sector to see Vendor
Administrator can see vendor information and also update vendors
46
Manage Product Page
The vendor can manage the product add update delte etc.
47
Product Price Management
Vendor can manage price of products.
48
4.2. TESTING
Software testing is a critical element of software quality assurance and represents the ultimate
review of specification, design and code generation. Testing is the process of running a system
with the intention of finding errors. Testing enhances the integrity of a system by detecting
deviations in a design and errors in the system. This helps in the prevention of errors in a system.
Testing also adds value to the product by confirming to the user requirements.
The main purpose of testing is to detect errors in a system. Testing must be thorough and well -
planned. A partially test of system is as bad as an untested system and the price of an untested and
under-tested system is high.
Once source code has been generated, software must be tested to uncover as many errors as
possible before delivery to customer. The goal is to design a series of test cases that have a high
likelihood of finding errors.
The implementation is the final and important phase. It involves user-training, system testing in
order to ensure successful running of the proposed system. The user tests the system and changes
are made according to their needs. The testing involves the testing of the developed system using
various kind of data. While testing, errors are noted and correctness is the mode.
Unit testing focuses efforts on the smallest unit of software design. This is known as module
testing. The modules are tested separately. The test is carried out during programming stage itself.
In this step, each module is found to be working satisfactory as regards to the expected output from
the module. The unit test is white-box oriented and the step can be conducted in parallel for multiple
components.
49
Login Module for Users
In this step, each login module is found to be working satisfactory as regards to the expected output
from the module.
Table 4.1: Login Module testing for Users
Password Warning
Can password
2 Null password Can't be msg"password Success
be Null?
NULL can't be Null"
Is able to retrieve
Able to fetch
Login ID and Login ID+ No error found
2 data from Success
password from Pass-Word during data fetching
Database
database
50
Add Record Module
In this last step of unit testing, add record module is found to be working satisfactory for
administrator as regards to the expected output from the module.
Table 4.3: Add Record Testing Module for Administrator
Integration testing is a systematic approach for constructing the program structure, while at the
same time conducting test to uncover errors associated within the interface. The objective is to take
unit tested components and build a program structure.
Data can be lost across an interface. One module can have an adverse effect on another, sub
functions, when combined, may not be linked in desired manner in major functions. All the
modules are combined and tested as a whole.
51
Table 4.4: Integration testing of Login & Logout Module
52
Record is
Records should be
Is existing Record Category updated and
3 updated and should Success
updated into Name/sub displayed on
be displayed on the
database? _category/ the view
view page
page.
4.3. VALIDATION
Validation testing can be defined in many ways, but a simple definition is that the validation
succeeds when the software functions in a manner that is expected by the customer. After
validation test has been conducted, one of three possible conditions exists.
1. The function or performance characteristics confirm to specification and are accepted.
2. A deviation from specification is uncovered and a deficiency lists is created.
3. Proposed system under consideration has been tested by using validation test and found
to be working satisfactory.
After performing the validation testing, the next step is output testing of the proposed system, since
no system could be useful if it does not produce the required output in a specific format. The output
format on the screen is found to be correct. The format was designed in the system design time
according to the user needs.
User acceptance of a system is the key factor for the success of any system. The system under
consideration is tested for the user acceptance by constantly keeping in touch with the prospective
system users at the time of developing and making changes whenever required.
This is done in regard to the following point
53
4.6. OPTIMIZATION
The software will work efficiently and speedily when the following conditions will be satisfied:
The server should be of high configuration.
The client machine has larger RAM.
Adequate free space on the client’s hard disk.
The user waits until he gets the home page properly.
No access to the database for writing, deleting or updating by any other except the authority.
4.7. OUTCOMES
To provide a high accessibility of service the online shopping website is designed.
The project envisages bridging the gap between the vendor and the customer.
The project helps in understanding the creation of interactive web pages and
technologies used to implement it.
Database connectivity.
How data access and update.
54
CONCLUSION
It is concluded that the proposed Online Shopping Application is designed for web based users
and also reduces the problems that take place inside manual systems. The application take care all
the requirements of a shopping store and is capable to provide easy access and effective storage of
information related to the customer arise to the vendor and administrator.
It successfully register the vendor and customers, billing information of all the customers and send
notification regarding ordered products to the valid users. It helps to manage activities of a
shopping website on daily basis.
Moreover, its graphical user interface make it possible for the users to work through the application
in more user friendly manner.
55
FUTURE WORK
In the future I will improve my QuickShop website by adding coupons and wish list so the buyer
can have some of things for free. I will fix bugs if they are found. More features will be added
into this application. For example,
Payment methods such as Pay Pal or credit cards will be available on this online store.
The Quick shop will require more secure encryption to provide more secure transaction.
SMS and MMS Feature.
Customer should be given more rewards for frequent purchase.
Live support should be enabled
The future works also enables users to customize features. Moreover, object-oriented approach
will be applied throughout the application.
56
REFERENCES
57