Chhavie - Commerce Website File
Chhavie - Commerce Website File
A PROJECT REPORT
Submitted by
Chhavi (2202309041)
gfhfgf
IN
Sanskriti University
November 2024
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
Dr.Garima
Dr.Pankaj kumar Goswami
Goswami
HOD Supervisor
SOEIT SOEIT
Submitted for the project viva - voce examonation held on:
List of
Figures……………………………………………………………
…………….4
List of
Tables……………………………………………………………
………………5
CHAPTER 1.
INTRODUCTION……………………………………………………
…7
1.1. Introduction to
E-commerce………………………………………………………..7
1.2. How does E-commerce
work?……………………………………………………..8
1.3. Types of
E-commerce………………………………………………………………
…..9
1.4. Advantages & Disadvantages of
E-commerce………………………………10
REFERENCES………………………………………………………………
…………………………
APPENDIX…………………………………………………………………
…………………………
Abstract of E-Commerce Website
INTRODUCTION
E-commerce, or electronic commerce, refers to the buying and selling of
goods and services over the internet. It involves the use of electronic
platforms, such as websites, mobile applications, and social media, to
conduct transactions between businesses and consumers or between
businesses. E-commerce has revolutionized the way businesses operate
and has created new opportunities for entrepreneurs and consumers
alike.
E-commerce (short for electronic commerce) refers to the buying and
selling of goods and services over the internet. It involves transactions
conducted online between businesses (B2B), businesses and consumers
(B2C), consumers and consumers (C2C), or even consumers and
businesses (C2B). E-commerce encompasses a wide range of activities
such as online retail, digital payments, online auctions, electronic
banking, and even services like cloud computing or subscription-based
models.
E-commerce platforms allow businesses to list their products or services,
while consumers can browse, make purchases, pay for items, and
arrange for delivery—all in a fully digital environment. This eliminates
the need for traditional brick-and-mortar stores, offering convenience
and global access to both businesses and customers.
In summary, e-commerce is the use of the internet and digital platforms
to facilitate transactions, ranging from simple purchases of products to
more complex business dealings and services.
•Order processed
Once the confirmation is there, following that, the payment is processed,
the sale is recorded, and the order is completed. Payment gateways are
used to process payment transactions.
•Order Shipped
Here once the order is ready, it will be ready to get shipped in your
desired locations within the estimated days.
1 B2C(Business-to-Consumer)
B2C refers to transactions between businesses and individual consumers.
In this model, businesses sell products or services directly to end-users
(customers) via an online platform, like an e-commerce website or
mobile app.
2. B2B (Business-to-Business)
B2B involves transactions between businesses. In this model, companies
sell products, services, or solutions to other businesses rather than
individual consumers. Typically, these are bulk or wholesale transactions.
3. C2C (Consumer-to-Consumer)
C2C e-commerce refers to transactions between individual consumers.
In this model, individuals sell products or services to other individuals,
typically facilitated by online platforms that act as intermediaries.
4. C2B (Consumer-to-Business)
C2B is a model where individual consumers sell products, services, or
data to businesses. This is the reverse of the B2C model, where
businesses sell to consumers. In the C2B model, individuals offer
products or services that businesses use, often in the form of freelance
work, user-generated content, or even consumer insights.
For Businesses:
information. This opens up the risk of fraud, hacking, and data breaches.
Identity Theft: Online shoppers are at risk of identity theft if their
personal information is exposed through unsecured websites or
malicious attacks (e.g., phishing scams).
Privacy Issues: Some e-commerce sites collect large amounts of
personal data about customers. This data can be used for targeted
advertising, which some consumers may find intrusive. If not handled
properly, there is also the risk of data being misused or sold.
For Businesses:
Shipping Delays: Delivery times may vary, and there can be delays in
shipping due to weather, holidays, or logistical issues, making it
difficult to predict when a product will arrive.
Delivery Costs: Shipping fees can sometimes be high, especially for
international orders or heavy items. In some cases, free shipping may
be offered, but it’s often factored into the product price or limited to
specific regions.
Risk of Damaged Goods: There's always a risk that products may be
damaged during shipping, which can lead to frustration for
consumers. Although many businesses offer return policies, dealing
with damaged goods can be inconvenient and time-consuming.
For Businesses:
2. Product Management
3. Product Gateways
This is the part of the website that customers interact with. It's
everything you see on your screen: the product images,
shopping cart, checkout button, about section , home section,
price , etc
It’s created using languages like HTML (for structure), CSS (for
design), and JavaScript (for interactivity).
4. Key Technologies
To make an e-commerce website work smoothly, it uses various
technologies:
Web Hosting: A service that stores the website’s files and makes them
accessible on the internet.
Content Management System (CMS): A platform (like Shopify,WordPress
with WooCommerce, or Magento) that allows businesses to create and
manage their online store easily without needing to know coding.
Payment Systems: Secure methods (like PayPal, Stripe) that allow
customers to pay for products online.
Shipping Systems: Tools that calculate shipping costs
and track deliveries.
Fig 2.1
1. Product Management:
Admins upload and manage product details
(e.g., name, price, description, stock).
2. Order Management:
Admins process customer orders, coordinate with logistics, and handle
cancellations or returns.
3. User Management:
Admins manage user accounts, permissions, and monitor fraudulent
activities.
4. Reports and Analytics:
The backend provides insights into sales, user behavior,
and performance metrics.
Fig 3.2
Fig 3.3
CHAPTER - 4
E-commerce Website And Technologies Used
3. List Elements
6. Table Elements
7. Form Elements
Collect user input.
Examples: <form>, <input> (text fields), <text-area> (text area),
<button>, <select> (drop-downs).
HowCSSWorks
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
● Internal CSS
1. Defined within the <style> tag inside the <head> of the HTML
document.
2. Example:
<style>
body {
background-color: light-gray;
}
</style>
● External CSS
1. Stored in a separate .css file and linked to the HTML file using the
<link> tag.
2. Example:
Advantages of CSS
1. Efficiency and Reusability: Write styles once and apply them
across multiple web pages.
2. Enhanced Design Capabilities: CSS offers advanced styling
options, including animations, transitions, and grid layouts.
3. Faster Page Load Times: External CSS files reduce redundancy in
code, improving website performance.
4. Improved Maintenance: Changes to the design are easier to
implement since you can update one CSS file to affect multiple
pages.
5. Responsive Design: CSS makes it simple to create layouts that
adjust to different devices and screen sizes.
6. Customization: Supports variables, media queries, and selectors
for precise control over styles.
JavaScript(JS):
JavaScript is a high-level, dynamic, interpreted programming language
primarily used to add interactivity and dynamic behavior to web pages. It
is one of the core technologies of the World Wide Web, along with
HTML (for structure) and CSS (for styling), making it essential for modern
web development.
JavaScript allows developers to build websites that respond to user
actions in real-time, update content dynamically, handle animations,
validate forms, and much more. How to link JavaScript Code in HTML?
To link JavaScript code to an HTML document, you need to include the
JavaScript within your HTML page in one of the following ways:
1. Inline JavaScript (Directly in the HTML tags)
You can write JavaScript code directly within HTML elements by using
the onclick, onmouseover, onchange, or other event attributes. This
method is suitable for very small scripts that are triggered by specific
user actions like button clicks or mouseover events.
Example:
html
Copy code
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<title>Inline JavaScript Example</title></head><body>
<button onclick="alert('Hello, World!')">Click
Me</button></body></html>
In this example, when the button is clicked, the alert() function will run,
displaying "Hello, World!".
● The <script> tag with the src attribute should typically be placed just
before the closing </body> tag to ensure that the HTML content is
fully loaded before the script runs.
Example:
JavaScript file (script.js):
// script.js
function greet() {
alert("Hello from external JavaScript!");
}
HTML file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>External JavaScript Example</title>
</head>
<body>
<button onclick="greet()">Click Me</button>
<!-- Link to external JavaScript file -->
<script src="script.js"></script>
</body>
</html>
In this example:
● The JavaScript code is stored in an external file script.js.
● The HTML file links to script.js using the <script> tag with the src
attribute.
● The greet() function is called when the button is clicked.
Features of JavaScript
JavaScript is a powerful and flexible programming language that has
become a cornerstone of modern web development. It enables
developers to create interactive, dynamic, and responsive web pages.
Below are the key features of JavaScript that make it a popular and
essential language for web development:
High-Level Language: Abstracts low-level operations, making it easier
for developers.
Interpreted Language: Runs directly in the browser or server, without
the need for compilation.
Event-Driven: Responds to user actions like clicks, keypresses, and
mouse movements.
Asynchronous: Supports non-blocking operations using callbacks,
promises, and async/await.
Single-Threaded: Executes code in a single sequence, using event loops
for asynchronous tasks.
Applications of JavaScript
React Native: JavaScript can be used to build mobile apps for both
iOS and Android. With React Native, developers can write one
codebase for both platforms.
Ionic Framework: Another tool to build mobile apps using web
technologies (HTML, CSS, JavaScript).
4. Game Development
5. Desktop Applications
6. Real-Time Applications
7. Browser Extensions
JavaScript is used to build browser extensions (like Chrome or Firefox
add-ons). Examples include ad blockers or password managers.
8. Data Visualization
2. JavaScript Components:
Adds interactivity with built-in scripts for modals, carousels, tooltips, and
dropdowns. Example:
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bu
ndle.min.js"></script>
•Advantages of Bootstrap
1. Ease of Use: Simplifies web design with minimal coding.
2. Responsive Design: Ensures websites look great on desktops,
tablets, and mobile devices.
3. Customizable: Sass variables allow developers to tweak
components to suit their design needs.
4. Built-In Components: Offers ready-to-use widgets like navbars,
modals, accordions, and tooltips.
5. Grid System: Provides a flexible and intuitive way to create
responsive layouts.
6. Scalability: Suitable for projects of all sizes, from small websites to
enterprise applications.
7. Comprehensive Documentation: Clear and detailed guides make
it easy to implement Bootstrap components.
2. Product Selection
3. Adding to Cart
4. User Authentication
6. Order Confirmation
7. Delivery
8. Order Fullfillment