Vous êtes sur la page 1sur 8

FARMER FRIENDLY PORTAL

ABSTRACT:
We have created a Farmer Friendly Portal. This is a portal basically
developed for farmers with an objective of providing the various farm
equipments, machinery, tools, farm products, fertilizers and all the
resources required for farming at a reasonable rate.

DESCRIPTION:
Farmers in India have now resorted to more advanced techniques
in farming. All the latest equipments required for farming e.g.
tractor, tillers, weeder etc. are made available to the farmers
through this farmer friendly website.
This portal will also allow different farmers to sell their farm
related products like seeds, crops, organic fertilizers under a
common platform.
There are two types of users namely Customers and Merchants.
Merchants are those who wish to sell their product.
Customers are those farmers who wish to buy the products.

CUSTOMER FUNCTIONS:
Customer has to first login to buy any available product. If he/she has
not registered yet, then he/she will have to first register his/her
account.
Only after registration, the customer will be able to buy any product
from the website.
The registration page includes all the customer details like Customer
name, Email id, Password, Contact no. and Address.
Customers are allowed to enter only valid information. If there is any
invalid information entered, his/her information will not be entered in
the database and his/her account will not be created.

If the customer wants to just view the available products then there is
no need of logging into his/her account. They can view the products
without logging in but are not allowed to buy the products.

MERCHANT/SUPPLIER FUNCTIONS
The merchant has to first login in order to sell his/her product. If he/she
has not registered yet, then he/she will have to first register his/her
account.
Only after registration, the merchant will be able to add or upload
his/her product into the website.
The registration page includes all merchant details like Merchant name,
Email id, Password, Contact no. and Location.
Merchants are allowed to enter only valid information. If there is any
invalid information entered, his/her information will not be entered in
the database and his/her account will not be created.
The actual cost of the product which he/she wants to sell should be
entered along with the price at which he/she wants to sell it i.e. selling
price.
He also has the right to decide how many maximum number of a
particular item a customer is allowed to buy. For e.g. Out of total 6
tractors available, one customer is allowed to buy maximum 2 tractors,
not more than that.

PRODUCT:
The different categories and sub-categories of the products available in
the website are as follows:
1. Tools

2. Farm

& Machinery
Irrigation Tools
Farm Machinery e.g. Tractor, Tiller, Weeder
Sprayers
Hand tools e.g sickle
Products
Seeds

Crops
Fruits & Vegetables
3. Fertilizers
Organic e.g. vermicompost
Inorganic
4. Plants
Fragnant plants
Medicinal plants
Merchants are also permitted to add their own sub-categories if their
products doesnt fall in any of these sub-categories.
All the details pertaining to the product i.e. Product name, quantity,
max. quantity, cost price, price, image , category, sub-category,
description should be given by the merchant.

PAYMENT:
After the customer selects the product which he wants to buy, the
payment should be done. The payment receipt is generated which will
consist of the order date and delivery date along with the product
name, quantity and its price. A PDF of this receipt can also be
generated.

This portal will also comprise of different videos through which the
farmers will be made aware of various methods of farming. There will
be videos showing the techniques to use different machines .Also,
different videos will be posted to show the usage of irrigation
equipments.

USER INTERFACES:
Front end software: HTML, JavaScript, PHP, Bootstrap
Back end software: MYSQL

DATABASE

Our database consists of the following tables namely:


category_tb, sub_category_tb, customer_tb, merchant_tb, order_tb,
product_tb, image_tb

category_tb
Column
Category_id (primary)
Category_name

Type
int(11)
varchar(30)

customer_tb
Column
customer
customer
customer
customer
customer
customer

Type
int(11)
varchar(30)
varchar(30)
bigint(10)
varchar(10)
varchar(100)

_id (primary)
_name
_email
_phoneno
_password
_address

merchant_tb
Column
merchant_id (primary)
merchant _name
merchant _email
merchant _phoneno
merchant _password
merchant _loc

Type
int(11)
varchar(30)
varchar(30)
bigint(15)
varchar(15)
varchar(100)

order_tb
Column
order_id(primary)
customer_id
product_id
order_date
order_status

Type
int(11)
int(11)
int(11)
datetime
varchar(
30)

Links to
customer_tb--- customer_id
product_tb---product_id

order_quantity
order_deliverydate

int(5)
date

product_tb

Column
product_id(primary)
product_name
category_id
merchant_id
sub_category_id
product_desc
product_cp
product_sp
product_quantity
product_maxquantity
items_sold

Type
int(11)
varchar(1
00)
int(11)
int(11)
int(11)

Links to

category_tb---category_id
merchant_tb---merchant_id
sub_category_tb-sub_category_id

varchar(5
00)
int(10)
int(10)
int(5)
int(5)
int(5)

image_tb
Column
image_id(primary)
image_name
product_id
created_time

Type
int(11)
varchar(50
)
int(11)
timestamp

Links to

product_tb---product_id

sub_category_tb
Column
sub_category_id(primary)
sub_category_name
category_id

Type
Links to
int(11)
varchar(30)
int(11)
category_tb---category_id

Customer Login Module:


Customer should first login to buy any product. If the login is
successful, then a message login successful will be displayed and
after 5 seconds, the homepage will appear again.
This is done using the PHP header and refresh command i.e.
header("Refresh: $sec; url=$page"), where $sec is set to 5 and url is
set to the homepage. The above command will redirect the browser
window to the given location as soon as the command is executed.
After refresh is done, the homepage will appear and the Login label of
the login button will be changed to the username of the user.
If the user wants to logout, then he/she will have to click on the Logout
option after which the homepage will appear again with the username
changed to Login label.
Customers are allowed to view the products even without logging in to
his/her account.
If a customer tries to buy a product without logging in, he/she will not
be permitted to do so as a message Please login to continue payment
will be displayed and it will redirect the browser to the homepage.
If the customer wants to register his/her account, then the register
option is available in login module. The registration form is prepared
with complete validation. Customer will have to enter his userid, email
id, name, password, contact number and address in this page. The
values entered by the customer will be added into the database only if
valid details are entered else registration is not possible.
In the homepage, the products of different sub-categories will appear
in the products section. On refreshing the page, different items will
appear in this section. Here, random items from different subcategories are selected and they appear in the homepage.

When the customer clicks on the product, the details will appear.
The details of the top selling product will also appear on the homepage
at the bottom. That product will be replaced if some another product
which is highly sold enters the frame.
If the customer tries to buy zero or negative amount of products, then
he/she will not be allowed to do so and it will return to the homepage.

Merchant:
If a merchant wants to sell his/her product, there is a sell it button
available at the bottom right. The merchant will have to then login. If
his account is not yet created, then he/she will have to first register in
order to continue. Without logging in, the merchants will not be
allowed to sell their products.
If the merchant wants to register his/her account, then the register
option is available in login module. The registration form is prepared
with complete validation. Merchants will have to enter his email id,
name, password, contact number and address in this page. The values
entered by the merchant will be added into the database only if valid
details are entered else registration is not possible.
After logging in, a new page will appear which will display the
merchants name, location and email id. Also there will be two options:
Add product and View products.
Add product is used if the merchant wants to add his/her product in
the selling list and view products is used if the merchant wants to view
the products which he/she has sold so far.
On clicking on Add product, a new page will appear where the
merchant will have to enter all the details of the products.
Product name has to be entered along with the category and the subcategory it belongs to. MRP of the product should be entered along
with the selling price. Selling price is decided by the merchant. The
total quantity of the available stock should be entered. Merchants can
decide the maximum quantity which a customer can order, if the

customer enters a number greater than the maximum quantity, then


he/she will not be allowed to buy it.
The description of the product should be entered along with an image
of the product.
Many images of a particular product can be entered. After entering all
the product details, submit button should be pressed in order to submit
the details.
If any invalid details are entered, then the values will not be added into
the database.

Vous aimerez peut-être aussi