AyeshaTrading
AyeshaTrading
AyeshaTrading
M Saad Abbasi
FA20-BCS-103
Mubashir Bashir
SP21-BCS-008
Contents
Contents
LIST OF FIGURES .................................................................................................................................................. IV
LIST OF TABLES ...................................................................................................................................................... V
1 INTRODUCTION ................................................................................................................................................1
1.1 SYSTEM INTRODUCTION ..............................................................................................................................1
1.2 BACKGROUND OF THE SYSTEM ...................................................................................................................1
1.3 OBJECTIVES OF THE SYSTEM .......................................................................................................................1
1.4 SIGNIFICANCE OF THE SYSTEM ....................................................................................................................2
2 OVERALL DESCRIPTION ...............................................................................................................................3
2.1 PRODUCT PERSPECTIVE ...............................................................................................................................3
2.2 PRODUCT SCOPE..........................................................................................................................................5
2.3 PRODUCT FUNCTIONALITY ..........................................................................................................................5
2.3.1 User Authentication and Authorization:.................................................................................. 5
2.3.2 Product Catalogue: .................................................................................................................. 5
2.3.3 Shopping Cart: ........................................................................................................................ 5
2.3.4 Order Management: ................................................................................................................ 5
2.3.5 Payment Gateway: .................................................................................................................. 5
2.3.6 Reviews and Ratings: .............................................................................................................. 6
2.3.7 Offer live chat ......................................................................................................................... 6
2.3.8 Manage and display promotional deals. .................................................................................. 6
2.3.9 Admin Dashboard ................................................................................................................... 6
2.4 USERS AND CHARACTERISTICS....................................................................................................................6
2.4.1 Administrator .......................................................................................................................... 6
2.4.2 Customers................................................................................................................................ 7
2.5 OPERATING ENVIRONMENT .........................................................................................................................8
3 SPECIFIC REQUIREMENTS ...........................................................................................................................9
3.1 FUNCTIONAL REQUIREMENTS .....................................................................................................................9
3.1.1 User Authentication and Authorization .................................................................................. 9
3.1.2 Product Catalog ....................................................................................................................... 9
3.1.3 Shopping Cart .......................................................................................................................... 9
3.1.4 Order Management................................................................................................................. 9
3.1.5 Payment Gateway ................................................................................................................... 9
3.1.6 Reviews and Ratings ................................................................................................................ 9
3.1.7 Shipping and Tracking ............................................................................................................. 9
Software Requirements Specification & Design Description for <Ayesha Trading General Trading> Page ii
List of Figures
Figure 2.1 – Perspective.................................................................................................................... 3
Figure 7 – Products......................................................................................................................... 12
List of Tables
Table 3.1: Use-case Description ................................................................................................................. 12
Table 3.2: Software Tools ........................................................................................................................... 20
Table 5.1– User Description ....................................................................................................................... 31
Table 5.2– User Pseudo Code ..................................................................................................................... 31
Table 5.3 – Admin Description ................................................................................................................... 34
Table 5.4 – Admin Pseudo Code ................................................................................................................ 34
Software Requirements Specification & Design Description for <Ayesha Trading General Trading> Page 1
1 Introduction
1.1 System Introduction
The proposed software is an e-commerce website specifically designed for Ayesha General
Trading Company. The primary purpose of this platform is to provide an efficient and user-
friendly online shopping experience while optimizing the backend management for
administrators. This comprehensive solution aims to address common challenges in e-
commerce by integrating a variety of features tailored to enhance both customer satisfaction
and operational efficiency.
Key functionalities of the system include secure user authentication and authorization, an
intuitive product catalog, a dynamic shopping cart, detailed order management, secure
payment processing, and a robust review and rating system. Additionally, the platform will
offer real-time inventory management using barcode technology, personalized product
recommendations, and a live customer support module. For administrators, the system
provides an advanced dashboard for managing products, orders, promotions, and user
accounts. Overall, the software is designed to streamline the entire e-commerce process,
ensuring a seamless and reliable experience for both customers and administrators.
E-commerce platforms such as Shopify, Woo Commerce, and Magneto have revolutionized
the retail industry by providing comprehensive solutions for online businesses. These
platforms offer a range of functionalities, including product catalog management, secure
payment gateways, and order tracking, which have made them popular choices for
businesses looking to establish an online presence. However, despite their extensive
capabilities, these platforms often fall short in addressing the specific needs of individual
businesses, such as advanced inventory management using barcode technology and
personalized product recommendations based on customer behavior.
The proposed e-commerce website for Ayesha General Trading Company aims to bridge
these gaps by offering tailored solutions that enhance both customer satisfaction and
operational efficiency. Unlike existing platforms, this project will integrate real-time
inventory management through barcode scanning, a sophisticated recommendation engine,
and comprehensive customer support features. By focusing on these unique functionalities,
the project will provide a more customized and effective solution, directly addressing the
specific operational challenges and customer engagement needs of Ayesha General Trading
Company.
Facilitate seamless order management, including order placement, tracking, and history
review, to improve the overall shopping experience.
Offer secure payment processing to protect customer transactions and build trust.
Allow customers to post reviews and rate products, fostering a transparent and
trustworthy shopping environment.
Offer live chat and helpdesk functionalities to address customer queries and enhance
service quality.
Manage promotional deals and discounts to attract and retain customers.
Use a recommendation engine to suggest products based on customer browsing and
purchase history, preferences, and behavior.
Provide an admin dashboard for managing products, categories, user accounts, orders,
and viewing sales analytics to ensure smooth backend operations.
Enable quick adaptation to market trends and customer needs through dynamic
promotional and inventory management strategies.
The significance of the proposed e-commerce website for Ayesha General Trading
Company lies in its ability to transform both the customer shopping experience and the
administrative management of the business. This software will play a crucial role in several
key areas:
By offering a user-friendly interface, personalized product recommendations, and
comprehensive order tracking, the platform will significantly enhance customer
satisfaction and loyalty.
The integration of real-time inventory management using barcode technology will
streamline supply chain operations, reduce errors, and ensure timely deliveries, leading
to increased business efficiency.
Secure payment processing and a transparent review and rating system will foster trust
and credibility among customers, encouraging repeat business and positive word-of-
mouth.
The ability to manage promotional offers and discounts dynamically will help the
company attract new customers and retain existing ones, adapting quickly to market
trends and customer demands.
Providing live chat and helpdesk functionalities will improve customer support,
addressing queries promptly and enhancing the overall service quality.
The admin dashboard will offer valuable insights through sales analytics and reporting,
enabling administrators to make informed decisions and maintain a competitive edge in
the market.
Overall, the e-commerce website will not only streamline the shopping process for
customers but also enhance backend operations for administrators, leading to increased
satisfaction, efficiency, and competitiveness for Ayesha General Trading Company.
Software Requirements Specification & Design Description for <Ayesha Trading General Trading> Page 3
2 Overall Description
2.1 Product Perspective
The ecommerce website for Ayesha General Trading Company is a new, self-contained product
designed to enhance the shopping experience for customers and streamline business operations for
administrators. This project aims to replace the company's existing, less efficient methods of
handling sales, inventory, and customer interactions with a comprehensive digital solution. The
website will serve as an integrated platform where customers can browse products, make secure
purchases, and track orders, while administrators manage the product catalog, process orders,
handle inventory, and respond to customer queries.
The ecommerce system is composed of several key subsystems:
User Management: Handles customer registration, authentication, and profile
management.
Product Management: Manages the product catalog, including adding, updating, and
removing products.
Order Management: Processes customer orders, manages the shopping cart, and
oversees payment and shipping.
Promotions and Recommendations: Manages promotional offers and provides
personalized product recommendations.
Customer Support: Facilitates customer queries and support requests.
Software Requirements Specification & Design Description for <Ayesha Trading General Trading> Page 4
The e-commerce website for Ayesha General Trading Company aims to provide a
comprehensive online shopping platform that enhances customer experience and
streamlines backend operations. The software includes secure user authentication, detailed
product catalog management, a dynamic shopping cart, order processing, secure payment
transactions, customer reviews and ratings, shipping and tracking, customer support,
promotional offers, personalized recommendations, and a robust admin dashboard. The
scope focuses on delivering these functionalities to ensure a seamless and efficient e-
commerce experience.
The software does not cover physical store management, third-party marketplace
integration, advanced AI features beyond personalized recommendations, extensive
customizable themes, or non-web platforms such as mobile apps or desktop applications.
By clearly defining these boundaries, the project ensures the delivery of a robust and tailored
e-commerce solution that meets the specific needs of Ayesha General Trading Company
while maintaining focus and avoiding unnecessary complexities.
The ecommerce website for Ayesha General Trading Company is designed to serve two
primary types of users: administrators and customers. Each user type has distinct
characteristics and interacts with the system in different ways. Understanding these
characteristics helps in tailoring the system to meet their specific needs.
2.4.1 Administrator
Characteristics:
Frequency of Use: Administrators are expected to use the system daily.
Subset of Product Functions Used: They utilize a wide range of functions
including user management, product management, order management, inventory
management, promotions, and customer support.
Technical Expertise: Administrators typically possess a moderate to high level of
technical expertise, including familiarity with basic IT systems, ecommerce
platforms, and administrative tools.
Security or Privilege Levels: Administrators have high privilege levels with access
to sensitive data and critical system functions.
Software Requirements Specification & Design Description for <Ayesha Trading General Trading> Page 7
Pertinent Requirements:
User Management: Admins must be able to create, edit, and delete user accounts,
assign roles, and manage access levels.
Product Management: Admins need to add, update, and remove products, manage
product categories, and handle inventory.
Order Management: Admins must process orders, manage order status, and handle
returns and refunds.
Inventory Management: Real-time updates and barcode scanning capabilities are
essential for efficient stock management.
Promotions Management: Admins need to create and manage promotional
campaigns and discounts.
Customer Support: Admins should respond to customer inquiries and manage
support tickets.
Importance:
High: Administrators are critical to the operation and maintenance of the ecommerce
platform. Ensuring their needs are met is essential for the smooth functioning of the
business.
2.4.2 Customers
Characteristics:
Frequency of Use: Customers may use the system occasionally, depending on their
shopping needs.
Subset of Product Functions Used: Customers primarily interact with the product
catalog, shopping cart, order placement, payment, and order tracking functions.
Technical Expertise: Customers possess varying levels of technical expertise, from
basic to moderate.
Security or Privilege Levels: Customers have low privilege levels, with access
limited to their own account and order information.
Educational Level: Customers come from diverse educational backgrounds.
Experience: Customers' experience with ecommerce platforms may vary widely; the
system should be intuitive enough for first-time users yet efficient for experienced
online shoppers.
Pertinent Requirements:
User Authentication: Customers must be able to register, log in, and manage their
accounts securely.
Product Catalog: The catalog should be easy to navigate, with detailed product
Software Requirements Specification & Design Description for <Ayesha Trading General Trading> Page 8
Importance:
High: Customers are the primary users of the ecommerce platform. Their satisfaction
directly impacts the business's success. Ensuring a seamless and positive shopping
experience is crucial.
3 Specific Requirements
3.1 Functional Requirements
3.1.1 User Authentication and Authorization
Allow new users to register by providing necessary information (e.g., name, email,
password).
Authenticate users with email and password.
Assign roles (e.g., customer, admin) and manage access permissions based on roles.
Enable users to reset passwords via email verification.
Show detailed information for each product, including images, descriptions, prices, and
availability.
Allow users to search for products and filter results by categories, price, etc.
Organize products into categories for easier browsing.
Facilitate the process of placing an order, including selecting shipping options and entering
payment information.
Provide real-time order status updates and tracking information.
Allow users to view their past orders and details.
Process payments securely through integrated payment gateways (e.g., PayPal, Stripe).
Provide users with confirmation of successful transactions.
Allow users to write reviews and rate products they have purchased.
Show user reviews and average ratings on product pages.
Integrate with shipping service providers to manage shipping options and costs.
3. Admin updates or
deletes existing
products.
Order Management Admin Allows admins to 1. Admin views order
view and update list.
order statuses. 2. Admin updates
order status.
3. System saves
changes.
Manage Inventory Admin Allows admins to 1. Admin scans
manage inventory barcodes to add
levels, including stock.
barcode scanning for 2. System updates
stock additions. inventory levels.
Manage Promotions Admin Allows admins to 1. Admin inputs
and Discounts create and manage promotional details.
promotional offers. 2. System saves
promotion.
View Sales and Admin Allows admins to 1. Admin views
Profits view various analytics dashboard.
analytics such as 2. System displays
sales, profits, and data.
user activity.
Respond to User Admin Allows admins to 1. Admin views user
Queries respond to user queries.
support queries. 2. Admin responds to
queries.
3. System saves
responses.
Software Requirements Specification & Design Description for <Ayesha Trading General Trading> Page
15
Signup
Login
Home Page
User dashboard
Products
Cart Items
Favourite Items
Admin Dashboard
The ecommerce website for Ayesha General Trading Company will interact with only one
hardware component to facilitate its operations. This section describes the logical and
physical characteristics of hardware interface between the software product and these
hardware components.
1. Logical Characteristics:
2. Physical Characteristics:
The system uses communication resources which include HTTP protocol for
communication between the application and web server.
Software Requirements Specification & Design Description for <Ayesha Trading General Trading> Page
22
1. Transaction Processing:
Any transaction (e.g., adding to cart, placing an order) should complete within 10
seconds.
Payment processing should not exceed 5 seconds after the payment gateway is
engaged.
The homepage and major category pages should load within 4 seconds.
Product detail pages should load within 3 seconds.
Search results and filter operations should display results within 3 seconds.
4. Scalability:
5. Database Performance:
6. Error Handling:
The system should display error messages within 2 second of an issue being detected.
Error logs should be updated in real-time for monitoring and maintenance.
4.3.1 Usability
1. Usability: User Interface The design of the system and its overall look should be
appealing.
2. Ease of use: The system shall be easy to use for any kind of user and the user should
get acquainted with the system within 5 minutes of usage.
3. Learnability: A person with a basic grasp of the language can understand. 97% of
users will be able to use efficiently after 20 minutes of initial use with a 0.3% error
rate.
4.3.2 Portability
4.3.3 Reliability
The system should be able to work on different platforms like different screen
sizes and render every component accurately.
Software Requirements Specification & Design Description for <Ayesha Trading General Trading> Page
24
5 Design Description
5.1 Composite Viewpoint
User Description
Attribute Description
Unique User ID The User ID will be unique and a
differentiating attribute for each user.
Username A unique username chosen by the user.
Password The password will be stored hashed. Users can
only access their accounts by entering the
correct password.
Email The email address of the user, used for account
verification and communication.
Role The role of the user (e.g., customer, admin) to
determine access control.
Admin Description
Attribute Description
Unique Admin ID The Admin ID will be unique and a differentiating
attribute for each admin.
Username A unique username chosen by the admin.
Password The password will be stored hashed. Admins can only
access their accounts by entering the correct password.
Email The email address of the admin, used for account
verification and communication.
Role The role of the admin to determine access control.
scanning for
stock additions
createPromotions() Allows an 1. Input promotional details.
admin to create 2. Save the promotion to the
and manage database.
promotional 3. Return "Promotion Created
offers Successfully".
viewDashboardAnalytics() Allows an 1. Retrieve analytics data from the
admin to view database.
various 2. Display the data on the admin
analytics, such dashboard.
as sales, profits,
and user
activity
respondToCustomerQueries() Allows an 1. Retrieve customer queries from
admin to the database.
respond to 2. Respond to the queries.
customer 3. Save the responses to the
support queries database.
4. Return "Query Response
Submitted".