Shubhangi Blackbook-1
Shubhangi Blackbook-1
“Customfrumes Portal’’
SUBMITTED BY
SHUBHANGI AHIRE
PRANAV PALEKAR
MOHIT SHIRVI
POOJA MINDE
Prof. R.C.Mahajan
Certificate
This is to certify that the project report entitled “Customfrumes Portal”
has been successfully completed by:
A. Shubhangi Ahire
B. Pranav Palekar
C. Mohit Shirvi
D. Pooja Minde
With deep sense of gratitude we would like to thanks all the people who have lit
our path with their kind guidance. We are very grateful to these intellectuals who did their
best to help during our project work.
It is our proud privilege to express deep sense of gratitude to, Prof. P.M.
Dharmadhikari, Principal of Sandip Polytechnic, Nashik, for his comments and kind
permission to complete this project. We remain indebted to Prof. G.K.Gaikwad, H.O.D
Computer Engineering Department for their timely suggestion and valuable guidance.
The special gratitude goes my guide Prof. R.C.Mahajan and staff members,
technical staff members of Computer Engineering Department for their expensive,
excellent and precious guidance in completion of this work. We thank to all the colleagues
for their appreciable help for our working project.
With various industry owners or lab technicians to help, it has been our endeavour
to throughout our work to cover the entire project work.
We are also thankful to our parents who providing their wishful support for our
project completion successfully.
And lastly we thanks to our all friends and the people who are directly or indirectly
related to our project work.
SHUBHANGI AHIRE
PRANAV PALEKAR
MOHIT SHIRVI
POOJA MINDE
Published Paper
INDEX
Page
Chapter No. Particular
No.
Abstract 1
1 Preamble 2
1.1 Introduction 2
1.2 Review of Literature 2
1.3 Problem Statement 5
1.4 Proposed System 6
2 System Architecture 8
2.1 Methodology 8
2.2 Modules 9
4 System Modelling 12
4.1 Dataflow Diagrams 12
4.2 UML Diagram 14
5 Implementation Details 17
5.1 Implementation 17
5.1.2 Platform Used 17
5.2 Modules and Language Used 19
5.3 Cost 19
6 Coding 20
7 Testing 25
7.1 Unit Testing 25
7.2 System / Integration Testing 25
7.3 Test Cases and Results 26
8 Conclusion 31
8.1 Advantages 32
9 Future Scope 33
10 References 34
11 Appendix A 35
11.1 SCREENSHOTS 35
FIGURE INDEX
Page
Figure No. Particular
No.
2.1 Waterfall Model of Software Development 8
4.1.1 Level 0 of Customfrumes portal 12
4.1.2 Level 1 Data Flow of Customfrumes portal 13
4.2.1 Sequential diagram of Customfrumes portal 14
4.2.2 Use Case Diagram for Customfrumes portal 15
4.2.3 Activity Diagram for Customfrumes portal 16
11.1.1 LOGIN PAGE 35
11.1.2 CUSTOMER LOGIN PAGE 35
11.1.3 HOME PAGE 35
11.1.4 PROFILE PAGE 36
11.1.5 CUSTOMER’S CART 36
11.1.6 CUSTOMER’S ORDER 36
11.1.7 CUSTOMIZE PAGE 37
11.1.8 PRODUCT’S VARIATION 37
11.1.9 ADMIN’S PAGE 37
11.1.10 GLOBAL ORDERS 38
11.1.11 VENDOR’S ORDERS 38
11.1.12 DATABASE TABLE’S 38
TABLE INDEX
Page
Table No. Particular
No.
7.3.1 TEST CASE FOR LOGIN PAGE 26
7.3.2 TEST CASE FOR CUSTOMER LOGIN 26
7.3.3 TEST CASE FOR CUSTOMER LOGIN ATTEMPT 27
7.3.4 TEST CASE FOR CUSTOMIZE PERFUME PAGE 27
7.3.5 TEST CASE FOR VENDOR LOGIN 28
7.2.6 TEST CASE FOR VENDOR LOGIN ATTEMPT 28
7.2.7 TEST CASE FOR VENDOR APPROVE ORDER 28
7.2.8 TEST CASE FOR VENDOR DELETE ORDER 29
7.2.9 TEST CASE FOR DELETE VENDOR ACCOUNT 29
7.2.10 TEST CASE FOR CUSTOMER DELETE ACCOUNT 30
7.2.11 TEST CASE FOR CUSTOMER CHATBOX 30
7.2.12 TEST CASE CUSTOMER LOGOUT
Customfrums Portal
ABSTRACT
CHAPTER NO:1
PREAMBLE
1.1 INTRODUCTION
Every customer will be asked for creating a new account, if they are a returning
customer then he/she can sign-in directly. Once entered in, they will either directly start
the main process which is customizing or they could have a glance over the entire
website. It’s not just customizing a perfume but its having an experience if creating
your own perfume of your respective choice. The perfume customization page have a
lot of options for each category(such as male, female and couple) an it leads to a lot of
different possibilities. To operate the customizing menu is way simple than login too.
After customization there is also a simple text box provided so they can express
anything if they want to include with it for ex. They can mention that they would like
to have a specific name written on to the gift package or also they can ask to replace an
ingredient or also to change anything over the bottle etc. This simply explains the
concept for customizing perfume.
fragrances have been used by people since ancient times. They have been evolving
continuously since their origin. Fragrances and perfumes contribute to personal
hygiene, aromatherapy, confidence boosting, and many more. Fragrances and perfumes
have improved the grooming habits of individuals and have become essential products
of day-to-day life. Perfumes are beneficial for people working in fashion industries and
offices and in day-to-day life as well since it boosts confidence, hide unpleasant body
odors, and indicate the individuality of a person. According to LMVH's annual report
2021, sales of perfumes and cosmetics grew by 26% in 2021.
A great fragrance is much more than just the fragrance. It’s the thought, the
story and the approach behind its creation that makes it memorable. We truly believe
that a great fragrance starts with its aroma and ends with myriad of memories and
experiences enabling a story to be born. The biggest ingredient common in every
fragrance we create is heart. Our fragrances start with the aroma, flirt with your
memories, and find a place to settle down in your heart. This fragrance journey lets you
dive deeper than the surface of its aroma to create your own story. A Fragrance StoryA
Fragrance Story is a made-in-India brand of fragrances, which looks to uniquely tell a
story with each of its fragrance lines. Every fragrance has been selected to communicate
a story to further accentuate the aroma of the fragrance. A Fragrance Story strives to
deliver fragrances at an accessible price point with an International level of
sophistication.
3. SNAP PERFUMES -
Founded in 2016, Snap Perfumes Dubai UAE is set out with the simple idea of
serving luxury branded perfumes accessible to everyone at an affordable price.Snap
Perfumes has developed a genuine passion for delighting customers with expert
knowledge of perfumes and the highest customer service standardsWhich remain at the
forefront of everything that the brand stands today.We have been working hard to offer
high-end products to our valued customers both domestically and internationally.Snap
Perfumes India strives to be elegant, persistent, bold, knowledgeable, and multilingual
to offer the best perfumes and customer service to our valuable clientele, which we
believe sets us apart from the competition.
4. PURPLE -
5. NYKAA -
Nykaa is a notable beauty application selling both international, Indian and their
brand. You can either shop from it via website or download their application. They sell
both men and women perfumes. You just have to click on the fragrance options and
many more options will pop out.Some of the sub-categories are, Women-
deodorants/roll-ons, body mist/ spray, perfumes, Men- Depdorants/ roll-ons, colognes
and perfumes, combo packs, gifts, new launches and the brand new The Parcos Store.
Nykaa has more than 1800 perfumes to select from.Some of the brands are Archies,
Antonio Banderas, Adidas, Avon, Be. The Solution, Beverly Hills Polo Club, Chloe,
Davidoff, DKNY, Dunhill, Yves Rocher, UCB, The Body Shop, Ralph Lauren, Luxury
focus and many more notable brands.The amazing discounts and sales at Nykaa make
buying perfumes cheaper and profitable.
In real world, many people suffer from headaches , eye, nose ,throat irritation
and other neurotoxic symptoms due to perfume which is not suitable for their skin or
other issue. So, we have a solution for this which can possibly solve this problem and
anyone can customize their own perfume which is suitable for their own skin condition.
So, at first when the customer visits our site he will be redirected to our home
page which contains basic information about this website. when slowly the user scrolls
down they will be asked to choose any 4 categories which is male, female, couple and
best sellers. Depending upon the user’s choice they will select any one category which
will lead them to the main tab of customization. Now once the user is done finalizing
their customized perfume they will place the order with a text message with it and later
any vender which is willing to take the order will accept it. Now, if the user wants to
specify any detail customization, for that we will provide them a chat box which will
be a source for them to talk and clear any doubts. Finally, when the product is ready it
will be delivered to the buyer in a few days and the payment for the vendor will be done
in the website itself. If any scam or malpractice is reported it will be handled and
observed by the admin.
The Vendors can join our platform and can take orders from customers through
our platform this will make a source for vendors to get customers without working on
publicity and advertisements of their products. The platform will work for them to give
them customers. Our platform works very well for the customer with issues like
allergies through any ingredient, The Customer gets a full-fledged customized perfume
by selecting the ingredients on its own and by giving a message with the order. The
message will contain any additional requirement or modification in perfume. So, a very
detailed approach for providing satisfaction to customer requirement by providing
Right and Quality product will be taken by the platform.
The chat box can directly connect to the customer with the vendor for more
specific requirements. The customers who already used our service can leave feedback
for other customers this will help other customers to know the service provided by our
platform.
1.Technical Feasibility -
There is no such need for technical requirements for this project because this it
is build by different programming languages and some simple tools needed for
development purpose.
2. Financial Feasibility -
Since the system is designed to connect customer and vendor this system can
run on basic hardware and software requirements that can be arranged by customers
and small vendors. Thus the project is financially feasible.
3. Time Feasibility -
As the project is having a well understandable structure and well understood
requirements the team members have understood their role and contribution towards
project.The schedule of the project has been decided so that everything goes at decided
time. The customer and vendor can operate the system anytime anywhere thus the
project is Timely feasible.
4. Operational Feasibility -
All team members have undergone industrial training in Web development,
which includes the use of html, css, javascript, bootstrap, php. So every team member
can contribute in the development process. Thus the operational requirements of the
project are well understood by team members.
CHAPTER NO: 2
SYSTEM ARCHITECTURE
2.1 METHODOLOGY
In this model we used waterfall model for development of the web application.
2. Design -
The design phase solidifies and documents all your decisions. In this case, you
develop solutions that can solve the project’s requirements. The best way to do so is to
note all the actions you’ll take to deliver the project scope to execute them.Design
covers the project’s schedule, budget, and objectives, and you can think of design as a
blueprint or road map to the complete project.
3. Implementation -
The implementation phase executes your project plan and design to produce the
desired product. If your company develops software, you will spend this phase coding
the software functionalities. Or, if you’re managing a project at a construction company,
you will construct a house in this phase. Implementation takes up a significant portion
of waterfall project management. Everything that happens during this phase should be
carefully documented.
4. Verification/Testing -
Testing verifies that the product developed in the implementation phase fulfills
the entire project’s requirements. If this is not the case, the project team must review
the project from phase one to identify what went wrong. The testing phase uses various
quality metrics and customer satisfaction to measure the project’s success.
5. Maintenance -
The maintenance phase extends beyond the five stages of project management
into the project’s lifetime. This phase involves making minor modifications to improve
the product developed during implementation and performing other routine
maintenance tasks. It’s also a phase to identify any errors you might have missed during
the testing phase.
2.2 MODULES
There are three modules in our web application that are as follows:
1. Admin
2. Vendor
3. Customer
CHAPTER NO: 3
SOFTWARE REQUIREMENT SPECIFICATION
CHAPTER NO: 4
SYSTEM MODELING
Customfrumes
Portal
Customers and
Deliver Custom
Vendors
Perfume Orders
Management and
Communication
Figure 4.2.1: Level Zero of Customfrumes portal
• The customer, vendor and admin login is the main part of the program to
access the further features across these domain.
• Custom Perfumes Order will include customization of the pefumes and then
placing the order for the same.
• Customer and Vendors Management will be done by the admin itself for
smoother working of the website.
• Delivering customize perfume will be done through other third party
packaging services like amazon etc.
This data flow diagram represents the whole working flow of the system. The
flow starts from the login for all the individual includes the customer, vendor and
admin. Starting from the customer, he/she after login will be redirected to the home
page of the website and they can directly customizing the perfumes or else the can
choose to rea the data. While customizing they can add a small text to refer what exactly
they want. Then the order will be visible in the global orders and any available vendors
can accept the order if they wish if they can complete customers requirements. When
the vendor accepts the order he will start developing the perfume directly overtime
admin can check all the process going on he can see also monitor the progress of
producing perfume. Vendor can notify that by changing the state of the perfume from
the table. After customizing the perfume he can dispatch that for delivery directly and
thats how this system works.
1. Sequential Diagram:
A sequential diagram is a type of interaction diagram in UML (Unified
Modeling Language) that illustrates the interactions between objects or components in
a system over time. It is also known as a sequence diagram or event diagram.
Sequential diagrams are used to visualize the flow of messages or events
between objects in a system, and to show the order in which these interactions occur.
The vertical axis represents time, and the horizontal axis represents the objects or
components involved in the interactions.
Each object is represented by a box, and the messages or events exchanged
between objects are represented by arrows that point from the sender to the receiver.
The arrows can also be labeled with messages or method calls to indicate the specific
interactions that are occurring.
2. Behavioural Diagram:
These diagrams are used to represent dynamic aspects of the system. UML has
The following five types of behavioural diagrams :
I. Use case diagram
II. Activity diagram
CHAPTER NO: 5
IMPLEMENTATION DETAILS
1.1 IMPLEMENTATION
The challenging part was to decide which language should we use as it is important
element to code our program. So, as we are making a web application and we need to
validate all 3 different login form as well as other user input fields. Thus this lead us to
implement php and javascript. Other than validation to make the website more intrusive
and have a dynamic , for this we have used css and bootstrap.At last for out backbone
we have used html which is a markup language.
The “SQL” part of “MySQL” stands for “Structured Query Language.” SQL is the
most common standardized language used to access databases. Depending on your
programming environment, you might enter SQL directly (for example, to generate
reports), embed SQL statements into code written in another language, or use a
language-specific API that hides the SQL syntax.
3. GUI : HTML,CSS,BOOTSTRAP
HTML is a text file containing specific syntax, file and naming conventions that
show the computer and the web server that it is in HTML and should be read as such.
By applying these HTML conventions to a text file in virtually any text editor, a user
can write and design a basic webpage, and then upload it to the internet.
The most basic of HTML conventions is the inclusion of a document type
declaration at the beginning of the text file. This always comes first in the document,
because it is the piece that affirmatively informs a computer that this is an HTML file.
The document header typically looks like this: <!DOCTYPE html>. It should always
be written that way, without any content inside it or breaking it up. Any content that
comes before this declaration will not be recognized as HTML by a computer.
5.3 COST
• Time Estimation
The working days: 25 days * 6 months = 150 days
The working hours per day: 2 hours
Total time span for development: 300 hours
• Cost Estimation
Web Server cost = 3200 Rs/-
Domain Name cost = 800 Rs/-
So the total cost development of project will be around = 4000 Rs./-
Small additional costs are not included.
CHAPTER NO: 6
CODING
Your_Orders.php
<html>
<body>
<?php
session_start();
$uname = $_SESSION['user']; if($uname == true){
}
else{
header('location:Customer_login.php'); }
$sel_query="SELECT * FROM orders WHERE username='$uname';"; $result =
mysqli_query($conn,$sel_query); while($row = mysqli_fetch_assoc($result)) { ?> <div
class="border1">
<hr>
<?php
?>
<p class="order">Order No: <?php echo $row["sr_no"]; ?></p> <p class="order">Perfume Type:
<?php echo $row["type"]; ?></p> <p class="order">Perfume Scent: <?php echo $row["notes"];
?></p> <p class="order">Concentration level: <?php echo $row["concentration"]; ?></p> <p
class="order">Bottle Type: <?php echo $row["bottle"]; ?></p> <p class="order">Package Type:
<?php echo $row["package_for"]; ?></p> <?php if(!$row['txtarea2']){ }
else{
echo "<p class='order'>Addtional Specific Requirements:".$row["txtarea2"] . "</p>"; } ?>
<p class='order'>Shipping Address: <?php echo $row["Address"]; ?></p> <?php
if(!$row['status']){
echo "<p class='order'>Order Status: Approval Pending</p>"; }
else{
echo "<p class='order'>Order Status: " . $row['status'] . "</p>"; }
?>
<hr>
</div>
<?php } ?>
</a>
</body>
</html>
Login.php
<?php
session_start();
include "process.php";
if (isset($_POST['username']) && isset($_POST['password'])) {
function validate($data){
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
return $data;
}
$uname = validate($_POST['username']);
$pass = validate($_POST['password']);
if (empty($uname)) {
echo "<script>alert('Username is required')
window.location.href='Customer_login.php'</script>";
exit();
}else if(empty($pass)){
echo "<script>alert('Password is required')
window.location.href='Customer_login.php'</script>";
exit();
}else{
$sql = "SELECT * FROM create_account WHERE username='$uname' AND password='$pass'";
$result = mysqli_query($conn, $sql);
if (mysqli_num_rows($result) === 1) {
$row = mysqli_fetch_assoc($result);
if ($row['username'] === $uname && $row['password'] === $pass) {
echo "Logged in!";
$_SESSION['user'] = $uname;
$_SESSION['pass'] = $pass;
$_SESSION['id'] = $row['id'];
$_SESSION['add'] = $row['address'];
$_SESSION['fname'] = $row['firstname'];
$_SESSION['lname'] = $row['lastname'];
$_SESSION['ph'] = $row['phone_no'];
header("Location: logged_user.php");
exit();
}else{
echo "<script>alert('Invalid Login Credentials')
window.location.href='Customer_login.php'</script>";
exit();
}
}else{
echo "<script>alert('Invalid Login Credentials')
window.location.href='Customer_login.php'</script>";
exit();
}
}
}else{
header("");
exit();
}
?>
Orders_insert.php
<?php
session_start();
include 'process.php';
if(isset($_POST['submit'])){ extract($_GET);
$type = $_POST['scent1'];
$uname = $_SESSION['user']; $fragrance = $_POST['fragrance1']; $concentration =
$_POST['concentration1']; $bottle = $_POST['size1']; $pack_for = $_POST['pack1']; $txtarea =
$_POST['txtarea12']; $address = $_SESSION['add']; $sql="INSERT INTO orders
(type,username,notes,concentration,bottle,package_for,txtarea2,Address)
VALUES('$type','$uname','$fragrance','$concentration','$bottle','$pack_for','$txtarea','$address')";
$result = mysqli_query($conn,$sql); if($result){
echo "<script>window.location.href='order_page.php'</script>"; }
else{
echo "<script>alert('Error".mysqli_error($conn);"')</script>"; }
}
?>
create_account.php
<?php
include 'process.php';
if(isset($_POST['submit'])){
$fname = $_POST['firstname'];
$lname = $_POST['lastname'];
$ph_no = $_POST['ph_no'];
$uname = $_POST['username'];
$password = $_POST['password']; $address = $_POST['add'];
$sql="INSERT INTO create_account (firstname,lastname,phone_no,username,password,address)
VALUES('$fname','$lname','$ph_no','$uname','$password','$address')"; $result =
mysqli_query($conn,$sql); if($result){
if(isset($result)){
echo "<script>alert('Account Created Succuessfully')
window.location.href='Customer_login.php'</script>"; }
}
else{
die("Error".mysqli_error($conn)); }
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport"
content="width=device-width, initial-scale=1.0"> <title>Customer Login</title>
<link rel="stylesheet" href="Admin_style.css"> <link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css"> </head>
<body>
<header>
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 div1"> <img class="banner"
src="blogbanner.png" alt="" height="600px" width="100%"> <img src="logo_final.jpeg"
class="logo2" alt="" height="84px" width="208px"> </div>
</div>
</div>
</header>
<div class="demo5">
<form method="POST">
<p id ="id1" >Sign Up!</p>
<p class="c1">Sign up to continue to portal.</p> <p class="text1">Firstname* <br><input class="t1"
name="firstname" type="firstname" placeholder="Enter your Firstname"></p> <p
class="text1">Lastname* <br><input class="t1" name="lastname" type="lastname"
placeholder="Enter your Lastname"></p> <p class="text1">Phone number* <br><input class="t1"
Process.php
<?php
$server = "localhost"; $username = "root"; $password = ""; $database = "Customfrumes_db"; $conn =
mysqli_connect($server,$username,$password,$database); if($conn){
}
else{
die("Error");
}
?>
delete.php
<?php
include "process.php"; extract($_GET); if (isset($_GET['id'])) { $user_id = $_GET['id']; $sql =
"DELETE FROM `orders` WHERE `sr_no`='$user_id'"; $result = $conn->query($sql); if ($result ==
TRUE) { echo "<script> alert('Order Deleted Successfully') window.location.href='logged_vendor.php'
</script>"; }else{
echo "Error:" . $sql . "<br>" . $conn->error; }
}
?>
CHAPTER NO: 7
TESTING
CHAPTER NO: 8
CONCLUSIONS
ADVANTAGES
2. Quality: When you customize perfume, you have control over the quality of the
ingredients that go into the fragrance. You can choose high-quality natural ingredients,
which can result in a more long-lasting and pleasant fragrance.
3. Allergies: People who have allergies or sensitivities to certain ingredients can benefit
from customizing perfume. By choosing the ingredients themselves, they can avoid
allergens that may be found in commercially available fragrances.
4. Gifts: Customized perfumes can make thoughtful and personalized gifts for friends and
family. They can be tailored to suit the recipient's preferences and personality, making them
a thoughtful and unique gift option.
CHAPTER NO: 9
FUTURE SCOPES
Further we can add a rating review system for each vendor so, by peoples
reviews and rating to the particular vendor other people can consider their suppliers
product is good or bad. We can also add some demo image of their customization so
that they can understand how will it look after totally being customized. Also in future
we will allow customer to make additional changes to his accounts profile like image
and bio, with that we can also provide a friends system so they can chat with other
customer about the product ,the system etc. Apart from the website we can also host
some outdoor campaigns which will include installing stalls at malls which will help
customer to take a free sample and test it out.
CHAPTER NO: 10
REFERENCES
I. http://www.jisc.ac.uk/uploaded_documents/tsw_03-03.pdf
II. http://www.tutorials4u.com/html/tutorial-07-linking.html
III. http://www.d.umn.edu/itss/training/online/webdesign/php.html
IV. Bureau of Labor Statistics, U.S. Department of Labor. "Information Security
Analysts, Web Developers, and Computer Network Architects". Occupational
Outlook Handbook, 2012-13 Edition. Retrieved 2013-01-17.
V. PHP Language Reference @ http://php.net/manual/en/langref.php.
VI. https://developer.mozilla.org/en-US/docs/Learn
VII. http://books.google.co.in/books?id=N_nrWi8WOTgC&source=gbs_similarbo
oks
CHAPTER NO: 11
APPENDIX A
11.1 SCREENSHOTS -