Professional Documents
Culture Documents
Online Jewellery Shop: A Project Report Submitted in Partial Fulfillment of The Requirements For The Degree of
Online Jewellery Shop: A Project Report Submitted in Partial Fulfillment of The Requirements For The Degree of
xyzzzzzz
(Univ Roll No. 000000000)
to the
2017
DECLARATION
We hereby declare that the project work “ONLINE JEWELLERY SHOP”
submitted to the KIET GROUP OF INSTITUTIONS, Ghaziabad, is a record of an
original work done by us under the guidance of Mr. Deepak Singh, Assistant Professor,
Department of Computer Applications, KIET GROUP OF INSTITUTIONS and this
project work is submitted in the partial fulfillment of the requirements for the award of the
Degree of Master of Computer Application. The results embodied in this report have not
been submitted to any other University or Institute for the award of any degree or diploma.
AAAAAAA
(Univ.Roll.No. 0000000)
CERTIFICATE
ABSTRACT
Today most of the jewellery shop is useful for shopping site. The admin have
lots of paper work and they are using desktop, spread sheet like MS Excel application to
manage data in soft copy about user record. In this proposed jewellery System it will run in
server and user can handle whole the registration activities. It has facilities to generate
various types of reports (like pdf, excel) which are required by the management during
event organizing.
This application maintains the centralized database so that any changes done at
a location reflects immediately. This is an online tool so more than one user can login into
system and use the tool simultaneously.
The aim of this application is to reduce the manual effort needed to manage
transactions and historical data used in various gods owns. Also this application provides an
interface to users to view the details about events.
ACKNOWLEDGEMENT
We have taken efforts in this project. However, it would not have been possible
without the kind support and help of many Faculties. We would like to extend my sincere
thanks to all of them.
We would like to express our special gratitude and thanks to all above
mentioned people for giving us such attention and time. Our thanks and appreciations also
go to our colleague in developing the project and people who have willingly helped us out
with their abilities.
Ruby Yadav
LIST OF FIGURES
Declaration ii
Certificate iii
Abstract iv
Acknowledgment v
List of Tables vi
2.2.1HTML 8
2.2.2CSS 9
2.2.3BOOTSTRAP 10
2.2.4MY SQL 11
2.2.5PHP 12
2.2.6Javascript 13
4.2.1 Admin 23
4.2.2 User 24
4.2.3 Cart 25
4.2.4 Jewellery 25
6.1.3 Contact Us 41
7.1 Meaning 42
CHAPTER 11 CONCLUSION 60
APPENDIX 61-71
CHAPTER 1
INTRODUCTION
An Online Jewellery Shop The main goal of this project was to create shopping
cart, which allows customers to shop and purchase the Jewellery products online.Moreover,
the project is also designed in such a way it lets managers manage theproducts information.
Customers can orders products, and they will be contacted tofurther process the orders.
In today’s busy world, people don’t have time for their personal needs. And the
technology fast that anyone can do by sitting in a room. If someone buy a new things , he
can buy online with the help of Internet.
Admin side consists of the features such as Creating Username & Password,
Input Items, Modify Items, Delete items, Query Sale Data, Query Database’s data, and
Logout.
Customer side consists of the features such as Select Products, Search Products,
Buy Items, Continue Shopping, View Cart, Checkout, Sign-in, Creating an Account,
Bill/Ship Information, Confirm, Send Order, and Delete Order. There are also the future
works for this application.There are mainly three such objectives which are as follows:
• To shop in the comfort of your home, without having to step out of the door.
• To be able to easily save money and compare prices from website to website.
1.2 Scope
Online stores offer product description, pictures, comparisons, price and much
more. Few examples of these are Amazon.com, ebay.com, framt.com and the benefits of
online shopping is that by having direct access to consumer,the online stores can offer
products that cater to the needs of consumer,cookies can be used for tracking the customer
selection over the internet or what is of their interest when they visit the site again. Online
shopping makes use of digital technology for managing the flow of information, products,
and payment between consumer, site owners and suppliers. Online shopping can be either
B2B (business to business) or B2C (business to consumer)
Shopping cart is one of the important facility provided in online shopping, this
lets customer to browse different goods and services and once they select an item
topurchase they can place the item in shopping cart, and continue browsing till the final
selectionhave in the database. Limited access is available to the operator. As this is generic
software it can be used by a wide variety of outlets (Retailers and Wholesalers) to automate
the process of manually maintaining the records related to the subject of maintaining the
stock and cash flow.
A Gantt chart is a type of bar chart, adapted by Karol Adamiecki in 1896 and
independently by Henry Gantt in the 1910s,that illustrates a project schedule. Gantt charts
illustrate the start and finish dates of the terminal elements and summary elements of a project.
Terminal elements and summary elements comprise the work breakdown structure of the project.
Modern Gantt charts also show the dependency (i.e., precedence network) relationships between
activities. Gantt charts can be used to show current schedule status using percent-complete
shadings and a vertical "TODAY" line as shown here.
To summarize, a Gantt chart shows you what has to be done (the activities) and
when (the schedule).
Figure 1.1 Gantt chart
The PERT chart is sometimes preferred over the Gantt chart, another popular
project management charting method, because it clearly illustrates task dependencies. On
the other hand, the PERT chart can be much more difficult to interpret, especially on
complex projects. Frequently, project managers use both techniques.
Fig.1.2 Pert Chart
CHAPTER 2
TECHNICAL FEASIBILITY
Objective: The objective of the technical feasibility step is to confirm that the product
will perform and to verify that there are no production barriers.
2.2.1 HTML
HTML stands for HYPER TEXT MARKUP LANGUAGE, which is most widely
used language on web to develop web pages. HTML refers to the way in which Web pages
(HTML documents) are linked together. Thus, the link available on a web page is called
Hypertext.
HTML was created by Berners-Lee in late 1991 but “HTML 2.0” was the first
standard HTML specification which was published in 1995. HTML 4.01 was a major version of
HTML and it was published in late 1999. Though HTML 4.01 version is widely used but
currently we are having HTML-5 version which is an extension to HTML 4.01, and this version
was published in 2012.
As its name suggests, HTML is a Mark-up Language which means you use HTML
to simply “mark-up” a text document with tags that tells a web browser how to structure it to
display.
Originally, HTML was develop with the intent of defining the structure of
documents like heading, paragraph, lists, and so forth to facilitate the sharing of scientific
information between researchers. Now, HTML is being widely used to format web pages with
the help of different tags available in HTML.
2.2.2 CSS
Cascading Style Sheet is a style sheet language used for describing the presentation
of a document written in a markup language Although most often used to set the visual style
of web page and user interfaces written in HTML and XHTML, the language can be applied
to any XML document, including plain XML, SVG and XUL, and is applicable to rendering
in speech, or on other media. Along with HTML and JavaScript, CSS is a cornerstone
technology used by most websites to create visually engaging webpages, user interfaces
for web applications, and user interfaces for many mobile applications.
The CSS specifications are maintained by the World Wide Web Consortium (W3C).
Internet media type (MIME type) text/css is registered for use with CSS by RFC
2318 (March 1998). The W3C operates a free CSS validation service for CSS documents
CSS has a simple syntax and uses a number of English keywords to specify the
names of various style properties .A style sheet consists of a list of rules. Each rule or rule-
set consists of one or more selectors, and a declaration block.
2.2.3 Bootstrap
2.2.4 My SQL
MySQL is an open source RDBMS that relies on SQL for processing the data in
database. MySQL provides APIs for the languages like C, C++, Eiffel, JAVA, Perl, PHP
and Python. MySQL is most commonly used for web applications and for embedded
applications and has become a popular alternative to proprietary database system because of
its speed and reliability. MySQL can run on UNIX, Windows and Mac OS.
MySQL is an essential part of almost every open source PHP application. Good
examples for PHP/MySQL-based scripts are phpBB, os Cmmerce and Joomla. One of the
most important things about using MySQL is to have a MySQL specialized host.
2.2.5 PHP
2.2.6 JavaScript
Despite some naming, syntactic, and standard library similarities, JavaScript and
Java are otherwise unrelated and have very different semantics. The syntax of JavaScript is
actually derived from C, while the semantics and design are influenced by the Self and Scheme
programming languages.
JavaScript is also used in environments that are not Web-based, such as PDF
documents, site-specific browsers, and desktop widgets. Newer and faster JavaScript virtual
machines (VMs) and platforms built upon them have also increased the popularity of JavaScript
for server-side Web applications. On the client side, JavaScript has been traditionally
implemented as an interpreted language, but more recent browsers perform just-in-time
compilation. It is also used in game development, the creation of desktop and mobile
applications, and server-side network programming with runtime environments such as Node.js.
CHAPTER: 3
3.1 ER Diagram
A data flow diagram is graphical tool used to describe and analyze movement of data
through a system. These are the central tool and the basis from which the other components
are developed. The transformation of data from input to output, through processed, may be
described logically and independently of physical components associated with the system.
These are known as the logical data flow diagrams. The physical data flow
diagrams show the actual implements and movement of data between people, departments
and workstations.
It consists single process bit, which plays vital role in studying the current
system. The process in the context level diagram is exploded into other process at the first
level DFD.
The idea behind the explosion of a process into more process is that
understanding at one level of detail is exploded into greater detail at the next level. This is
done until further explosion is necessary and an adequate amount of detail is described for
analyst to understand the process.
DFD SYMBOLS:
In the DFD, there are four symbols:
• A square defines a source(originator) or destination of system data
• An arrow identifies data flow. It is the pipeline through which the
information flows
• A circle or a bubble represents a process that transforms incoming data flow
into outgoing data flows.
• An open rectangle is a data store, data at rest or a temporary repository of
data
Data flow
Data Store
DFD (Data Flow Diagrams)
• Level DFD
1-Level DFD
Login/Sign up
Registration
Information of
Users
Bbjewels
2 Level DFD
Fig: 3.4 2 Level DFD
CHAPTER: 4
BACKEND DESIGN
The terms data dictionary and data repository indicate a more general software
utility than a catalogue. A catalogue is closely coupled with the DBMS software. It provides
the information stored in it to the user and the DBA, but it is mainly accessed by the various
software modules of the DBMS itself, such as DDL and DML compilers, the query
optimizer, the transaction processor, report generators, and the constraint enforcer. On the
other hand, a data dictionary is a data structure that stores metadata, i.e., (structured) data
about information. The software package for a stand-alone data dictionary or data repository
may interact with the software modules of the DBMS, but it is mainly used by the
designers, users and administrators of a computer system for information resource
management. These systems maintain information on system hardware and software
configuration, documentation, application and users as well as other information relevant to
system administration.
Name Description
id Identification Of User, Admin, and Jewellery Id of the product
email Mail Address of User
mmenu_id Main menu id of the product
Mmenu_name Menu name of the category of the product
Submenu_name Name of the product link to the main menu
Checkout Check for the buy the product
Checked on Date and time of buy the product by user
In the “Online Jewellery Shop” there are many modules some of them are as
follows:
4.2.1 Admin
It includes admin and Sales Executive. Basically in this table we can store .The
information about products ,Categories ,Sub Categories and also information about the
users.
This module is used to store the information and details of users. Basically in
this table we can store information about the users like Id, Name, Surname, UserName, and
Address.
4.2.3 Cart
This module is used to keep the information about cart. We can store the information
about product like id, jewel_id, quantity and customer_id etc.
4.2.4 Jewellery
In this table the information about the item sold is to be stored. The table
contains the information like Transaction id, Item name, Selling price, Quantity, Amount,
Date, Username Customer id etc.
4.2.5 Main_Menu
In this table the information about the main menu id, main menu name,
is be stored.
Table 4.6 Main_menu
4.2.6 Sub_Menu
In this table the information about the id, main menu id, smenu name, smenu
link is stored.
FRONTEND DESIGN
5.1.1Home page
Home page is the main page of the website .This page is tell about the
information and look and feel of the website .This page is very important to make attractive.
This page include all the features and functions of that website.
HOME PAGE1:-
Fig 5.1 Home Page
HOME PAGE2:-
RANDOM FEATURED:-
TOP VIEWS:-
ITEMS:-
5.1.2 Login
Admin login access the full system and can add or delete employees as well.
The admin have to fill the user name and unique password and the press to the submit
button to access admin area. Admin view all products details and users details.
Fig 5.2 Admin Login
The User registration form contains a list of fields that is used to input data
about customer. To add a new customer we required to fill the given form which contain
User name, email, contact number, and address and then submit it.
Basically this form is used when any item is add in cart. At the time of this we
should fill the details about the item like jewel id , quantity, product name, price, total items
and delivery cost , amount, quantity, price and vat included on that product etc.
Fig 5.5 Add to cart
This is a form that is be used for gathering necessary information about new
order. When we checkout the form than there is already have information about the order
product and the details of user also. User must be filled which credit card number. Then
there is a receipt is generated like invoice
PRODUCT RECORD
The following output form shows the whole information about the products
which are involved the type , categories, and the description of the product. Following table
shows product details, price of the product, category, and etc.
The following output form shows the whole information about the category of
an product item which is made by the admin . Following table shows menu id, menu name
,menu link.
The following form shows the information about the user id, First Name, Last
Name, User Name, Password, Email, Address, status.
Fig 6.4 User Record
The following output form shows the whole information about the category of
an product item which is made by the admin. Following table shows menu id, menu name ,
menu link.
Fig 6.5 View Category
6.1.6 Contact Us
TESTING
7.1 Meaning
Now comes testing. The engineer creates a series of test cases that are intended
to “demolish” the software that has been built. In fact, testing is the one step in the software
process that could be viewed (psychologically, at least) as destructive rather than
constructive.
Fig. 7.1
Checking for the quantity of product when the user buy product.
Fig. 7.2
Checking for required to the add to cart for buy product. If we click on ok than
item is added in cart. If we click on abort or cancel than product is not add in cart.
Fig. 7.3
Fig. 7.4
Fig. 7.5
Entering the credit card number is required for the product. Credit card must be
have 14 digits.
Fig. 7.6
Fig. 7.6
Fig. 7.8
CHAPTER 8
ADVANTAGES AND LIMITATION
8.1 Advantages
• Massive choice :
This particular point is one of the biggest advantages of online jewelry shopping
and at the same time a disadvantage too. On the other hand choice and diversity means that
you will find what you are looking for, even if you are not very certain what exactly it is
and you will find it at the best possible price, which brings us to the next point.
Competitive prices :
Yes, it is logical for the prices to be more competitive online, exactly because of
the massive choice. The convenience of being the only jeweler in town is replaced online,
by the alternative of being a jewelry shop in enormous "jewelry only" shopping mall with
thousands of jewelry shops next to each other, selling similar merchandise. The online
jewelry retail stores are ran on very low cost, enabling the merchants to significantly narrow
their markup margins and still make reasonable profit.
• Information:
Any information about jewelry, diamonds and precious stones is widely
available on the net and you don't need particular computer skills or a lot of time to obtain
it. Armed with knowledge and ability to compare value for money at the click of the mouse
the online customer is not to be taken for granted. Today's jewelers , whether they like it or
not, will face educated customers, longing for the best value for their hard earned cash.
• .Time saving:
This advantage of online jewelry shopping is very obvious. The time necessary
to visit an online jeweler, looking for particular piece is an average of 6 minutes if you are
using the assistance of JewelGateway and about 20 minutes otherwise, considering the
search and checking the sometime surprisingly well positioned irrelevant hits. The time to
visit a conventional jewelry shop depends on many factors, but it will suffice to say that it is
not in the comparable margins
• Convenience :
Very much connected to the time topic but there is more. I would like to
mention, time taken from work, time taken on weekend (depending on the jeweler's trading
hours), making an appointment (and stick to it), driving to and from, looking for parking
etc. After all this effort the inventory you will be seeing will be limited in comparison to
your online choice. The guidance and advice you will be given will be sale orientated and in
most cases not 100% objective.
8.2 Disadvantages
• Overchoice:
The advantage of massive and diverse choice in overdose turns into
disadvantage. If you write "diamond ring" in your browser you will get approximately 8
million entries. Not all of them are jewelry merchants but a good deal are, besides how
could one know.
• Impatience and Conservatism:
These personal qualities of some customers, are big disadvantage to the online
jewelry shopping and unfortunately there is no viable strategy to deal with them. My only
advice to the customer in doubt is: Give it a chance. It may turn the hassle and hesitation
into a pleasurable and exiting experience.
CHAPTER 9
Preliminary analysis:
The objective of phase 1 is to conduct a preliminary analysis, propose alternative solutions,
describe costs and benefits and submit a preliminary plan with recommendations.
• Conduct the preliminary analysis: in this step, you need to find out the
organization's objectives and the nature and scope of the problem under study. Even if a
problem refers only to a small segment of the organization itself, you need to find out what
the objectives of the organization itself are. Then you need to see how the problem being
studied fits in with them.
• Propose alternative solutions: In digging into the organization's objectives
and specific problems, you may have already covered some solutions. Alternate proposals
may come from interviewing employees, clients, suppliers, and/or consultants. You can also
study what competitors are doing. With this data, you will have three choices: leave the
system as is, improve it, or develop a new system.
• Describe the costs and benefits.
Systems design:
Describes desired features and operations in detail, including screen
layouts, business rules, process diagrams, pseudocode and other documentation.
Development:
The real code is written here.
Maintenance:
During the maintenance stage of the SDLC, the system is assessed to ensure it does not
become obsolete. This is also where changes are made to initial software. It involves
continuous evaluation of the system in terms of its performance.
Evaluation:
Some companies do not view this as an official stage of the SDLC, while others consider it
to be an extension of the maintenance stage, and may be referred to in some circles as post-
implementation review. This is where the system that was developed, as well as the entire
process, is evaluated. Some of the questions that need to be answered include: does the
newly implemented system meet the initial business requirements and objectives? Is the
system reliable and fault-tolerant? Does the system function according to the approved
functional requirements? In addition to evaluating the software that was released, it is
important to assess the effectiveness of the development process. If there are any aspects of
the entire process, or certain stages, that management is not satisfied with, this is the time to
improve. Evaluation and assessment is a difficult issue. However, the company must reflect
on the process and address weaknesses
.
Disposal:
In this phase, plans are developed for discarding system information, hardware and software
in making the transition to a new system. The purpose here is to properly move, archive,
discard or destroy information, hardware and software that is being replaced, in a manner
that prevents any possibility of unauthorized disclosure of sensitive data. The disposal
activities ensure proper migration to a new system. Particular emphasis is given to proper
preservation and archival of data processed by the previous system. All of this should be
done in accordance with the organization's security requirements.
CHAPTER 10
FUTURE SCOPE
The scope of the project includes that what all future enhancements can be
done in this system to make it more feasible to us:-
CONCLUSION
While developing the system a conscious effort has been made to create and
develop a software package, making use of available tools, techniques and resources – that
would generate a proper System While making the system, an eye has been kept on making
it as user-friendly, as cost-effective and as flexible as possible. As such one may hope that
the system will be acceptable to any user and will adequately meet his/her needs. As in case
of any system development processes where there are a number of shortcomings, there have
been some shortcomings in the development of this system also. The project is still under
modification.
APPENDIX 1
CODING
1.1 GUI
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>BB Jewellery :: Login Screen</title>
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script>
$('#btnClose').click(function(e) {
$('#loginDiv').hide(0);
});
</script>
</head>
<body>
<form id="ajaxform" method="post" action="processlogin.php">
<div id="login_center_main" style="text-align:center">
<div id="closeLogin" style="text-align:right;">
<a href="#">
<img src="image/close.jpg" width="10%" height="10%" id="btnClose"
/></a>
</div>
<div id="inputDivLogin">
<div id="LoginLabel"><b>Username</b></div>
<div id="LoginInput"><input type="text" name="txtusername"
class="Logintextboxes"/></div>
</div>
<br />
<div id="inputDivLogin">
<div id="LoginLabel"><b>Password</b></div>
<div id="LoginInput"><input type="password" name="txtpassword"
class="Logintextboxes"/></div>
</div>
<br />
<div id="inputDivLoginControl">
<div>
<input id="btnSignin" class="LoginButton" type="submit" value="Sign in"
/>
<input class="LoginButton" id="btnClear" type="reset" value="Clear" />
</div>
</div>
</div>
</form>
</body></html>
1.2 INDEX
<?php
$start = microtime(true);
session_start(); // start a session
if (isset($_SESSION['user_id'])) { // check if session user_id is set
$userid = $_SESSION['user_id']; //if it is set, assign the value to the variable
$userid
}
else { // if it is not set
$userid = ""; // assign a null value to $userid
}
echo "User ID: " . $userid; //print it on screen.
?>
<?php
$_SESSION['code'] = rand(); // assign a random value to $_SESSION['code']
$code = $_SESSION['code']; // then assign the value to $code
echo "<br />Code: " . $code; // print the value of $code
?>
<?php
// User is already logged in.
if (isset($_SESSION['username'])) { //check if session username is set
$User = $_SESSION['username']; // if it is, assign the value to $User
}
else {
$User = ""; // else $User will be null
}
?>
<!--Carousel Start-->
<?php
// Included configuration file in our
code.
include("comingsoon.php");
?>
</ul>
</div>
</div>
<!--Carousel End-->
1.3 HEADER
<header id="headerWrapper">
<div id="header">
<div id="logo">
<a href="index-1.php"><img src="image/logo.png" title="BB
Jewellery Logo" alt="Our Logo" /></a>';
</div>
8.4 BACKEND
<?php
if (isset($_SESSION['user_id']))
{
$userid = $_SESSION['user_id'];
}
if (isset($_SESSION['username']))
{
$User = $_SESSION['username'];
}
else
{
$User = "";
}
?>
<?php
include("includes/mysqli_connection.php");
$sql = "SELECT COUNT(*) FROM cart WHERE cust_id = $userid
AND checkout = 'n'";
$query = (mysqli_query($db_conx,$sql));
$row = mysqli_fetch_row($query);
// Here we have the total row count
$rows = $row[0];
$countrows = $rows;
$totalquantity = 0;
$subtotal = 0;
$totalamount = 0;
$vat = 0.15;
$delivery = 500;
$selectproducts = "SELECT * FROM cart , jewellery WHERE
cart.cust_id = $userid AND jewellery.id = cart.jewel_id AND checkout = 'n'";
$query = mysqli_query($db_conx, $selectproducts);
for($loop = 0; $loop < $countrows; $loop++)
{
while($row = mysqli_fetch_array($query,
MYSQLI_ASSOC))
{
$jewelid = $row["jewel_id"];
$qty = $row["qty"];
$userid = $row["cust_id"];
$checkout = $row["checkout"];
$prodname = $row["prodname"];
$path = $row["path"];
$category = $row["category"];
$price = $row["price"];
$desc = $row["descr"];
$width="150px";
$height="150px";
$amount = ($qty * $price);
$amount = round($amount);
if (round($amount*10) == $amount*10 &&
round($amount)!=$amount) $amount = "$amount"."0"; //to avoid prices like 17.5 -
write 17.50 instead
{
if (round($amount) == $amount) //add .00
{
$amount = "$amount".".00";
}
}
$totalquantity = $totalquantity + $qty;
$subtotal = $subtotal + $amount;
$vat = round(0.15 * $subtotal);
$totalamount = ($subtotal + $vat + $delivery);
}
}
?>
<!-- Header Part Start-->
<header id="headerWrapper">
<div id="header">
<div id="logo">
<a href="index-1.php"><img src="image/logo.png"
title="BB Jewellery Logo" alt="Our Logo" /></a>
</div>
<!-- Mini Cart Start-->
<div id="cart">
<div class="heading"><a href="cart.php"><span
id="cart-total"><?php echo $countrows;?> item(s) - Rs <?php echo
$totalamount;?></span></a></div>
</div>
<!-- Mini Cart End-->
<?php
// Display Username
echo '<div id="welcome"> Welcome <b>' . $User .
'</b> || <a href="logout.php">Log Out</a></div>';
?>
</div>
</div>
</header>
<!-- Header Part End-->