Docsity

Online grocery store, Study Guides, Projects, Research of Web Design and Development

Toggle sidebar
bg1
WTA Mini Project on “Online Grocery Shop”
CHAPTER 1
1.Introduction
Online Grocery Shop is a form of ecommerce that allows consumers to directly buy fresh food
staffs or produce from a seller over the internet. An online grocery shop evokes the physical
analogy of buying produce like it is done in a local market. The largest online retailing
corporations are e-Bay and Amazon.com, both of which are based in the US. These giant online
shops have with time been able to add to their sales the ability to sell fresh food and other home
products through the internet. Online markets have been a thing that has come to stay with the
society of today since most financial transactions can be attained online. Internet access has
vastly grown across the world today and has given rise to interconnectivity even to the remotest
areas in the world. This generally means it is possible to be at any location and reach any other
location in the world without stepping a foot out of your premises. This takes multi-tasking to
another level since you can be in a meeting and visit a market located several kilometers away at
the same time. This has made businesses to grow without spending as much as they would have
if they had to build another branch of their business in another location. However this
phenomenon has not caught in the Ghanaian business society, hence it has given rise to the topic
of this project. An online grocery market is a website that will be used to sell and buy produce
that can be commonly found in any local market. In our markets, sellers reach out to their
customers who are present in the market at a particular time. When a customer walks up to buy a
bunch of bananas from a fruit seller, the customers is asked how much she wants to buy, she is
served and then the customer walks away. The seller at this point has no record of the customer
and this means no way of getting feedback from the customer which goes a long way to grow
business. This website will be designed to increase profits by extending services and produce to a
different customer base by means of online advertisement which cuts across many borders of our
world. This website will hold a lot information that will increase the profits of business at a little
cost. In reaching out to various customers over the internet, the concept is aimed at penetrating a
fractions of our Ghanaian population who are generally pre-occupied with activities which
makes it impossible for them to step out of their daily activities to purchase their needs. It is also
aimed to provide a source of income to many job seekers who may be interested in setting up
their own business over the internet.
The Website will have these basic functions:
Customer Information.
Catalogue of items sold or available in the shop.
Hold client shopping preference in a database.
Interface for customer support or relations.
Delivery capabilities.
Dept of CSE, KLEIT Hubballi 1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d

Partial preview of the text

Download Online grocery store and more Study Guides, Projects, Research Web Design and Development in PDF only on Docsity!

CHAPTER 1

1.Introduction

Online Grocery Shop is a form of ecommerce that allows consumers to directly buy fresh food staffs or produce from a seller over the internet. An online grocery shop evokes the physical analogy of buying produce like it is done in a local market. The largest online retailing corporations are e-Bay and Amazon.com, both of which are based in the US. These giant online shops have with time been able to add to their sales the ability to sell fresh food and other home products through the internet. Online markets have been a thing that has come to stay with the society of today since most financial transactions can be attained online. Internet access has vastly grown across the world today and has given rise to interconnectivity even to the remotest areas in the world. This generally means it is possible to be at any location and reach any other location in the world without stepping a foot out of your premises. This takes multi-tasking to another level since you can be in a meeting and visit a market located several kilometers away at the same time. This has made businesses to grow without spending as much as they would have if they had to build another branch of their business in another location. However this phenomenon has not caught in the Ghanaian business society, hence it has given rise to the topic of this project. An online grocery market is a website that will be used to sell and buy produce that can be commonly found in any local market. In our markets, sellers reach out to their customers who are present in the market at a particular time. When a customer walks up to buy a bunch of bananas from a fruit seller, the customers is asked how much she wants to buy, she is served and then the customer walks away. The seller at this point has no record of the customer and this means no way of getting feedback from the customer which goes a long way to grow business. This website will be designed to increase profits by extending services and produce to a different customer base by means of online advertisement which cuts across many borders of our world. This website will hold a lot information that will increase the profits of business at a little cost. In reaching out to various customers over the internet, the concept is aimed at penetrating a fractions of our Ghanaian population who are generally pre-occupied with activities which makes it impossible for them to step out of their daily activities to purchase their needs. It is also aimed to provide a source of income to many job seekers who may be interested in setting up their own business over the internet. The Website will have these basic functions:  Customer Information.  Catalogue of items sold or available in the shop.  Hold client shopping preference in a database.  Interface for customer support or relations.  Delivery capabilities.

1.3 Abstract

This project is a web based shopping system for an existing shop. The project objective is to deliver the online shopping application into android platform. The purpose of this application is to bring knowledge to students about ecommerce and how an interactive ecommerce application can be designed from scratch using client-side languages, such as JavaScript and HTML. The online grocery shop is mainly useful for who haven’t time to go to shopping, those are just entered into this website and bought what ever they want. Even it is night or morning they entered into this site, and chosen different items like fruits, books, toys etc.

1.1 Background Study

Sellers in local markets currently have a traditional system of shopping where customers are expected to walk to the displayed items to make purchases at that particular time. This leaves these sellers at the mercy of undecided customers who are normally moved by the competitive pricing of other shops. Customers who are loyal to the particular sellers are the ones who tend to stay for years with unwavering attachment to such sellers. Most sellers in the marketplaces do not have a database of customers who visit. Customers basically walk-ins just buy what they need and they are gone. There is a simple work flow of acquiring various products from the wholesalers, working out prices, displaying produce on the shelves, receiving money, bagging bought items and finally watch the customer walk away without out any interaction. This leaves no room for feedback from the customer on the shopping experience. Whether it was good or bad it will never be known until an unhappy customer willingly comes out to complain. With popular trends and demands the concept of the Internet as the way forward to increase profit margins, companies new and old are creating websites here and there. The significance for retailers to having a website is that a website is informational and transactional in nature. As the website can be used for advertising and direct marketing; sales; customer support and public relations.

1.3 PROBLEM STATEMENT

The Online Grocery market is to increase the profit margin of business owners and conveniently grant access to products available in the supermarket to the potential customers. The online grocery market will be made up various parts which include:  Product catalog:- An organization of the products will be made for clear navigation of the site which will mean it will be browse able by all.  Product attributes:- Customers need to what product they need before logging on to make a purchase. Attributes are generally accepted as a must: product name, category, description, price, and photo / image of the product.  Check out:- The ECommerce checkout needs to provide a way to take payment, append relevant taxes (if necessary), compute shipping and handling costs, provide a sub-total of the amount due, collect billing and shipping information from the customer.  Reporting & order tracking:- Some stores have a way to track the status of the order through the fulfillment and shipping stages.  Security is vital:- The website will be encrypted with HTTPS, at a minimum to ensure losses are not made.

CHAPTER 2

REQUIREMENTS

2.1 Software Requirements

PHP (Hypertext preprocessor or Personal Home Page) is used as both backend and intermediate in this application. PHP is mainly used to stored tables which are created by admin and also used to store the values inserted by the admin in the table. It is also used to retrieve the data from frontend to backend and also the vice-versa. It avoid codes writing (create,insert,etc.). It helps to create database in an easier way. HTML (Hypertext Markup Language) is the standard markup language for creating web pages and web application.HTML is used as GUI in this application. Using HTML inserting images in web pages is easier. The admin need not write commands every time to insert the values. It makes easier to enter the values. Viewing the tables of database is easier through HTML pages. Front End: HTML, CSS, PHP Back End: XAMPP Database: Microsoft SQL (Structured Query Language) Server 2008 IDE: Notepad++ 2.

2.2 Hardware Requirements

We are going to perform this project on windows platform and hence we require windows OS. Any version as windows XP, windows 7 or windows 8. Processor: Intel dual core i3, i5 Processor Speed: 1.0GHZ or above RAM: 1 GB RAM or above Operating system: Windows 7, 8, 8.1, 10

2.3.5 JavaScript

JavaScript abbreviated as JS, is a high-level, just-in-time compiled, object-oriented programming language that confirms to the ECMA Script specification. JavaScript has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions. Alongside HTML and CSS, JavaScript enables interactive web pages and is an essential part of web applications. Most websites use it and major browsers have a dedicated JavaScript engine to execute it. AS a multi-paradigm language, JavaScript supports event-driven , functional, and imperative (including object-oriented and prototype-based) programming styles. It has APIs for working with text, arrays, dates, regular expressions, and the DOM, but the language itself does not include any I/O, such as networking, storage, or graphics facilities. It relies upon the host environment in which it is embedded to provide these features.

2.3.6 MySQL

MySQL is an open-source relational database management system (RDBMS). MySQL is a component of the XAMPP wen application software stack (and others). MySQL is the world’s most popular open source database. With its proven performance, reliability and ease-of-use, MySQL has become the leading database choice for web-based applications, used by high profile web properties including Facebook, Twitter, YouTube, Yahoo! and many more. Oracle drives MySQL innovation, delivering new capabilities to power next generation web, cloud, mobile and embedded applications.

2.3.7 Bootstrap

Bootstrap is a free and open-source tool collection for creating responsive websites and web applications. Its is the most popular HTML, CSS and JavaScript frame work for developing responsive, mobile-first web sites. It solves many problems which we had done once, one of which is the cross-browser compatibility issue. Nowadays, the websites are perfect for all the browsers(IE, Firefox, Chrome) and for all sizes of screens(Desktop, Tablets and Phones). All thanks to Bootstrap developers- Mark Otto and Jacob Thornton of twitter, though it was later declared to be an open-source project.

CHAPTER 3

SYSTEM DESIGN

3.1 ER Diagram

3.2 Schema Diagram

A database schema is the skeleton structure that represents the logical view of the entire database. It defines how the data is organized and how the relation among them are associated. It formulates all the constraints that are to be applied on the data. A database schema defines its entities and the relationship among them. It contains a descriptive detail of the database, which can be depicted by means of schema diagrams. It’s the database designers who design the schema to help programmers understand the database and make it useful.

Fig 3.2 Schema diagram of Online Grocery Store

3.3 Sequence Diagram

A sequence diagram shows object interaction arranged in time sequence. It depicts the objects and classes involved in the scenario and the sequence of messages exchanged between the objects needed to carry out the functionality of the scenario. Sequence diagrams are typically associated with use case realizations in the Logical View of the system under development. Sequence diagrams are sometimes called event diagrams or event scenarios. A sequence diagram shows, as parallel vertical lines (lifelines), different processes or objects that live simultaneously and as horizontal arrows, the message exchanged between them in the order in which they occur. This allows the specification of simple runtime scenarios in a graphical manner. A sequence diagram shows object interactions arranged in time sequence. It depicts the objects involved in the scenario and the sequence of messages exchanged between the objects needed to carry out the functionality of the scenario. Sequence diagrams are typically associated with use case realizations in the Logical View of the system under development. Sequence diagrams are

sometimes called event diagrams or event scenarios.

3.4 Data Flow Diagram

3.5 Use Case Diagrams

A Use case is description of set of sequence of actions. Graphically it is rendered as an ellipse with solid line including only its name. Use case diagram is a behavioral diagram that shows a set of use cases and actors and their relationship. It is an association between the use cases and actors. An actor represents a real-world object. Primary Actor Sender, Secondary Actor- Receiver. Fig 3.5 Use case diagram that show action of admin and user

4.2.2 PHP Tags

  1. ceil()
  2. count()
  3. die()
  4. echo()
  5. empty()
  6. exit() 7. getenv() 8. header() 9. htmlentities() 10. include() 11. ini_set() 12. isset() 13. mkdir() 14. phpinfo() 15. preg_match() 16. print_r() 17. rand()

4.3 Database Connection Code

1

CHAPTER 5

SESSION WITH PACKAGES

SCREENSHOTS

It contains a detailed description about each interface along with a screen shot of the interface. Fig 5.1 Home Page Home Page: The home page of the application is common to all the system users/administrators. This interface is available through the web application.

Admin Login Page: This page is restricted only for admin, so that admin can alter the products, structure of the database by login to the page by giving credentials. Fig 5.4 Change Password Change Password: Here the users can update their current password to their new required password by giving credentials. Fig 5.

  • Fig 5.
  • Fig 5.