Chapter-5 Crop Price Viewing
This page describes one of the primary use cases of the Bolbhav app which is the farmers viewing the crop prices across various registered Mandis.
This document details the functionality of the Crop Price View section within the Bolbhav app, outlining the changes implemented in the newer version 6.5.0.
Overview
On the Bolbhav app, prices are shown from multiple sources:
Open-source Public Data
Agmarknet
MP State Agricultural Marketing Board Website
Sales receipt contributed by Bolbhav User
Steps in the Journey
Select a mandi
Select a crop for a particular mandi
Do validation of a receipt (one time a day only if an unvalidated receipt is available)
Price View Page
On Price View Page, a user can change the date
Mandi Selection Page
When a user clicks on "View Receipts" on the home screen, they come to this page,
Key attributes visible
Mandi Name
Latest Available Price Date
Count of receipts on the Latest Available Price Date
Mandi List
Mandi Name is taken from the field "mandi_name_hi" from the Mandi Table, where "is_bolbhav_plus" is True.
If none of the crops of a mandi has prices in the last 30 days then that mandi will not be shown in the list.
Latest Available Price Date
It is last date for which prices are available either from public database or prices that have been contributed by our users.
Count of receipts on the Latest Available Price Date
It is summation of all counts of receipts available for all the crops for the latest available price date. Public Database prices for a crop is counted as one receipt. {Clarification: Suppose, for a given date we do not have any prices from users but we have prices from public database for 5 crops. In this scenario, the count on the mandi page will be equivalent to five.}
How are mandis sorted?
First two mandi will be user's favourite mandis.
After, two favorite mandis, all other mandis will be sorted in following order
Date
Count of receipts within a date
How are favourite mandis decided?
In the mandi_crop_follower table,
total_visit_count
field is used to identify the top mandi for which a user has made visit. The top two mandis are then shown on the mandi page.Within these top two mandis, if there is one unlocked mandi then that is shown on the top. If the unlocked mandi is not from the top two mandis then the unlocked mandi is shown on the top and then the most visited mandi from mandi_crop_follower table is shown.
For a new user, there will be no entry in the mandi_crop_follower table, hence, no favourite mandis will be shown.
Search Bar functionality
A user can search the name of the mandi in Hindi, English or Hinglish.
Mandi Page Screens
Users with No Mandi or All Mandis Unlocked:
Users who haven't unlocked any mandis or have unlocked all mandis will see a complete list of all available mandis.
Users with no unlocked mandis can select any mandi and choose any crop within that mandi. However, they can only view public database prices and one sales receipt for that crop. The remaining receipts will be locked.
Users with all mandis unlocked can access any mandi and any crop, and they can view all uploaded receipts for their chosen selection.
Users with 1 mandi unlocked
These users will see a list of all mandis on the selection screen: One specific mandi will be marked as "unlocked," indicating the one they previously chose when unlocking the 1-mandi subscription (either through payment or 5 approved receipts). Learn more about subscriptions here.
For the unlocked mandi, users can choose any crop and view all uploaded receipts.
For other mandis and their crops, they will have similar experience of locked mandis.
Users whose 5 receipts got approved (Unavailed Plan)
As soon as a user hit the milestone of five approved receipts, a subscription plan is allocated to them in the trader_subscription_tracker table.
Plan Name: reward_for_5_receipt_contribution
mandi_id: remain null
When users whose
reward_for_5_receipt_contribution
is active but the mandi_id is null, visits the price view journey then they are taken on a page to select the mandi that they want to unlock.
They will first encounter a screen explaining the opportunity to unlock one free mandi for one year.
A list of all available mandis will be presented for them to choose from.
After selecting a mandi, a confirmation screen will appear, followed by a congratulatory screen upon confirmation.
The congratulatory screen will offer two CTAs:
अभी पर्ची डालें: This encourages users to upload more receipts to reach the next milestone of 50 receipts, unlocking all mandis.
भाव देखें: This CTA redirects the user to the mandi selection screen with their chosen mandi now unlocked and accessible for viewing crop prices
Crop Selection Page
When a user selects a mandi, they are shown the list of crops for that mandi.
Key attributes visible
Crop List
Latest Available Price Date/time
Count of receipts on the Latest Available Price Date
Crop List
Crop Name is taken from the field "crop_name_hi" from the Crop Table.
Only those crops are shown for which price data (either from public database or user contributed) is avialble in the last 30 days.
Latest Available Price Date/time
It is last date for which prices are available either from public database or prices that have been contributed by our users.
For crops where price for today is available. Show the number of seconds/minutes/hours at which price for that crop is updated. For example: 4 सेकंड/मिनट/घंटे पहले
For older date situration, date is visible in DD/MM/YYYY format.
Count of receipts on the Latest Available Price Date
It is summation of all counts of receipts available for that crop for the latest available price date. Public Database prices for a crop is counted as one receipt.
Crop Sorting
Crops are sorted in following order
Date
Count of receipts within a date
Price Page
This page shows the price data for the chosen crop and mandi.
Key attributes visible
Button to Select Date
Public Database price poster
Price Distribution table
Images of sales receipt contributed by user
A floating button to nudge users to contribute.
lock on images
Button to Select Date
The button have date written in the top half in DD Month_Hindi format and in the bottom half is the count of receipts for that date-mandi-crop combination. The count is including of the price from public database.
Currently, the ten dates are shown.
Only those dates are shown where at least one price is available. Today date is visible even if there are no prices.
The dates will be in the acsending order with the lastest date will be on the right hand side. A user can scroll the dates and select any date.
Upon selection, data for that date will be fetched. In between, all date button will turn unclickable and loading background will be visible in the receipt image section.
Public Database price poster
This poster is a format coded in the frontend with dynamic fields.
The share button leads to a WhatsApp message with price data. It does not share the poster.
If prices from public database are available then show the prices. The field of quantity (arrival) will be visible only when there is data available. If this field is null and it will not be visible in the frontend.
If prices from public database are not available then show a poster to them that the mandi officials have not uploaded the prices on government websites.
Price Distribution table
It will be shown if number of approved receipts are over ten.
To know more about how this table is formed. Read here
Image of sales receipt contributed by users
On this page a lower size image that is of reduced quality is shown. If clicked then the image opens on a new page where high quality image is shown.
The attributes visible on the image are
Status of validation
Pass
Fail
Pending
Share button which when clicked will have a text message with a URL that also has a static image in the preview.
Contributor profile image and name
Validators profile images only
Option to flag a receipt is approved
Option to know the reasons if rejected
How are receipts sorted?
Public Database Price poster: It will always be shown on the top. After that sales receipts contributed by users will be shown in following order.
Validated Receipts (Passed): Receipts that have been successfully validated and passed will be displayed first. Each validated receipt will be marked with a stamp indicating "Pass".
Pending Receipts: Receipts that are pending validation will be displayed next. Each pending receipt will be marked with a stamp indicating "Janch Baki Hai" (Validation Pending).
Failed Receipts: Receipts that have failed validation will be displayed last. Each failed receipt will be marked with a stamp indicating "Fail".
Floating Button
This takes users to the contribution jouney.
It has dynamic count of how many receipt a user has to submit to unlock the next level of reward.
For user less than 5 approved receipts, it nudges to reach the milestone of 5 receipts to unlock one mandi.
For users more than 5 but less than 50 approved receipts, it nudges to reach the milestone of 50 receipts to unlock all mandi.
Lock on images
Last updated