0% found this document useful (0 votes)
177 views63 pages

E Commerce Project

Uploaded by

prathi1443
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
177 views63 pages

E Commerce Project

Uploaded by

prathi1443
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 63

SWIFTCART

A PROJECT REPORT

Submitted by

NIVITHRA V(20EUIT098)
PREETHIKHA G(20EUIT109)
PRIYADHARSHINI B(20EUIT110)
RITHIKA S(20EUIT119)

in partial fulfillment for the award of the degree of

BACHELOR OF ENGINEERING
IN
IFORMATION TECHNOLOGY

SRI KRISHNA COLLEGE OF ENGINEERING AND TECHNOLOGY


(An Autonomous Institution, Affiliated to Anna University Chennai - 600025)

NOVEMBER 2022
BONAFIDE CERTIFICATE

Certified that this project report “SWIFTCART” is the bonafide work of


“Ms. NIVITHRA V(20EUIT098), Ms.PREETHIKHA G(20EUIT109),
Ms.Priyadharshini B(20EUIT110),Ms.Rithika S (20EUIT119) who carried out
the project work under my supervision.

SIGNATURE SIGNATURE

HEAD OF THE DEPARTMENT SUPERVISOR

Department of Information Technology


Sri Krishna College of Engineering
and Technology Coimbatore

Submitted for the Project viva-voce examination held on

INTERNAL EXAMINER EXTERNAL EXAMINER


ACKNOWLEDGEMENT

We express our sincere thanks to the management and Dr. J. JANET, M.E.,
Ph.D., Principal, Sri Krishna College of Engineering and Technology,
Coimbatore for providing us the facilities to carry out this project work.

We are thankful to Dr. N. SUSILA., Ph.D., Head of the Department,


Information Technology for her continuous evaluation, valuable suggestions
and comments given during the course of the project work.

We express our deep sense of gratitude to our guide, Ms. RAIHANA A, Assistant
Professor/Associate Professor/Professor in the department of Information
Technology for her valuable guidance and support during the course of our
project work.

We would also like to thank our project coordinator Ms. RAIHANA A Assistant
Professor, Department of Information Technology for helping us in completing
our project work.

By this, we express our heartfelt sense of gratitude and thanks to our beloved
parents, family and friends who have all helped in collecting the resources and
materials needed for this project and for their support during the study and
implementation this project.
ABSTRACT

The business to consumer aspect of electronic commerce (e-commerce) is the


most visible business use of the Word Wide Web. The primary goal of E-
commerce is to sell goods and services online. This project is a web-based
shopping system for an existing shop. The project objective is to deliver the online
shopping application. This project is an attempt to provide the advantages of
online shopping to customers of a real shop. It helps buying the products in the
shop anywhere through internet by using a web site.
Unlike traditional commerce that is carried out physically with effort of a person
to go & get products, ecommerce has made it easier for human to reduce physical
work and to save time. E-Commerce which was started in early 1990’s has
taken a great leap in the world of computers, but the fact that has hindered the
growth of e-commerce is security. Security is the challenge facing e-commerce
today & there is still a lot of advancement made in the field of security.
The main advantage of e-commerce over traditional commerce is the user can
browse online shops, compare prices and order merchandise sitting at home on
their PC.
For increasing the use of e-commerce in developing countries the B2B e-
commerce is implemented for improving access to global markets for firms in
developing countries. For a developing country advancement in the field of e-
commerce is essential. The research strategy shows the importance of the e-
commerce in developing countries for business applications.
5
TABLE OF CONTENTS

CHAPTER NO TITLE PAGENO

1 INTRODUCTION
1.1 Overview
1.2 Need for Swiftcart
1.3 Literature survey
1.4 Objective

2 SYSTEM ANALYSIS
2.1 Existing System
2.2 Problem definition
2.3 Proposed System
2.4 Feasibility study
2.4.1 economic feasibility
2.4.2 operational feasibility
2.4.3 technical feasibility
2.4.4 scope of the project

3 SYSTEM REQUIREMENT SPECIFICATION


3.1 Software requirement
3.2 Theoretical background DJANGO

4 SYSTEM DESIGN
4.1 System architecture
4.3flowchart
4.3 module description
4.3.1 Login Page
4.3.2 Authentication with email Verification
4.3.3 Add to cart functionality
4.3.4 Adding products category wise
4.3.5 Paytm Integration
6
4.3.6 Order Management
4.3.7 Product Catalog
4.4 data flow diagram
4.4.1 context diagram
4.4.2 level-1 DFD
4.4.3 level-2 DFD

5 IMPLEMENTATION AND RESULTS


5.1 Implementation
5.2 system algorithm
5.3 results
5.4 performance analysis

6 SYSTEM TESTING
6.1 test plan

7 CONCLUSION AND FUTURE WORK


7.1 Conclusion
7.2 Future Work

8 REFERENCE
7
LIST OF TABLES

TABLE NO TABLE NAME PAGE NO

1 USER
2 PRODUCT
3 ORDER
4 PAYMENT
8
LIST OF FIGURES

FIGURE NO FIGURE NAME PAGE NO

1 WORLDWIDE SALES GRAPH


2 E-COMMERCE BENEFITS
3 SYSTEM ARCHITECTURE
4 CONTEXT DIAGRAM
5 LEVEL-1 DFD
6 LEVEL-2 DFD
9

LIST OF ABBREVIATIONS

1.HTML-HYPER TEXT MARKUP LANGUAGE


2.CSS-CASCADING STYLE SHEET
3.E-COMMERCE-ELECTRONIC COMMERCE
4.DFD-DATA FLOW DIAGRAM
10
CHAPTER 1

INTRODUCTION

1.1 OVERVIEW

The Swiftcart is typically an online platform or website that allows


businesses to sell their products or services to customers through the
internet. The project typically involves creating an online store that
customers can visit to browse products, make purchases, and track their
orders.
Some of the key components of an Swiftcart include designing and
developing a user-friendly website, integrating a secure payment gateway,
managing a product catalog, implementing shipping and delivery systems,
and ensuring customer support and satisfaction. Swiftcart businesses to
reach customers worldwide, breaking the geographic limitations of brick-
and-mortar stores. Swiftcarts are always open, allowing customers to shop
at any time, from anywhere. They can personalize the shopping experience
for customers by recommending products based on their browsing and
purchasing history.
Overall, Swiftcart is designed to provide customers with a convenient and
secure platform to browse, purchase, and receive products or services, and
help businesses increase sales, expand reach, and gain valuable insights into
customer behavior.
11

FIG 1: WORLDWIDE SALES GRAPH

1.2 NEED FOR SWIFTCART:

The need for an e-commerce project arises from the increasing trend of online
shopping and the convenience it offers to consumers. E-commerce has
become an essential part of the modern retail industry, allowing businesses to
sell products and services online to a global audience. Here are some reasons
why an e-commerce project may be necessary:
12
1. Reach a wider audience: An e-commerce project can help businesses reach
customers who are geographically distant or have limited access to brick-
and-mortar stores. With an online store, businesses can expand their
customer base and sell products to people all over the world.

2. Convenience: Online shopping is convenient for customers who can browse


and purchase products from the comfort of their homes or on-the-go using
their smartphones or tablets. Customers can also compare prices and
products easily, read reviews, and access customer support.

3. Increased sales: E-commerce projects can lead to increased sales as


businesses can offer a wider range of products and services online, and
customers can make purchases at any time of the day. Additionally, e-
commerce projects can help businesses upsell and cross-sell products, and
offer promotions and discounts.

4. Reduced costs: E-commerce projects can help businesses reduce costs


associated with traditional brick-and-mortar stores, such as rent, utilities, and
employee salaries. With an online store, businesses can save on these costs
and pass on the savings to customers.

5. Analytics and insights: E-commerce projects can provide businesses with


valuable data and insights into customer behaviour, preferences, and trends.
Businesses can use this data to optimize their product offerings, pricing, and
marketing strategies.
13

1.3 LITERATURE SURVEY:

1. "Design and Implementation of an Online Shopping Cart System" by Ayandiran


Oluwafemi, Adeyemo Opeyemi, and Olugbara Oludayo. This paper discusses the
design and implementation of an online shopping cart system with a focus on
security and user experience.
2. "Designing E-Commerce Shopping Cart Interfaces: Factors Influencing Users’
Satisfaction" by Wei-Cheng Lin and Chung-Ho Su. This study explores the
factors that influence users' satisfaction with e-commerce shopping cart
interfaces, such as usability, functionality, and visual appeal.
3. "A Framework for Evaluating E-commerce Shopping Cart Software" by Tharaka
Kodikara and Thilini Ariyachandra. This paper presents a framework for
evaluating e-commerce shopping cart software based on various criteria such as
functionality, usability, and security.
4. "An Approach to Shopping Cart Abandonment Prediction in E-commerce" by
Charalampos Doukas and Symeonidis Andreas. This study proposes an approach
to predict shopping cart abandonment in e-commerce websites using machine
learning techniques.
5. "An Evaluation of Shopping Cart Abandonment in E-commerce Websites" by
Valentina Ndou, Eleftherios Iakovou, and Ioannis Kostopoulos. This paper
presents an evaluation of shopping cart abandonment in e-commerce websites,
including the reasons for abandonment and strategies to reduce it.
6. This daily usage of the Internet by these people takes them naturally to operate it
as a shoppers stop too. Additional constituents found which makes a difference to
the buying behaviour of the buyers and their attitudes include their culture
surroundings, particular needs, commitment of the product, mood to trust, to what
14
extent buyers can easily share their personal information and their willingness to
invest on internet buying (Bellman et al 1999).
7. The willingness of the buyers to do shopping at the internet stores is referred to as
their intention to shop online. Often, this factor is assessed by the willingness of the
consumers to purchase and to return to the same website for making further
shopping. This then also adds to the buyer’s faith on the website. The intention of
the consumer to make a purchase through internet is greatly attached with their
mind-set heading for buying from internet and makes an impact on their final choice
making and buying behaviour (Jarvenpaa et. al., 2000).
8. Mishra & Kotkar (2015) trace the timeline and development of B2C ecommerce
in “A Study on Current Status of Ecommerce in India: A Comparative Analysis
of Flipkart and Amazon “with its inception in the mid-1990s through the advent
of matrimonial and job portals. However, due to limited internet accessibility,
weak online payment systems and lack of awareness, the progress was very slow.
The Indian B2C ecommerce industry got a major boost in mid 2000s with the
expansion of online services to travel and hotel bookings which continue to be
major contributors even today.
9. Das & Ara (2015) observe in “Growth of Ecommerce in India “that though online
travel and hotel bookings still control the lion’s share of ecommerce market,
their share has comparatively fallen over the years due to the recent augmentation
and consequent rise of e-tailing services. There has been a tremendous surge in
the volume of investment in this sector. With the ecommerce markets in the west
reaching their saturation, investors see tremendous potential in the Indian market,
in the light of which, many startups have received funding from venture capitalists
and private equity firms.
10.Ecommerce emerged in the 1990ʹs when the Internet was opened for commercial
use. Retailers and online marketplaces such as Amazon started to sell online,
15
directly to consumers. The trend over the last 10 years has been for store-based
retailers to become multichannel (Zhang et al. Citation2010) .
11.Xiao, Liu, and Zhang (Citation2012) describe ecommerce as a process consisting
of information, capital, business, and logistics flows. ecommerce logistics can be
briefly described as the physical flow of merchandise from the supply source to
the consumer considering reverse logistics as well. Furthermore, Xiao, Liu, and
Zhang (Citation2012) argue that logistics practices are important since they
involve the physical flow.
12.Last-mile delivery has become a critical source for market differentiation,
motivating retailers to invest in a myriad of consumer delivery innovations, such
as buy-online-pickup-in-store, autonomous delivery solutions, lockers, and free
delivery upon minimum purchase levels (Lim et al., 2017).
13.Sainsbury’s, Somerfield, and Asda established innovative pick centres, but closed
them down within a few years (Fernie et al., 2010). eBay launched its eBay Now
same-day delivery service in 2012, but in July 2015, it announced the closure of
this programme. Google, likewise, opened and then closed its two delivery hubs
for Google Express in 2013 and 2015, respectively (O’Brien, 2015).

Overall, the literature on ecommerce shopping carts focuses on various aspects such
as design, usability, security, and customer behaviour to provide a better
understanding of how to improve the shopping experience and reduce cart
abandonment.
16
1.4 OBJECTIVE:

The objective of building an e-commerce website is to create an online platform


where customers can browse, purchase and pay for products or services. Here are
some specific objectives of building an e-commerce website:

1. Increase sales: The primary objective of an e-commerce website is to increase


sales by providing customers with a convenient platform to purchase products
or services. An e-commerce website can help businesses reach a wider
audience, provide product information, reviews, and recommendations to
encourage customers to make purchases.

2. Improve customer experience: E-commerce websites are designed to provide


customers with a seamless and convenient shopping experience. By providing
a user-friendly interface, easy navigation, product search and filtering options,
and secure payment methods, businesses can improve the overall customer
experience.

3. Expand reach: E-commerce websites can help businesses reach customers in


geographically distant locations, enabling them to expand their reach and
increase their customer base.

4. Build brand awareness: E-commerce websites can also help businesses build
brand awareness by providing a platform to showcase their products or
services, promote their brand identity, and communicate with customers.
17
5. Data analysis: E-commerce websites can provide businesses with valuable
insights into customer behaviour, preferences, and trends. By analysing this
data, businesses can optimize their product offerings, pricing, marketing
strategies, and customer service.
18
CHAPTER 2

SYSTEM ANALYSIS

2.1 EXISTING SYSTEM:

An ecommerce shopping cart is a crucial part of any online shopping


website or platform. It allows customers to add items to their cart and
proceed with the checkout process to purchase those items. There are
several existing models of ecommerce shopping carts, but most of them
follow a similar structure with some variations based on the platform or
website requirements.

The biggest obstacle in the course of advancement of e-commerce is that


the consumer's senses are limited to seeing and hearing the product. The
second largest problem that e-commerce has been facing over the past few
years is that of security.

The basic problems with the existing systems are:


• non-interactive environment they provide to the users.
• The use of traditional user interfaces which make continuous post backs
to the server; each post back makes a call to the server, gets the response,
and then refreshes the entire web form to display the result. This scenario
causes a delay in displaying the results.
• A search engine that would display the results without allowing the
users to further filter the results based on various parameters.
19
2.2 PROBLEM DEFINITION:

Traditionally, customers are used to buying the products at the real, in other
words, factual shops or supermarkets. It needs the customers to show up in the
shops in person and it also needs the owners of shops to stock, exhibit,
and transfer the products required by customers.

It takes labour, time, and space to process these operations. Furthermore, the
spread of the Covid-19 pandemic has caused a lot of changes in our lifestyle.
Big to small scale business that relied on the traditional incur a lot of
consequence due to the lockdown issues. Some tend to move towards using
social media platforms to sell their product. Everyone started to use social
media, posing a great challenge to differentiate between scammers and legit
sellers.

The solution to the above statement is to develop an “Ecommerce Shopping


Cart” selling a wide variety of products. Products must be grouped into
categories based on their characteristics. Some of the broad categories include
Electronics, Fashion, Shoes etc. For e.g., mobile phones and earbuds come
under the category Electronics, and T-shirts and pants come under the category
Fashion.

The webpage should provide a search bar for the user to search for the products
of his/her choice and to add them in the cart and checkout. It should provide
functionality for an admin to log in and modify the database.
20
For the convenience of online shopping, a shopping cart is provided to the
user. After the selection of the goods, it is sent for the order confirmation
process. The system is implemented using the python web framework Django.

The backend of the website should comprise a database to store:

1.The list of products available


2.The various categories of products available

2.3 PROPOSED SYSTEM:

The e-commerce shopping cart with Paytm integration can be a great solution for
businesses that want to accept payments online. Here is a proposed system for an e-
commerce shopping cart with Paytm integration:
User Interface: The shopping cart website has an easy-to-use and intuitive user
interface that enables customers to browse products, add items to their cart, and
checkout.
Product Management: The website allows the business owner to manage their
product inventory, including adding new products, updating product information,
and managing stock levels.
Shopping Cart: The shopping cart allows customers to add items to their cart, view
their cart, and adjust the quantity of items they wish to purchase.

Payment Gateway: Paytm is integrated as the payment gateway to process online


transactions. This will enable customers to make payments using their Paytm wallet,
debit/credit cards, or net banking.
21
Order Management: The website allows the business owner to manage customer
orders, including viewing order details, updating order status, and generating
invoices.
Security: The website is designed with security in mind to protect customer data,
payment information, and website files. SSL encryption and secure payment
gateways like Paytm can help ensure the security of the website.
Customer Account Management: The website allows customers to create an
account, save their payment and shipping information for future purchases, and track
their orders.
Shipping Management: The website allows the business owner to manage shipping
options, including setting shipping rates, calculating shipping costs, and generating
shipping labels.
Reporting: The website provides reporting functionality that allows the business
owner to track sales, monitor customer behavior, and generate reports on various
business metrics.
By implementing the above features, our e-commerce shopping cart with Paytm
integration can provide a seamless shopping experience for customers and enable
businesses to accept online payments easily and securely.
22

FIG 2: E-COMMERCE BENEFITS

2.4 FEASIBILITY STUDY

The requirements engineering process should start with a


feasibility study. The input to the feasibility study is an outline
description of the system and how it will be used within an
organization. A feasibility study is an evaluation of a proposal
designed to determine the difficulty in carrying out a designated task.
Generally, a feasibility study precedes technical development and
project implementation. In other words, a feasibility study is an
evaluation or analysis of potential impact of proposed project.

2.4.1 Economical Feasibility

Economic analysis is the most frequently used method for


evaluating the effectiveness of a new system. More commonly known
23
as cost/benefit analysis, the procedure is to determine the benefits and
savings that are expected from a candidate system and compare them
with costs. If benefits outweigh costs, then the decision is made to
design and implement the system. An entrepreneur must accurately
weigh the cost versus benefits before taking an action. The proposed
E-Commerce Portal is economically feasible to construct, because the
minimum requirements of the software specifications is less due to the
open source tools.
The developing system must be justified by cost and benefit. Criteria
to ensure that effort is concentrated on project, which will give best,
return at the earliest. One of the factors, which affect the
development of a new system, is the cost it would require. The
following are some of the important financial questions asked during
preliminary investigation:
The costs conduct a full system investigation. The cost of the
hardware and software. The benefits in the form of reduced costs or
fewer costly errors. Since the system is developed as part of project
work, there is no manual cost to spend for the proposed system. Also,
all the resources are already available, it give an indication of the
system is economically possible for development.

2.4.2 Operational Feasibility

Operational feasibility is a measure of how well a proposed


system solves the problems, and takes advantage of the opportunities
identified during project scope definition and how it satisfies the
requirements identified in the requirements analysis phase of system
24
development. The proposed Travel and tourism App is operationally
feasible by reducing the misclassifications of unknown datasets.

2.4.3 Technical Feasibility

In technical feasibility the following issues are taken into consideration.


2.4.3.1 Whether the required technology is available or not?
2.4.3.2 Whether the required resources are available?
Once the technical feasibility is established, it is important to
consider the monetary factors also. Since it might happen that
developing a particular system may be technically possible but it may
require huge investments and benefits may be less. For evaluating this,
economic feasibility of the proposed system is carried out. The
proposed Travel and tourism App is technically feasible by meeting
the required resources and it satisfies the required technologies.

2.4.4 Scope of the project:

Traditionally, customers are used to buying the products at the real, in other words,
factual shops or supermarkets. It needs the customers to show up in the shops in
person and it also needs the owners of shops to stock, exhibit, and transfer the
products required by customers. It takes labour, time, and space to process these
operations. Furthermore, the spread of the Covid-19 pandemic has caused a lot of
changes in our lifestyle. Big to small scale business that relied on the traditional
incur a lot of consequence due to the lockdown issues. Some tend to move towards
25
using social media platforms to sell their product. Everyone started to use social
media, posing a great challenge to differentiate between scammers and legit sellers.

The solution to the above statement is to develop an “Ecommerce Shopping Cart”


selling a wide variety of products. Products must be grouped into categories based
on their characteristics. Some of the broad categories include Electronics, Fashion,
Shoes etc. For e.g., mobile phones and earbuds come under the category Electronics,
and T-shirts and pants come under the category Fashion.

The webpage should provide a search bar for the user to search for the products of
his/her choice and to add them in the cart and checkout. It should provide
functionality for an admin to log in and modify the database.

For the convenience of online shopping, a shopping cart is provided to the user.
After the selection of the goods, it is sent for the order confirmation process. The
system is implemented using the python web framework Django.

The backend of the website should comprise a database to store:

1.The list of products available


2.The various categories of products available
26
CHAPTER 3
SYSTEM REQUIREMENT
SPECIFICATION

The system requirements specification for our e-commerce shopping cart project
would typically include a variety of hardware and software specifications that are
necessary to ensure that the shopping cart system functions properly. Here are some
of the key requirements:

3.1 SOFTWARE REQUIREMENTS

➢ Platform - Windows

➢ Framework - Visual studio

➢ Back End - Django

➢ Frontend -
HTML,CSS,Javascripts,Bookstrap

3.2 THEORETICAL BACKGROUND DJANGO:


Django is a back-end server side web framework.Django is free, open source and
written in Python.jango makes it easier to build web pages using Python.It is also
called batteries included framework because Django provides built-in features for
everything including Django Admin Interface, default database – SQLlite3, etc.
When you’re building a website, you always need a similar set of components: a
way to handle user authentication (signing up, signing in, signing out), a
management panel for your website, forms, a way to upload files, etc. Django gives
you ready-made components to use and that too for rapid development. Django is
a rapid web development framework that can be used to develop fully fleshed web
applications in a short period of time.It’s very easy to switch database in Django
27
framework.It has built-in admin interface which makes easy to work with it.Django
is fully functional framework that requires nothing else.It has thousands of
additional packages available.

Django is based on MVT (Model-View-Template) architecture. MVT is a


software design pattern for developing a web application.

MVT Structure has the following three parts –

Model: Model is going to act as the interface of your data. It is responsible for
maintaining data. It is the logical data structure behind the entire application and
is represented by a database (generally relational databases such as MySql,
Postgres).
View: The View is the user interface — what you see in your browser when you
render a website. It is represented by HTML/CSS/Javascript and Jinja files.
Template: A template consists of static parts of the desired HTML output as well
as some special syntax describing how dynamic content will be inserted.
28
CHAPTER 4

SYSTEM DESIGN

The most creative and challenging phase of the system


development is system design. It provides the understanding and
procedural details necessary for implementing the system
recommended in the feasibility study. Design goes through the logical
and physical stages of development.

In designing a new system, the system analyst must have a clear


understanding of the objectives, which the design is aimed to fulfill.
The first step is to determine how the output is to be produced and in
which format second the input data have to be designed to meet the
requirements of the desired output. The operational phases are handled
through program construction and testing. Finally, details related to
justification of the system on the user and the organization documented
and evaluated by the management.

The final prior to the design phase includes architecture of the


system, procedural flowcharts, and module description for
implementing E-Commerce Portal.
29

4.1 SYSTEM ARCHITECTURE:

FIG 3: SYSTEM ARCHITECTURE


30
4.2 FLOWCHART

The flowchart describes the flow of processes involved in the Swiftcart.


31

4.3 MODULE DESCRIPTION

The modules that are used in this project are as follows:


5 Login Page
6 Authentication with email Verification
7 Add to cart functionality
8 Adding products category wise
9 Paytm Integration
10 Order Management
11 Product Catalog
4.3.1 Login page:
When the user enters email id username and password, he/she
will login into the app. Customers can create user accounts to
store their personal information, order history, and shipping
addresses.

4.3.2 Authentication with Email Verification:

This module generate a verification link and send it to the user's email.It
authenticates whether the user is a valid user. It sends the confirmation link to
activate the account.

4.3.3 Add to cart functionality:

The add-to-cart functionality is a feature of Swiftcart that allows user to choose


items to purchase without actually completing the payment. It allows customer to
save items to their cart so they can continue shopping, then complete the checkout
process later on in the process, resulting in a more seamless customer experience. It
32
also allows shoppers to purchase multiple items at one time.

4.3.4 Adding products category wise:

This module is used to group products with similar features. We can also add
subcategories if desired. Product category marketing focuses on promoting certain
categories to meet consumer expectations.

4.3.5 Paytm Integration:

This module offers the payment plugins and hosted sites for the Swiftcart to collect
online payments from the customers on the website via Paytm Payment Gateway.

4.3.6 Order Management:

The user place an order in the Swiftcart.The company receives an order from the
customer. The company enters the order into their system. The customer gets a
notification that the company received the order.

4.3.7 Product Catalog:

An Swiftcart typically includes a product catalog that displays all available


products or services with images, descriptions, pricing, and availability
33
4.4DATA FLOW DIAGRAM

4.4.1 Context Diagram:

DFD Level 0 is also called a Context Diagram. It’s a basic overview


of the whole system or process being analyzed or modeled. It’s
designed to be an at- a-glance view, showing the system as a single
high-level process, with its relationship to external entities.

FIG 4: CONTEXT DIAGRAM

4.4.2 Level 1 DFD:


DFD Level 1 provides a more detailed breakout of pieces of the
Context Level Diagram. You will highlight the main functions
carried out by the system, as you break down the high-level process
of the Context Diagram into its subprocesses.
34

FIG 5: LEVEL-1 DFD

4.4.3 Level 2 DFD:


DFD Level 2 then goes one step deeper into parts of Level 1. It may
require more text to reach the necessary level of detail about the
system’s functioning.
35

FIG 6: LEVEL-2 DFD

4.5 DATA TABLES

User Table: This table can include user information such as name, email, password,
address, and contact information.

User Name Email Password Address Contact Number


ID
001 John john@exam ******** 123 Main St, 123-456-7890
ple.com Anytown, USA

TABLE 1
36
Product Table: This table can include information about the products available for
sale on the e-commerce website, such as name, description, price, and availability.
Product ID Name Description Price Quantity Available

001 Laptop 15-inch display, $899.99 10


8GB RAM,
256GB SSD,
Windows 10
TABLE 2
Order Table: This table can include information about customer orders, such as the
order ID, customer ID, product ID, quantity, and total price.
Order ID Customer Product ID Quantity Total Price Order Date
ID
001 001 001 1 $899.99 2023-04-15
TABLE 3

Payment Table: This table can include information about customer payments, such
as the payment ID, order ID, payment amount, payment date, and payment status.

Payment ID Order ID Payment Payment Date Payment Status


Amount
001 001 $899.99 2023-04-15 Successful
TABLE 4
These are just a few examples of tables that can be included in a project report for
an e-commerce shopping cart. The specific tables needed may vary depending on
the requirements and scope of the project.
37
CHAPTER 5

IMPLEMENTATION AND RESULTS

5.1 IMPLEMENTATION

The environment for developing and running the classification


system include the following software:

• Visual Studio Code

• Python

5.2 SYSTEM ALGORITHM:

1. Define the requirements: Determine the functionality needed for the


application, such as user registration, product catalogue, shopping cart,
checkout, payment processing, and order management.

2. Design the database schema: Create a database schema that represents the
application's data models, such as users, products, orders, and payments. Use
Django's ORM to define the models and their relationships.

3. Implement the frontend: Use HTML, CSS, and JavaScript to build the user
interface for the application. Use a frontend framework such as Bootstrap or
Materialize to speed up the development process.

4. Build the backend: Use Django to build the backend of the application,
including views, models, forms, and templates. Implement features such as
38
user authentication, product search, product filtering, cart management, and
order processing.

5. Integrate payment gateway: Choose a payment gateway provider such as


Stripe, PayPal or Braintree, and integrate their API to enable online
payments. Ensure that the payment process is secure and meets PCI
compliance standards.

6. Test the application: Perform thorough testing of the application to ensure


that it meets the requirements and functions as expected. Test for usability,
performance, security, and accessibility.

7. Deploy the application: Choose a hosting provider such as AWS, Heroku, or


DigitalOcean, and deploy the application to a production environment.
Ensure that the application is properly configured for security, scalability,
and performance.

8. Monitor and maintain the application: Monitor the application's performance


and user behaviour to identify issues and make improvements. Maintain the
application by fixing bugs, adding features, and updating dependencies.
39
5.3 RESULTS:
40
41
42
43
44
45
46

\
47
48

5.4 PERFORMANCE ANALYSIS

TESTING & DEBUGGING


Testing is the one of the most essential process that involve checking
of the entire software files that helps in the proper functioning of the
software. Testing provides a way of finding out the errors & faults that
might have occurred during the development of the software. During
the process of the testing of the software, all the necessary errors &
faults that have occurred or arisen are traced & proper solutions
regarding the errors. Are prepared. Testing acts as an important phase
of the software development life cycle. Testing basically depends upon
following two factors:

1. Error Faults.
Errors Faults defines the number of errors that have occurred during
the development of the software that in effect have changed or diverted
the entire process of the functioning of the software.

2.Reliability.
The second important factor that comes out as result of testing is
Reliability. By testing the entire software, we can easily find out the
reliability of the software. So, testing provides a platform for the
software developers to develop software that are error free and in
effect, efficient and reliable.
49

Testing can be categorized into the following types depending on their use and
purpose in the development of the software. They are:

1. Functional Testing: Functional testing of the software comprises of testing of the


function and modules that were created in the software and checking the accuracy
of the functioning of the modules and functions that have been used in the proper
and effective working of the software.
2.Structural Testing: -Structural Testing involves the process of testing the
entire structure of the software that is developed (i.e. Logical as well as physical).
All the logical steps related to the logical structure and the physical structure are
tested for their accurate functioning and Satisfaction for the devleloper.
3.Debugging: - Testing is the process of checking the errors, faults and failures that
have occurred during the development or during the running of the system and which
in turns have caused problems in the proper functioning of the system. Testing just
provides a medium for searching out errors. On the other hand, de-bugging allows
developers of the software to remove or make corrections on the errors that were
found during testing of the software as de-bugging means, “removing of bugs”.
1

CHAPTER 6

SYSTEM TESTING

System testing is an important aspect of software development, especially for an e-


commerce shopping cart with Paytm integration. Here are some of the key tests that
should be conducted to ensure the system works as intended:
Payment Gateway Integration Testing: This test ensures that the website is
correctly integrated with the Paytm payment gateway. The test includes verifying
that the payment gateway API is functioning correctly, verifying that payment data
is accurately transmitted to Paytm, and testing various payment scenarios to ensure
that payments are processed correctly.
User Interface Testing: This test ensures that the website's user interface is user-
friendly, easy to navigate, and responsive. The test includes testing the website on
different browsers and devices, testing the website's search functionality, testing
product pages, and verifying that the shopping cart and checkout process are
intuitive.
Product Management Testing: This test ensures that the website's product
management system is working as intended. The test includes adding and updating
products, verifying that product information is correctly displayed on the website,
and ensuring that product stock levels are accurately reflected.
Order Management Testing: This test ensures that the website's order management
system is working as intended. The test includes placing test orders, verifying that
order details are correctly displayed, and ensuring that the order status is accurately
updated.
Security Testing: This test ensures that the website is secure and that customer data
2
is protected. The test includes testing the website for vulnerabilities, verifying that
SSL encryption is enabled, and ensuring that the website is compliant with PCI DSS
standards for online payments.
Performance Testing: This test ensures that the website is performing optimally
under different traffic loads. The test includes testing the website's response time,
testing the website's load time, and ensuring that the website can handle a high
volume of concurrent users.
Compatibility Testing: This test ensures that the website is compatible with
different browsers and devices. The test includes testing the website on different
operating systems, browsers, and mobile devices to ensure that it works as intended.
By conducting these tests, we ensure that the e-commerce shopping cart with Paytm
integration works as intended, is user-friendly, secure, and provides a great shopping
experience for customers.
3
CHAPTER 7

CONCLUSION AND FUTURE WORK

7.1 CONCLUSION

In conclusion, our e-commerce shopping cart with Paytm integration is a powerful


tool that can help businesses sell products online and reach a wider audience. By
integrating with Paytm, businesses can offer customers a secure and convenient
payment method, which can help increase sales and improve the customer
experience. However, developing such a system requires careful planning and
testing to ensure that it functions correctly, is user-friendly, and provides a great
shopping experience. Future enhancements to the system could include adding
additional payment gateways, developing a mobile app, incorporating
personalization and recommendation features, integrating with social media
platforms, improving order fulfillment and shipping capabilities, and implementing
chatbots for customer service. With the right approach and continued innovation,
businesses can leverage our e-commerce shopping cart with Paytm integration to
grow their online sales and succeed in today's competitive e-commerce landscape.

7.2 FUTURE WORK

There are several potential future enhancements that could be made to our e-
commerce shopping cart with Paytm integration project. Here are a few possible
additions:
Integration with additional payment gateways: In addition to Paytm, there are
several other payment gateways available that businesses may want to integrate with
their shopping cart. These could include popular options like PayPal, Stripe, or
4
Amazon Pay. By integrating with multiple payment gateways, businesses can offer
customers more payment options and potentially increase sales.
Mobile application development: Many customers prefer to shop using mobile
applications, so developing a mobile app for the shopping cart could be a good future
enhancement. The app could include features such as push notifications, a
streamlined checkout process, and personalized product recommendations.
Personalization and recommendation features: Using machine learning
algorithms, businesses could add personalization and recommendation features to
the shopping cart. This could include personalized product recommendations based
on a customer's past purchases or browsing history, or customized promotions and
discounts based on their shopping behavior.
Integration with social media platforms: Social media integration could enable
customers to share products they like on their social media profiles, which could
help drive traffic to the shopping cart. Additionally, businesses could leverage social
media analytics to gain insights into customer behavior and preferences.
Improvements to order fulfillment and shipping: Businesses could improve the
shopping experience by enhancing order fulfillment and shipping capabilities. This
could include offering faster shipping options, real-time order tracking, and better
communication with customers about the status of their orders.
Implementing chatbots for customer service: Chatbots can help customers
quickly get answers to their questions, which can improve the customer experience.
Chatbots can also help reduce the load on customer service teams, allowing them to
focus on more complex inquiries.
Overall, there are many potential enhancements that could be made to our e-
commerce shopping cart with Paytm integration project. By staying up-to-date with
the latest technologies and customer preferences, businesses can continue to provide
a great shopping experience for their customers and increase their online sales.
5
CHAPTER 8

APPENDIX:
from django.urls import path from authcart import views urlpatterns = [
path('signup/',views.signup,name='signup'),
path('login/',views.handlelogin,name='handlelogin'),
path('logout/',views.handlelogout,name='handlelogout'),
path('activate/<uidb64>/<token>',views.ActivateAccountView.as_view(),name='ac
tivate'), path('request-reset-
email/',views.RequestResetEmailView.as_view(),name='request-reset-email'),
path('set-new-
password/<uidb64>/<token>',views.SetNewPasswordView.as_view(),name='set-
new-password'), ]

from django.contrib import admin


from django.urls import path,include
from django.conf.urls.static import static
from django.conf import settings

urlpatterns = [
path('admin/', admin.site.urls),
path('',include("ecommerceapp.urls")),
path('auth/',include("authcart.urls"))
]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

from django.contrib.auth.tokens import PasswordResetTokenGenerator


import six
6
class TokenGenerator(PasswordResetTokenGenerator):
def _make_hash_value(self,user,timestamp):
return
(six.text_type(user.pk)+six.text_type(timestamp)+six.text_type(user.is_active))
generate_token=TokenGenerator()

from django.shortcuts import render,redirect,HttpResponse


from django.contrib.auth.models import User
from django.views.generic import View
from django.contrib import messages
from django.template.loader import render_to_string
from django.utils.http import urlsafe_base64_decode,urlsafe_base64_encode
from .utils import TokenGenerator,generate_token
from django.utils.encoding import
force_bytes,force_text,DjangoUnicodeDecodeError
from django.core.mail import EmailMessage
from django.conf import settings

from django.contrib.auth.tokens import PasswordResetTokenGenerator


from django.contrib.auth import authenticate,login,logout
# Create your views here.
def signup(request):
if request.method=="POST":
email=request.POST['email']
password=request.POST['pass1']
confirm_password=request.POST['pass2']
7
if password!=confirm_password:
messages.warning(request,"Password is Not Matching")
return render(request,'signup.html')
try:
if User.objects.get(username=email):
# return HttpResponse("email already exist")
messages.info(request,"Email is Taken")
return render(request,'signup.html')
except Exception as identifier:
pass
user = User.objects.create_user(email,email,password)
user.is_active=False
user.save()
email_subject="Activate Your Account"
message=render_to_string('activate.html',{
'user':user,
'domain':'127.0.0.1:8000',
'uid':urlsafe_base64_encode(force_bytes(user.pk)),
'token':generate_token.make_token(user)

})

# email_message =
EmailMessage(email_subject,message,settings.EMAIL_HOST_USER,[email])
# email_message.send()
messages.success(request,f"Activate Your Account by clicking the link in
your gmail {message}")
8
return redirect('/auth/login/')
return render(request,"signup.html")

class ActivateAccountView(View):
def get(self,request,uidb64,token):
try:
uid=force_text(urlsafe_base64_decode(uidb64))
user=User.objects.get(pk=uid)
except Exception as identifier:
user=None
if user is not None and generate_token.check_token(user,token):
user.is_active=True
user.save()

messages.info(request,"Account Activated Successfully")


return redirect('/auth/login')
return render(request,'activatefail.html')

def handlelogin(request):
if request.method=="POST":

username=request.POST['email']
userpassword=request.POST['pass1']
myuser=authenticate(username=username,password=userpassword)

if myuser is not None:


9
login(request,myuser)
messages.success(request,"Login Success")
return redirect('/')

else:
messages.error(request,"Invalid Credentials")
return redirect('/auth/login')

return render(request,'login.html')

def handlelogout(request):
logout(request)
messages.info(request,"Logout Success")
return redirect('/auth/login')

class RequestResetEmailView(View):
def get(self,request):
return render(request,'request-reset-email.html')

def post(self,request):
email=request.POST['email']
user=User.objects.filter(email=email)

if user.exists():
# current_site=get_current_site(request)
email_subject='[Reset Your Password]'
message=render_to_string('reset-user-password.html',{
10
'domain':'127.0.0.1:8000',
'uid':urlsafe_base64_encode(force_bytes(user[0].pk)),
'token':PasswordResetTokenGenerator().make_token(user[0])
})

#
email_message=EmailMessage(email_subject,message,settings.EMAIL_HOST_U
SER,[email])
# email_message.send()

messages.info(request,f"WE HAVE SENT YOU AN EMAIL WITH


INSTRUCTIONS ON HOW TO RESET THE PASSWORD {message} " )
return render(request,'request-reset-email.html')

class SetNewPasswordView(View):
def get(self,request,uidb64,token):
context = {
'uidb64':uidb64,
'token':token
}
try:
user_id=force_text(urlsafe_base64_decode(uidb64))
user=User.objects.get(pk=user_id)

if not PasswordResetTokenGenerator().check_token(user,token):
messages.warning(request,"Password Reset Link is Invalid")
return render(request,'request-reset-email.html')
11

except DjangoUnicodeDecodeError as identifier:


pass

return render(request,'set-new-password.html',context)

def post(self,request,uidb64,token):
context={
'uidb64':uidb64,
'token':token
}
password=request.POST['pass1']
confirm_password=request.POST['pass2']
if password!=confirm_password:
messages.warning(request,"Password is Not Matching")
return render(request,'set-new-password.html',context)

try:
user_id=force_text(urlsafe_base64_decode(uidb64))
user=User.objects.get(pk=user_id)
user.set_password(password)
user.save()
messages.success(request,"Password Reset Success Please Login with
NewPassword")
return redirect('/auth/login/')

except DjangoUnicodeDecodeError as identifier:


12
messages.error(request,"Something Went Wrong")
return render(request,'set-new-password.html',context)

return render(request,'set-new-password.html',context)

9. REFERENCES:

[1] Albert H., Judd, Rivers, (2006) “Creating a winning E-Business”, Wagner
Course Technology Thomson Learning, pp. 37-255.
[2] Alawneh A., and Hattab E, (2007) “E-Business Value Creation: An
Exploratory Study, Proceedings of the Seventh International Conference on
Electronic Business”, Taipei, pp. 181-188.
[3] Alawneh A., and Hattab E (2009). “International Arab Journal of e-
Technology”, Vol. 1, No. 2, pp. 1-8
[4] Amit B. and Steve M. (2007), “How to Plan E-Business Initiatives in
Established Companies”, Vol. 49, No. 1, pp. 11-22
[5] Aranda-M., G. and Stewart, P. (2005), “Barriers to E-Business Adoption in
construction international literature review”, pp. 33-49
[6] Ayo, Charles K. (2006). “The Prospects of e-Commerce Implementation in
Nigeria, Journal of Internet Banking and Commerce”, Vol. 11, No.3, pp. 68-
75
[7] Amar. K., Sohani, (2009), “Technology and Banking Sector”, ICFAI
University Press, pp. 1-39
[8] Brahm C., (2009) “E-Business and Commerce Strategic Thinking and
Practice”, Houghton Mifflin, pp. 114-312.
13
[9] Chiemeke, S. C., Evwiekpaefe, A. and Chete, F. (2006), “The Adoption of
Internet Banking in Nigeria: An Empirical Investigation, Journal of Internet
Banking and Commerce”, vol. 11, No.3, pp 33-49
[10] David W, (2001) “E-Commerce Strategy, Technologies and Applications”,
Tata McGraw Hill, pp. 3-143.
[11] Daft, Richard L. (1982), “ Bureaucratic Versus Nonbureaucratic Structure and
the process of Innovation and Change”, pp. 129-166
[12] Earl, M. (2000), “Evolving the E-Business, Business Strategy Review”, pp.
33-38
[13] Eben.O (2003) “A Systematic Approach to E-Business Security”, pp. 87-103
[14] Hackbarth, G. & Kettinger W. J. (2000), “Building an E-Business Strategy:
Information Systems Management” pp. 78-90.
[15] Kalakota, R. and Robinson M. (1999), “E-Business: Roadmap for success”,
Addison-Wesley, 112-149
[16] Karjaluoto H., Mattila M. (2002). “Electronic Banking in Finland: Consumer
Beliefs and Reactions to a New Delivery Channel, Journal of Financial
Services Marketing”, Vol. 6, No. 4, 2002, pp. 346–361
[17] Laudon, K. and Traver, C. (2008), “ E-Commerce: Business, Technology,
Society”, 4th Edition, Prentice Hall, pp.48-67
[18] Melao, N. (2008), “ E-Business Processes and E-Business Process Modeling:
A State-of-the-Art Overview”, pp. 54-89
[19] Mendo, F. and Fitzgerald, G. (2005), “Theoretical Approaches to Study SMEs
E-Business Progression”, Journal of Computing and Information
Technology, Vol. 13, No. 02, pp. 123-136
[20] Namita.R (2011). “Global Journal of Enterprise Information System”, Vol. 3,
No. 1, pp. 17-31
14
[21] Peterson O,(2009), “Communications of the IBIMA”, Vol. 8, Issue No. 3, pp.
175-190

You might also like