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