export type Product = { id: string; slug: string; name: string; brand: string; category: string; description: string; price: number; compareAt?: number; image: string; rating: number; reviews: number; badge?: "sale" | "new" | "bestseller"; requiresPrescription?: boolean; inStock: boolean; sku: string; unit: string; }; const u = (id: string) => `https://images.unsplash.com/${id}?w=600&q=80`; export const products: Product[] = [ { id: "p1", slug: "panadol-advance", name: "Panadol Advance", brand: "GSK", category: "medicines", description: "Fast-acting paracetamol tablets for relief of mild to moderate pain and fever.", price: 85, compareAt: 110, image: "https://gishen-ecom.vercel.app/products/panadol-advance.jpg", rating: 4.8, reviews: 214, badge: "bestseller", inStock: true, sku: "GSH-PAN-ADV", unit: "16 tablets", }, { id: "p2", slug: "paracetamol", name: "Paracetamol", brand: "Generic", category: "medicines", description: "Reliable pain and fever relief for everyday use.", price: 35, image: "https://gishen-ecom.vercel.app/products/paracetamol.jpg", rating: 4.6, reviews: 189, badge: "bestseller", inStock: true, sku: "GSH-PCM-500", unit: "20 tablets", }, { id: "p3", slug: "paracetamol-tylenol", name: "Paracetamol Tylenol", brand: "Tylenol", category: "medicines", description: "Trusted acetaminophen formula for pain and fever.", price: 120, compareAt: 145, image: "https://gishen-ecom.vercel.app/products/paracetamol-tylenol.jpg", rating: 4.7, reviews: 98, badge: "sale", inStock: true, sku: "GSH-TYL-PCM", unit: "24 tablets", }, { id: "p4", slug: "paracetamol-caffeine", name: "Paracetamol + Caffeine", brand: "Generic", category: "medicines", description: "Enhanced pain relief combining paracetamol with caffeine.", price: 55, image: "https://gishen-ecom.vercel.app/products/paracetamol-caffein.jpg", rating: 4.5, reviews: 67, inStock: true, sku: "GSH-PCM-CAF", unit: "20 tablets", }, { id: "p5", slug: "snip", name: "SNIP Cold & Flu", brand: "SNIP", category: "medicines", description: "Paracetamol, pseudoephedrine and chlorphenamine for cold and flu symptoms.", price: 95, compareAt: 120, image: "https://gishen-ecom.vercel.app/products/snip-pcm-pseudoephedrine-chlorphenamine.jpg", rating: 4.6, reviews: 142, badge: "sale", inStock: true, sku: "GSH-SNIP-01", unit: "12 tablets", }, { id: "p6", slug: "paracetamol-pseudoephedrine-snip", name: "Paracetamol-Pseudoephedrine (SNIP)", brand: "SNIP", category: "medicines", description: "Relieves nasal congestion with pain and fever control.", price: 90, image: "https://gishen-ecom.vercel.app/products/paracetamol-pseudoephedrine-snip.jpg", rating: 4.4, reviews: 76, inStock: true, sku: "GSH-SNIP-02", unit: "12 tablets", }, { id: "p7", slug: "metformin", name: "Metformin", brand: "Generic", category: "diabetic", description: "Oral antidiabetic medication for type 2 diabetes management.", price: 75, image: "https://gishen-ecom.vercel.app/products/metformin.jpg", rating: 4.7, reviews: 203, badge: "bestseller", requiresPrescription: true, inStock: true, sku: "GSH-MET-500", unit: "30 tablets", }, { id: "p8", slug: "ciprofloxacin", name: "Ciprofloxacin", brand: "Generic", category: "medicines", description: "Broad-spectrum antibiotic for bacterial infections.", price: 140, image: "https://gishen-ecom.vercel.app/products/ciprofloxacin.jpg", rating: 4.5, reviews: 88, requiresPrescription: true, inStock: true, sku: "GSH-CIP-500", unit: "10 tablets", }, { id: "p9", slug: "azitro", name: "Azitro (Azithromycin)", brand: "Azitro", category: "medicines", description: "Macrolide antibiotic commonly used for respiratory infections.", price: 180, compareAt: 220, image: "https://gishen-ecom.vercel.app/products/azitro.jpg", rating: 4.6, reviews: 112, badge: "sale", requiresPrescription: true, inStock: true, sku: "GSH-AZI-500", unit: "3 tablets", }, { id: "p10", slug: "diclofenac", name: "Diclofenac", brand: "Generic", category: "medicines", description: "NSAID for pain, inflammation and joint discomfort.", price: 60, image: "https://gishen-ecom.vercel.app/products/diclofenac.jpg", rating: 4.5, reviews: 156, badge: "bestseller", inStock: true, sku: "GSH-DIC-50", unit: "20 tablets", }, { id: "p11", slug: "albendazole", name: "Albendazole", brand: "Generic", category: "medicines", description: "Anthelmintic treatment for worm infections.", price: 45, image: "https://gishen-ecom.vercel.app/products/albendazole.jpg", rating: 4.4, reviews: 91, inStock: true, sku: "GSH-ALB-400", unit: "1 tablet", }, { id: "p12", slug: "pantoprazole", name: "Pantoprazole", brand: "Generic", category: "medicines", description: "Proton pump inhibitor for acid reflux and ulcers.", price: 110, image: "https://gishen-ecom.vercel.app/products/pantoprazole.jpg", rating: 4.6, reviews: 134, requiresPrescription: true, inStock: true, sku: "GSH-PAN-40", unit: "14 tablets", }, { id: "p13", slug: "desloratidine", name: "Desloratidine", brand: "Generic", category: "medicines", description: "Non-drowsy antihistamine for allergy relief.", price: 95, image: "https://gishen-ecom.vercel.app/products/desloratidine.jpg", rating: 4.5, reviews: 72, badge: "new", inStock: true, sku: "GSH-DES-5", unit: "10 tablets", }, { id: "p14", slug: "nat-c-vitamin-c", name: "Nat C (Vitamin C)", brand: "Nat C", category: "vitamins", description: "Vitamin C supplement to support immunity and recovery.", price: 150, compareAt: 180, image: "https://gishen-ecom.vercel.app/products/nat-c-vitamin-c.jpg", rating: 4.8, reviews: 267, badge: "bestseller", inStock: true, sku: "GSH-NATC-01", unit: "30 tablets", }, { id: "p15", slug: "vigafen", name: "Vigafen", brand: "Vigafen", category: "medicines", description: "Combination analgesic for headache and body pain.", price: 70, image: "https://gishen-ecom.vercel.app/products/vigafen.jpg", rating: 4.3, reviews: 54, inStock: true, sku: "GSH-VIG-01", unit: "20 tablets", }, { id: "p16", slug: "gofen", name: "Gofen", brand: "Gofen", category: "medicines", description: "Ibuprofen soft gel capsules for pain and inflammation.", price: 125, compareAt: 150, image: "https://gishen-ecom.vercel.app/products/gofen.jpg", rating: 4.7, reviews: 118, badge: "sale", inStock: true, sku: "GSH-GOF-400", unit: "10 softgels", }, { id: "p17", slug: "quemox", name: "Quemox", brand: "Quemox", category: "medicines", description: "Amoxicillin antibiotic for bacterial infections.", price: 160, image: "https://gishen-ecom.vercel.app/products/quemox.jpg", rating: 4.5, reviews: 83, requiresPrescription: true, inStock: true, sku: "GSH-QUE-500", unit: "21 capsules", }, { id: "p18", slug: "olit", name: "Olit", brand: "Olit", category: "medicines", description: "Gastrointestinal support medication.", price: 100, image: "https://gishen-ecom.vercel.app/products/olit.jpg", rating: 4.2, reviews: 41, inStock: true, sku: "GSH-OLIT-01", unit: "14 tablets", }, { id: "p19", slug: "degra", name: "Degra", brand: "Degra", category: "medicines", description: "Digestive relief support formula.", price: 115, image: "https://gishen-ecom.vercel.app/products/degra.jpg", rating: 4.3, reviews: 39, badge: "new", inStock: true, sku: "GSH-DEG-01", unit: "10 sachets", }, { id: "p20", slug: "almetamin", name: "Almetamin", brand: "Almetamin", category: "medicines", description: "Antihistamine for allergy and cold symptoms.", price: 65, image: "https://gishen-ecom.vercel.app/products/almetamin.jpg", rating: 4.4, reviews: 58, inStock: true, sku: "GSH-ALM-01", unit: "20 tablets", }, { id: "p21", slug: "mela-one-tablet", name: "Mela One Tablet", brand: "Mela", category: "medicines", description: "Single-dose treatment tablet as directed by a pharmacist.", price: 80, image: "https://gishen-ecom.vercel.app/products/mela-one-tablet.jpg", rating: 4.1, reviews: 33, inStock: true, sku: "GSH-MELA-01", unit: "1 tablet", }, { id: "p22", slug: "sildenafil", name: "Sildenafil", brand: "Generic", category: "wellness", description: "Prescription medication for erectile dysfunction.", price: 250, image: "https://gishen-ecom.vercel.app/products/sildenafil.jpg", rating: 4.6, reviews: 97, requiresPrescription: true, inStock: true, sku: "GSH-SIL-100", unit: "4 tablets", }, { id: "p23", slug: "hiwot-trust-condom", name: "Hiwot Trust Condom", brand: "Hiwot Trust", category: "wellness", description: "Trusted protection condoms for sexual wellness.", price: 50, image: "https://gishen-ecom.vercel.app/products/hiwot-trust-condom.jpg", rating: 4.7, reviews: 176, badge: "bestseller", inStock: true, sku: "GSH-HTC-01", unit: "3 pack", }, { id: "p24", slug: "royal-face-mask", name: "Royal Face Mask", brand: "Royal", category: "devices", description: "Protective face masks for everyday hygiene.", price: 40, compareAt: 60, image: "https://gishen-ecom.vercel.app/products/royal-face-mask.jpg", rating: 4.5, reviews: 210, badge: "sale", inStock: true, sku: "GSH-RFM-50", unit: "50 pcs", }, { id: "p25", slug: "examination-glove-medium", name: "Examination Glove Medium", brand: "MedGloves", category: "devices", description: "Disposable examination gloves, medium size.", price: 220, image: "https://gishen-ecom.vercel.app/products/examination-glove-medium.jpg", rating: 4.6, reviews: 64, inStock: true, sku: "GSH-GLV-M", unit: "100 pcs", }, { id: "p26", slug: "surgical-glove", name: "Surgical Glove", brand: "MedGloves", category: "devices", description: "Sterile surgical gloves for clinical use.", price: 280, image: "https://gishen-ecom.vercel.app/products/surgical-glave.jpg", rating: 4.5, reviews: 48, inStock: true, sku: "GSH-SGL-M", unit: "50 pairs", }, { id: "p27", slug: "first-aid-plaster", name: "First Aid Plaster", brand: "CareAid", category: "first-aid", description: "Assorted adhesive plasters for minor cuts and scrapes.", price: 45, image: "https://gishen-ecom.vercel.app/products/first-aid-plaster.jpg", rating: 4.6, reviews: 122, badge: "new", inStock: true, sku: "GSH-FAP-01", unit: "20 strips", }, // Expanded curated OTC / wellness catalog (licensed Unsplash imagery) { id: "p28", slug: "vitamin-d3", name: "Vitamin D3 1000 IU", brand: "Wellness Plus", category: "vitamins", description: "Supports bone health and immune function.", price: 280, compareAt: 320, image: u("photo-1559757148-5c350d0d3c56"), rating: 4.7, reviews: 145, badge: "sale", inStock: true, sku: "GSH-VD3-01", unit: "60 softgels", }, { id: "p29", slug: "omega-3-fish-oil", name: "Omega-3 Fish Oil", brand: "Wellness Plus", category: "vitamins", description: "EPA & DHA support for heart and brain health.", price: 450, image: u("photo-1505751172876-fa1923c5c528"), rating: 4.8, reviews: 198, badge: "bestseller", inStock: true, sku: "GSH-OM3-01", unit: "90 softgels", }, { id: "p30", slug: "multivitamin-daily", name: "Daily Multivitamin", brand: "VitaDay", category: "vitamins", description: "Complete daily micronutrient support for adults.", price: 320, image: u("photo-1471864190281-a93a3070b6de"), rating: 4.6, reviews: 231, badge: "bestseller", inStock: true, sku: "GSH-MVIT-01", unit: "30 tablets", }, { id: "p31", slug: "zinc-tablets", name: "Zinc Tablets 50mg", brand: "VitaDay", category: "vitamins", description: "Zinc supplement to support immunity.", price: 180, image: u("photo-1585435557343-3b092031a831"), rating: 4.4, reviews: 87, inStock: true, sku: "GSH-ZNC-50", unit: "30 tablets", }, { id: "p32", slug: "iron-folic-acid", name: "Iron + Folic Acid", brand: "VitaDay", category: "vitamins", description: "Supports healthy blood and prenatal nutrition needs.", price: 160, image: u("photo-1587854692152-cbe660dbde88"), rating: 4.5, reviews: 104, inStock: true, sku: "GSH-IRN-01", unit: "30 tablets", }, { id: "p33", slug: "calcium-magnesium", name: "Calcium + Magnesium", brand: "BoneCare", category: "vitamins", description: "Mineral blend for bone and muscle support.", price: 290, image: u("photo-1628771065518-0d82f1938462"), rating: 4.5, reviews: 76, badge: "new", inStock: true, sku: "GSH-CAM-01", unit: "60 tablets", }, { id: "p34", slug: "hand-sanitizer-500", name: "Hand Sanitizer 500ml", brand: "CleanHands", category: "personal-care", description: "Alcohol-based sanitizer for on-the-go hygiene.", price: 120, compareAt: 150, image: u("photo-1582719471384-894fbb16e074"), rating: 4.6, reviews: 188, badge: "sale", inStock: true, sku: "GSH-SAN-500", unit: "500 ml", }, { id: "p35", slug: "moisturizing-lotion", name: "Moisturizing Body Lotion", brand: "DermaSoft", category: "personal-care", description: "Daily hydrating lotion for dry and sensitive skin.", price: 240, image: u("photo-1556228578-0d85b1a4d571"), rating: 4.7, reviews: 132, inStock: true, sku: "GSH-LOT-01", unit: "400 ml", }, { id: "p36", slug: "sunscreen-spf50", name: "Sunscreen SPF 50", brand: "DermaSoft", category: "personal-care", description: "Broad-spectrum sun protection for face and body.", price: 380, image: u("photo-1556228720-195a672e8a03"), rating: 4.8, reviews: 165, badge: "bestseller", inStock: true, sku: "GSH-SPF-50", unit: "100 ml", }, { id: "p37", slug: "antiseptic-mouthwash", name: "Antiseptic Mouthwash", brand: "OralCare", category: "personal-care", description: "Freshens breath and supports oral hygiene.", price: 160, image: u("photo-1607613009820-a29f7bb81c04"), rating: 4.4, reviews: 79, inStock: true, sku: "GSH-MW-01", unit: "500 ml", }, { id: "p38", slug: "shampoo-gentle", name: "Gentle Care Shampoo", brand: "HairWell", category: "personal-care", description: "Mild shampoo suitable for daily use.", price: 210, image: u("photo-1535585209827-a15fcdbc4c2d"), rating: 4.3, reviews: 91, badge: "new", inStock: true, sku: "GSH-SHP-01", unit: "400 ml", }, { id: "p39", slug: "blood-pressure-monitor", name: "Digital Blood Pressure Monitor", brand: "HealthTech", category: "devices", description: "Upper-arm digital BP monitor for home use.", price: 1850, compareAt: 2100, image: u("photo-1584362917165-526a968579e8"), rating: 4.7, reviews: 84, badge: "sale", inStock: true, sku: "GSH-BPM-01", unit: "1 unit", }, { id: "p40", slug: "pulse-oximeter", name: "Pulse Oximeter", brand: "HealthTech", category: "devices", description: "Fingertip SpO2 and pulse rate monitor.", price: 950, image: u("photo-1666214280557-f1b5022eb634"), rating: 4.6, reviews: 113, badge: "bestseller", inStock: true, sku: "GSH-OXM-01", unit: "1 unit", }, { id: "p41", slug: "digital-thermometer", name: "Digital Thermometer", brand: "HealthTech", category: "devices", description: "Fast-read digital thermometer for family use.", price: 280, image: u("photo-1584017911766-d451b3d0e843"), rating: 4.5, reviews: 156, inStock: true, sku: "GSH-THM-01", unit: "1 unit", }, { id: "p42", slug: "glucose-meter-kit", name: "Blood Glucose Meter Kit", brand: "DiaCare", category: "diabetic", description: "Home glucose monitoring kit with strips starter pack.", price: 1450, image: u("photo-1579684385127-1ef15d508118"), rating: 4.7, reviews: 99, badge: "bestseller", inStock: true, sku: "GSH-BGM-01", unit: "1 kit", }, { id: "p43", slug: "glucose-test-strips", name: "Glucose Test Strips", brand: "DiaCare", category: "diabetic", description: "Compatible test strips for DiaCare meters.", price: 420, image: u("photo-1631549916768-4119b2e5f926"), rating: 4.5, reviews: 67, inStock: true, sku: "GSH-GTS-50", unit: "50 strips", }, { id: "p44", slug: "baby-lotion", name: "Baby Soft Lotion", brand: "TinyCare", category: "baby", description: "Hypoallergenic lotion for delicate baby skin.", price: 260, image: u("photo-1515488042361-ee00e0ddd4e4"), rating: 4.8, reviews: 143, badge: "new", inStock: true, sku: "GSH-BBL-01", unit: "200 ml", }, { id: "p45", slug: "baby-wipes", name: "Sensitive Baby Wipes", brand: "TinyCare", category: "baby", description: "Fragrance-free wipes for sensitive skin.", price: 95, compareAt: 120, image: u("photo-1544367567-0f2fcb009e0b"), rating: 4.6, reviews: 201, badge: "sale", inStock: true, sku: "GSH-BBW-80", unit: "80 wipes", }, { id: "p46", slug: "diaper-rash-cream", name: "Diaper Rash Cream", brand: "TinyCare", category: "baby", description: "Soothing cream to protect against diaper irritation.", price: 180, image: u("photo-1492725764893-90b379c2b6e7"), rating: 4.7, reviews: 88, inStock: true, sku: "GSH-DRC-01", unit: "100 g", }, { id: "p47", slug: "first-aid-kit", name: "Family First Aid Kit", brand: "CareAid", category: "first-aid", description: "Compact kit with essentials for home and travel.", price: 650, compareAt: 780, image: u("photo-1603398938378-e54eab446dde"), rating: 4.8, reviews: 124, badge: "sale", inStock: true, sku: "GSH-FAK-01", unit: "1 kit", }, { id: "p48", slug: "antiseptic-solution", name: "Antiseptic Solution", brand: "CareAid", category: "first-aid", description: "Wound cleansing antiseptic for first aid use.", price: 90, image: u("photo-1584308666744-24d5c474f2ae"), rating: 4.5, reviews: 96, inStock: true, sku: "GSH-ANT-250", unit: "250 ml", }, { id: "p49", slug: "cotton-wool", name: "Surgical Cotton Wool", brand: "CareAid", category: "first-aid", description: "Absorbent cotton for wound care and cosmetics.", price: 55, image: u("photo-1576671081837-49000212a370"), rating: 4.4, reviews: 71, inStock: true, sku: "GSH-CTN-100", unit: "100 g", }, { id: "p50", slug: "ors-sachets", name: "ORS Sachets", brand: "HydraCare", category: "medicines", description: "Oral rehydration salts for dehydration support.", price: 40, image: u("photo-1585435557343-3b092031a831"), rating: 4.7, reviews: 158, badge: "bestseller", inStock: true, sku: "GSH-ORS-10", unit: "10 sachets", }, { id: "p51", slug: "cough-syrup", name: "Cough Syrup", brand: "RespiCare", category: "medicines", description: "Soothing syrup for dry and productive coughs.", price: 135, image: u("photo-1587854692152-cbe660dbde88"), rating: 4.4, reviews: 109, inStock: true, sku: "GSH-CGH-100", unit: "100 ml", }, { id: "p52", slug: "antacid-chewable", name: "Antacid Chewable", brand: "GastroEase", category: "medicines", description: "Fast relief from heartburn and indigestion.", price: 70, image: u("photo-1471864190281-a93a3070b6de"), rating: 4.5, reviews: 134, inStock: true, sku: "GSH-ANTAC-01", unit: "24 tablets", }, { id: "p53", slug: "eye-drops-lubricating", name: "Lubricating Eye Drops", brand: "OptiClear", category: "medicines", description: "Relief for dry, irritated eyes.", price: 190, badge: "new", image: u("photo-1576602976047-174e57a47881"), rating: 4.6, reviews: 62, inStock: true, sku: "GSH-EYE-01", unit: "10 ml", }, { id: "p54", slug: "protein-powder", name: "Nutrition Protein Powder", brand: "NutriStrong", category: "vitamins", description: "High-quality protein blend for recovery and wellness.", price: 1250, compareAt: 1400, image: u("photo-1593095948071-474c5cc2989d"), rating: 4.7, reviews: 77, badge: "sale", inStock: true, sku: "GSH-PRO-01", unit: "1 kg", }, { id: "p55", slug: "electrolyte-drink", name: "Electrolyte Hydration Mix", brand: "HydraCare", category: "vitamins", description: "Replenishes electrolytes after illness or exercise.", price: 85, image: u("photo-1628771065518-0d82f1938462"), rating: 4.5, reviews: 93, inStock: true, sku: "GSH-ELY-01", unit: "10 sachets", }, { id: "p56", slug: "pregnancy-test", name: "Pregnancy Test Kit", brand: "QuickCheck", category: "devices", description: "Rapid home pregnancy test with clear results.", price: 95, image: u("photo-1579154204601-01588f351e67"), rating: 4.6, reviews: 148, inStock: true, sku: "GSH-PTK-01", unit: "1 kit", }, { id: "p57", slug: "compression-socks", name: "Compression Socks", brand: "CircuFit", category: "devices", description: "Supportive socks for circulation and travel comfort.", price: 340, image: u("photo-1576091160550-2173dba999ef"), rating: 4.3, reviews: 45, badge: "new", inStock: true, sku: "GSH-CSK-01", unit: "1 pair", }, { id: "p58", slug: "hot-water-bottle", name: "Hot Water Bottle", brand: "ComfortCare", category: "first-aid", description: "Classic hot water bottle for warmth and comfort.", price: 220, image: u("photo-1516549655169-df83a0774514"), rating: 4.4, reviews: 58, inStock: true, sku: "GSH-HWB-01", unit: "1 unit", }, { id: "p59", slug: "inhaler-spacer", name: "Inhaler Spacer", brand: "RespiCare", category: "devices", description: "Spacer chamber to improve inhaler medication delivery.", price: 480, image: u("photo-1584308666744-24d5c474f2ae"), rating: 4.5, reviews: 36, inStock: true, sku: "GSH-ISP-01", unit: "1 unit", }, { id: "p60", slug: "lip-balm-medicated", name: "Medicated Lip Balm", brand: "DermaSoft", category: "personal-care", description: "Soothing balm for dry and cracked lips.", price: 65, image: u("photo-1596755389378-c31d21fd1273"), rating: 4.6, reviews: 112, inStock: true, sku: "GSH-LIP-01", unit: "1 stick", }, ]; export function getProductBySlug(slug: string) { return products.find((p) => p.slug === slug); } export function getProductsByCategory(category: string) { return products.filter((p) => p.category === category); } export function searchProducts(query: string) { const q = query.toLowerCase().trim(); if (!q) return products; return products.filter( (p) => p.name.toLowerCase().includes(q) || p.brand.toLowerCase().includes(q) || p.sku.toLowerCase().includes(q) || p.description.toLowerCase().includes(q), ); }