Task #72
openFish Food Management & Listing Module
0%
Description
Implement a fish food listing and filtering feature that allows users to view and search fish food products based on category and name. The system should display product cards with image, caption, and description. Only valid fish food records should be shown from the database.
***pet_foods
Fields & Description
Field Description
id (PK) Unique ID for each fish food item
img Image path / URL of the product
caption Product name / title
description Product details
type Food category (must be fish)
***Validations
*Food category (type) must be fish
*caption is mandatory (minimum 3 characters)
*description is mandatory (minimum 10 characters)
*img must be selected and should be JPG/PNG format only
*Duplicate fish food items with the same caption should not be allowed
*Only records where type = 'fish' should be displayed
*If no fish food items are found, show a user-friendly message:
“No fish food items available at the moment.”