Professional Documents
Culture Documents
Project Report
Submitted in partial fulfilment of the requirements for the degree of
BACHELOR OF COMPUTER APPLIACTION
BY
Approved By :
Prof. Soumya Pal
Self Certificate
1. Introduction
2. System Specification
6. User Interface
7. Coding Section
9. Future Scope
10. Conclusion
1. Introduction
Background Study :
Project Planning
Project planning is part of project
management, which relates to the
use of schedules such as Gantt
charts to plan and subsequently report
progress within the project
environment. Initially, the project
scope is defined and the appropriate
methods for completing the project
are determined. Following this
step, the durations for the various
tasks necessary to complete the work
are listed and grouped into a
work breakdown structure. The
logical dependencies between
tasks are defined using an
activity
network diagram that enables
identification of the critical path. Float
or slack time in the schedule can
be calculated using project
management software. Then the
necessary resources can be estimated
and
costs for each activity can be allocated
to each resource, giving the total
project cost. At this stage, the
project plan may be optimized to
achieve the appropriate balance
between resource usage and project
duration to comply with the project
objectives. Once established and
agreed, the plan becomes what is
known as the baseline. Progress will
be measured against the baseline
throughout the life of the project
Project planning is part of project
management, which relates to the
use of schedules such as Gantt
charts to plan and subsequently report
progress within the project
environment. Initially, the project
scope is defined and the appropriate
methods for completing the project
are determined. Following this
step, the durations for the various
tasks necessary to complete the work
are listed and grouped into a
work breakdown structure. The
logical dependencies between
tasks are defined using an
activity
network diagram that enables
identification of the critical path. Float
or slack time in the schedule can
be calculated using project
management software. Then the
necessary resources can be estimated
and
costs for each activity can be allocated
to each resource, giving the total
project cost. At this stage, the
project plan may be optimized to
achieve the appropriate balance
between resource usage and project
duration to comply with the project
objectives. Once established and
agreed, the plan becomes what is
known as the baseline. Progress will
be measured against the baseline
throughout the life of the project
Project planning is part of project management, which relates to the
use of schedules such as Ganttcharts to plan and subsequently report
progress within the project environment. Initially, the projectscope is defined
and the appropriate methods for completing the project are determined.
Following thisstep, the durations for the various tasks necessary to complete
the work are listed and grouped into awork breakdown structure. The
logical dependencies between tasks are defined using an
activitynetwork diagram that enables identification of the critical path. Float
or slack time in the schedule canbe calculated using project management
software. Then the necessary resources can be estimated andcosts for each
activity can be allocated to each resource, giving the total project cost.
Purposes
The project is about to handle all the
information of the shop regarding
members. Also it manages
resources which were managed and
handled by manpower previously. The
main purpose of the project
is to integrate distinct sections of
the shop into consistent manner so
that complex functions can be
handled smoothly. The project aims at
the following matters
Automation of product
manipulation.
Buying products.
To manage information of
different types of items.
Consistently update information
of all the item.
Managing security by providing
authorized email & password.
Manages database efficiently
Purposes :
The project is about to handle all the information of the shop regarding
members. Also it managesresources which were managed and handled by
manpower previously. The main purpose of the projectis to integrate distinct
sections of the shop into consistent manner so that complex functions
can behandled smoothly. The project aims at the following matters
Automation of product manipulation.
Buying products.
To manage information of different types of items.
Consistently update information of all the item.
Managing security by providing authorized email & password.Manages
database efficiently
Purposes
The project is about to handle all the
information of the shop regarding
members. Also it manages
resources which were managed and
handled by manpower previously. The
main purpose of the project
is to integrate distinct sections of
the shop into consistent manner so
that complex functions can be
handled smoothly. The project aims at
the following matters
Automation of product
manipulation.
Buying products.
To manage information of
different types of items.
Consistently update information
of all the item.
Managing security by providing
authorized email & password.
Manages database efficiently
Project Planning
Project planning is part of project
management, which relates to the
use of schedules such as Gantt
charts to plan and subsequently report
progress within the project
environment. Initially, the project
scope is defined and the appropriate
methods for completing the project
are determined. Following this
step, the durations for the various
tasks necessary to complete the work
are listed and grouped into a
work breakdown structure. The
logical dependencies between
tasks are defined using an
activity
network diagram that enables
identification of the critical path. Float
or slack time in the schedule can
be calculated using project
management software. Then the
necessary resources can be estimated
and
costs for each activity can be allocated
to each resource, giving the total
project cost. At this stage, the
project plan may be optimized to
achieve the appropriate balance
between resource usage and project
duration to comply with the project
objectives. Once established and
agreed, the plan becomes what is
known as the baseline. Progress will
be measured against the baseline
throughout the life of the project Project planning
is part of project management, which relates to the use of schedules such as Ganttcharts to plan and
subsequently report progress within the project environment. Initially, the projectscope is defined and the
appropriate methods for completing the project are determined. Following thisstep, the durations for the various
tasks necessary to complete the work are listed and grouped into awork breakdown structure. The logical
dependencies between tasks are defined using an activitynetwork diagram that enables identification of the
critical path. Float or slack time in the schedule canbe calculated using project management software. Then the
necessary resources can be estimated andcosts for each activity can be allocated to each resource, giving the total
project cost. At this stage, theproject plan may be optimized to achieve the appropriate balance between resource
usage and projectduration to comply with the project objectives. Once established and agreed, the plan becomes
what isknown as the baseline. Progress will be measured against the baseline throughout the life of the project
Software Specification:-
Operating System : Linux, Ubuntu, Mac, Windows XP, 7,
8, 8.1, 10
Frontend : HTML, CSS, Bootstrap, JavaScript
Backend : PHP and MySQL
Local host : XAMPP
Hardware Specification:-
Processor : Pentium IV or
Above
RAM : 2GB or above
Hard Disk : 50GB or above
Input Devices : Keyboard,
Mouse
Output Devices : Monitor
Processor : Pentium IV or
Above
RAM : 2GB or above
Hard Disk : 50GB or above
Input Devices : Keyboard,
Mouse
Output Devices : Monitor
Processor : Pentium IV or Above
Tools
HTML
CSS
Bootstrap
Laravel
Vue Js
MySQL
XAMPP
Tools
HTML
CSS
Bootstrap
PHP
MySQL
XAMPP
When the user clicks on any product, they will be re-directed to the product page
where the product image and details are visible. User can choose to add the product
to the cart, and it requires user to already logged in to add products to the cart.
Viewers can also see reviews written by other users.
Users and Sellers can register into the website and login with their e-mail or phone
number and password. Window-shopping doesn’t require any kind of authentication.
3. CART
Cart is a virtual tool that allows users to collect and store items they wish to
purchase before proceeding to the checkout process. The cart serves as a temporary
storage space for selected products or services and provides a convenient way for
users to manage their online shopping experience.
1. Adding items: When users browse through product listings on an e-commerce site,
they can typically find an "Add to Cart" button or a similar option next to each
item. By clicking on this button, the selected item is added to the user's cart. The
website then stores information about the item, such as its name, price, quantity,
and any other relevant details.
3. Editing the cart: Within the cart interface, users can typically adjust the
quantity of items they want to purchase or remove specific items altogether. This
functionality provides flexibility for users to modify their shopping selections
before proceeding to checkout.
4. Cart persistence: To enhance the user experience, e-commerce sites often use
technologies like cookies or user accounts to persist the cart's content across
multiple browsing sessions. This means that users can add items to their cart, leave
the site, and return later to find their cart still populated with the previously
selected items.
5. Checkout process: Once users have finalized their shopping selections in the cart,
they can proceed to the checkout process. By clicking on a "Checkout" button or a
similar call-to-action, users are typically taken to a dedicated checkout page where
they enter their billing and shipping information, choose a payment method, and
review the order details.
6. Order completion: After the user has provided the necessary information and
confirmed the purchase, the e-commerce site processes the order, often involving
payment processing and inventory management. The user receives a confirmation message
or email with the order details, and the items are prepared for shipping or made
available for digital download, depending on the nature of the purchase.
allowing visitors to sign up to receive regular email updates, promotions, and other
relevant information from your online store. It involves collecting email addresses
and other necessary information from interested users to build a mailing list for
your newsletter.
5. Cutomer Feedbacks
Cutomer Feedbacks will be use to get the feedbacks from the cutomer about our site or
they can use it to clear any query in there mind about the product ,They can also use
it to report any kind of error happened in there payment or any problem they are
facing in the website.
6. Payment Gateway
Payment Gateway are use to do payment for the product the user willing to buy.
7. Query BOT
It’s a BOT that will help the customer to find instant solution to the query aor
problem they have.
8. ADMIN PAGE
The Admin Page contain all the tools to manage the website.Some
of the Following tools are :-
1.Website Setting
2.Shop Setting
3.Product Management
4.Manager Silders
5.Services
6.FAQ
7.Registered Customer
8.Page Settings
9.Social Media
10.Subscriber
These are the the tools are use buy the admin to manage the hole
website.Every admin Have there own Sets Of id and passwords
Page | 13
USER INTERFACE
Page | 67
Coding
<?php require_once('header.php'); ?>
<?php
$statement = $pdo->prepare("SELECT * FROM tbl_settings WHERE id=1");
$statement->execute();
$result = $statement->fetchAll(PDO::FETCH_ASSOC);
foreach ($result as $row) {
$cta_title = $row['cta_title'];
$cta_content = $row['cta_content'];
$cta_read_more_text = $row['cta_read_more_text'];
$cta_read_more_url = $row['cta_read_more_url'];
$cta_photo = $row['cta_photo'];
$featured_product_title = $row['featured_product_title'];
$featured_product_subtitle = $row['featured_product_subtitle'];
$latest_product_title = $row['latest_product_title'];
$latest_product_subtitle = $row['latest_product_subtitle'];
$popular_product_title = $row['popular_product_title'];
$popular_product_subtitle = $row['popular_product_subtitle'];
$total_featured_product_home = $row['total_featured_product_home'];
$total_latest_product_home = $row['total_latest_product_home'];
$total_popular_product_home = $row['total_popular_product_home'];
$home_service_on_off = $row['home_service_on_off'];
$home_welcome_on_off = $row['home_welcome_on_off'];
$home_featured_product_on_off = $row['home_featured_product_on_off'];
$home_latest_product_on_off = $row['home_latest_product_on_off'];
$home_popular_product_on_off = $row['home_popular_product_on_off'];
}
?>
<?php
$i = 0;
$statement = $pdo->prepare("SELECT * FROM tbl_slider");
$statement->execute();
$result = $statement->fetchAll(PDO::FETCH_ASSOC);
foreach ($result as $row) {
?>
<div class="item <?php if ($i == 0) {
echo 'active';
} ?>" style="background-image:url(assets/uploads/<?php echo $row['photo']; ?>);">
<div class="bs-slider-overlay"></div>
<div class="container">
<div class="row">
<div class="slide-text <?php if ($row['position'] == 'Left') {
echo 'slide_style_left';
} elseif ($row['position'] == 'Center') {
echo 'slide_style_center';
} elseif ($row['position'] == 'Right') {
echo 'slide_style_right';
} ?>">
<h1 data-animation="animated <?php if ($row['position'] == 'Left') {
echo 'zoomInLeft';
} elseif ($row['position'] == 'Center') {
echo 'flipInX';
} elseif ($row['position'] == 'Right') {
echo 'zoomInRight';
} ?>"><?php echo $row['heading']; ?></h1>
<p data-animation="animated <?php if ($row['position'] == 'Left') {
echo 'fadeInLeft';
} elseif ($row['position'] == 'Center') {
echo 'fadeInDown';
} elseif ($row['position'] == 'Right') {
echo 'fadeInRight';
} ?>"><?php echo nl2br($row['content']); ?></p>
<a href="<?php echo $row['button_url']; ?>" target="_blank" class="btn btn-primary" data-
animation="animated <?php if ($row['position'] == 'Left') {
echo 'fadeInLeft';
} elseif ($row['position']
== 'Center') {
echo 'fadeInDown';
} elseif ($row['position']
== 'Right') {
echo 'fadeInRight';
} ?>"><?php echo
$row['button_text']; ?></a>
</div>
</div>
</div>
</div>
<?php
$i++;
}
?>
</div>
</div>
<div class="product-carousel">
<?php
$statement = $pdo->prepare("SELECT * FROM tbl_product WHERE p_is_featured=? AND
p_is_active=? LIMIT " . $total_featured_product_home);
$statement->execute(array(1, 1));
$result = $statement->fetchAll(PDO::FETCH_ASSOC);
foreach ($result as $row) {
?>
<div class="item">
<div class="thumb">
<div class="photo" style="background-image:url(assets/uploads/<?php echo
$row['p_featured_photo']; ?>);"></div>
<div class="overlay"></div>
</div>
<div class="text">
<h3><a href="product.php?id=<?php echo $row['p_id']; ?>"><?php echo $row['p_name'];
?></a></h3>
<h4>
$<?php echo $row['p_current_price']; ?>
<?php if ($row['p_old_price'] != '') : ?>
<del>
$<?php echo $row['p_old_price']; ?>
</del>
<?php endif; ?>
</h4>
<div class="rating">
<?php
$t_rating = 0;
$statement1 = $pdo->prepare("SELECT * FROM tbl_rating WHERE p_id=?");
$statement1->execute(array($row['p_id']));
$tot_rating = $statement1->rowCount();
if ($tot_rating == 0) {
$avg_rating = 0;
} else {
$result1 = $statement1->fetchAll(PDO::FETCH_ASSOC);
foreach ($result1 as $row1) {
$t_rating = $t_rating + $row1['rating'];
}
$avg_rating = $t_rating / $tot_rating;
}
?>
<?php
if ($avg_rating == 0) {
echo '';
} elseif ($avg_rating == 1.5) {
echo '
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
<i class="fa fa-star-o"></i>
<i class="fa fa-star-o"></i>
<i class="fa fa-star-o"></i>
';
} elseif ($avg_rating == 2.5) {
echo '
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
<i class="fa fa-star-o"></i>
<i class="fa fa-star-o"></i>
';
} elseif ($avg_rating == 3.5) {
echo '
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
<i class="fa fa-star-o"></i>
';
} elseif ($avg_rating == 4.5) {
echo '
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
';
} else {
for ($i = 1; $i <= 5; $i++) {
?>
<?php if ($i > $avg_rating) : ?>
<i class="fa fa-star-o"></i>
<?php else : ?>
<i class="fa fa-star"></i>
<?php endif; ?>
<?php
}
}
?>
</div>
<div class="product-carousel">
<?php
$statement = $pdo->prepare("SELECT * FROM tbl_product WHERE p_is_active=? ORDER BY
p_id DESC LIMIT " . $total_latest_product_home);
$statement->execute(array(1));
$result = $statement->fetchAll(PDO::FETCH_ASSOC);
foreach ($result as $row) {
?>
<div class="item">
<div class="thumb">
<div class="photo" style="background-image:url(assets/uploads/<?php echo
$row['p_featured_photo']; ?>);"></div>
<div class="overlay"></div>
</div>
<div class="text">
<h3><a href="product.php?id=<?php echo $row['p_id']; ?>"><?php echo $row['p_name'];
?></a></h3>
<h4>
$<?php echo $row['p_current_price']; ?>
<?php if ($row['p_old_price'] != '') : ?>
<del>
$<?php echo $row['p_old_price']; ?>
</del>
<?php endif; ?>
</h4>
<div class="rating">
<?php
$t_rating = 0;
$statement1 = $pdo->prepare("SELECT * FROM tbl_rating WHERE p_id=?");
$statement1->execute(array($row['p_id']));
$tot_rating = $statement1->rowCount();
if ($tot_rating == 0) {
$avg_rating = 0;
} else {
$result1 = $statement1->fetchAll(PDO::FETCH_ASSOC);
foreach ($result1 as $row1) {
$t_rating = $t_rating + $row1['rating'];
}
$avg_rating = $t_rating / $tot_rating;
}
?>
<?php
if ($avg_rating == 0) {
echo '';
} elseif ($avg_rating == 1.5) {
echo '
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
<i class="fa fa-star-o"></i>
<i class="fa fa-star-o"></i>
<i class="fa fa-star-o"></i>
';
} elseif ($avg_rating == 2.5) {
echo '
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
<i class="fa fa-star-o"></i>
<i class="fa fa-star-o"></i>
';
} elseif ($avg_rating == 3.5) {
echo '
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
<i class="fa fa-star-o"></i>
';
} elseif ($avg_rating == 4.5) {
echo '
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
';
} else {
for ($i = 1; $i <= 5; $i++) {
?>
<?php if ($i > $avg_rating) : ?>
<i class="fa fa-star-o"></i>
<?php else : ?>
<i class="fa fa-star"></i>
<?php endif; ?>
<?php
}
}
?>
</div>
<?php if ($row['p_qty'] == 0) : ?>
<div class="out-of-stock">
<div class="inner">
Out Of Stock
</div>
</div>
<?php else : ?>
<p><a href="product.php?id=<?php echo $row['p_id']; ?>"><i class="fa fa-shopping-
cart"></i> Add to Cart</a></p>
<?php endif; ?>
</div>
</div>
<?php
}
?>
</div>
</div>
</div>
</div>
</div>
<?php endif; ?>
<div class="product-carousel">
<?php
$statement = $pdo->prepare("SELECT * FROM tbl_product WHERE p_is_active=? ORDER BY
p_total_view DESC LIMIT " . $total_popular_product_home);
$statement->execute(array(1));
$result = $statement->fetchAll(PDO::FETCH_ASSOC);
foreach ($result as $row) {
?>
<div class="item">
<div class="thumb">
<div class="photo" style="background-image:url(assets/uploads/<?php echo
$row['p_featured_photo']; ?>);"></div>
<div class="overlay"></div>
</div>
<div class="text">
<h3><a href="product.php?id=<?php echo $row['p_id']; ?>"><?php echo $row['p_name'];
?></a></h3>
<h4>
$<?php echo $row['p_current_price']; ?>
<?php if ($row['p_old_price'] != '') : ?>
<del>
$<?php echo $row['p_old_price']; ?>
</del>
<?php endif; ?>
</h4>
<div class="rating">
<?php
$t_rating = 0;
$statement1 = $pdo->prepare("SELECT * FROM tbl_rating WHERE p_id=?");
$statement1->execute(array($row['p_id']));
$tot_rating = $statement1->rowCount();
if ($tot_rating == 0) {
$avg_rating = 0;
} else {
$result1 = $statement1->fetchAll(PDO::FETCH_ASSOC);
foreach ($result1 as $row1) {
$t_rating = $t_rating + $row1['rating'];
}
$avg_rating = $t_rating / $tot_rating;
}
?>
<?php
if ($avg_rating == 0) {
echo '';
} elseif ($avg_rating == 1.5) {
echo '
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
<i class="fa fa-star-o"></i>
<i class="fa fa-star-o"></i>
<i class="fa fa-star-o"></i>
';
}
elseif ($avg_rating == 2.5) {
echo '
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
<i class="fa fa-star-o"></i>
<i class="fa fa-star-o"></i>
';
} elseif ($avg_rating == 3.5) {
echo '
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
<i class="fa fa-star-o"></i>
';
} elseif ($avg_rating == 4.5) {
echo '
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-half-o"></i>
';
} else {
for ($i = 1; $i <= 5; $i++) {
?>
<?php if ($i > $avg_rating) : ?>
<i class="fa fa-star-o"></i>
<?php else : ?>
<i class="fa fa-star"></i>
<?php endif; ?>
<?php
}
}
?>
</div>
<?php if ($row['p_qty'] == 0) : ?>
<div class="out-of-stock">
<div class="inner">
Out Of Stock
</div>
</div>
<?php else : ?>
<p><a href="product.php?id=<?php echo $row['p_id']; ?>"><i class="fa fa-shopping-
cart"></i> Add to Cart</a></p>
<?php endif; ?>
</div>
</div>
<?php
}
?>
</div>
</div>
</div>
</div>
</div>
<?php endif; ?>
if(empty($_POST['cust_email']) || empty($_POST['cust_password'])) {
$error_message = LANG_VALUE_132.'<br>';
} else {
$cust_email = strip_tags($_POST['cust_email']);
$cust_password = strip_tags($_POST['cust_password']);
if($total==0) {
$error_message .= LANG_VALUE_133.'<br>';
} else {
//using MD5 form
if( $row_password != md5($cust_password) ) {
$error_message .= LANG_VALUE_139.'<br>';
} else {
if($cust_status == 0) {
$error_message .= LANG_VALUE_148.'<br>';
} else {
$_SESSION['customer'] = $row;
header("location: ".BASE_URL."dashboard.php");
}
}
}
}
}
?>
<div class="page">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="user-content">
Implementation Process:
The implementation phase involved the following key
steps:
1.1 Requirement Gathering:
Extensive discussions were conducted with the client to
gather requirements, define goals, and identify the
desired functionalities and features for the e-commerce
website. The target audience, product catalog, payment
gateways, shipping options, and other essential aspects
were determined.
Testing Process:
To ensure the quality and functionality of the e-
commerce website, a comprehensive testing phase was
conducted. The following testing activities were
performed:
2.1 Functional Testing:
All the website's functionalities were thoroughly tested
to verify their correctness and proper execution. This
included testing features such as product search, add to
cart, checkout process, payment processing, user
registration, and account management. Various
scenarios, edge cases, and input combinations were
tested to validate the system's behavior.
1.4 Return and Refund Process: Define a clear return and refund policy
specifically for COD orders. Establish an efficient process for handling
returns, refunds, and exchanges to maintain customer satisfaction.
Secure Banking System:
Enhancing the security of your e-commerce website's banking system is
crucial to instill trust in your customers and protect their financial
information. Consider the following aspects when implementing a secure
banking system:
2.1 Secure Payment Gateway: Evaluate and integrate a reputable and secure
payment gateway that complies with industry standards and provides
advanced security measures. Ensure that the payment gateway encrypts
sensitive information during transactions.
2.3 PCI DSS Compliance: Ensure compliance with the Payment Card
Industry Data Security Standard (PCI DSS), which establishes requirements
for handling and protecting customer payment card information. Adhere to
the necessary security protocols to safeguard cardholder data.
2.5 Fraud Detection and Prevention: Implement robust fraud detection and
prevention mechanisms to identify suspicious activities and potential
fraudulent transactions. Employ AI-based algorithms or fraud detection
services to enhance security and minimize financial risks.
2.6 Data Encryption: Encrypt sensitive customer data, such as credit card
information and personal details, both in transit and at rest. Utilize industry-
standard encryption algorithms to ensure that the data remains protected.