Future Enhancements
This document tracks features and improvements to be implemented in future iterations.
Vendor Onboarding
Postcode Lookup for County Population
Context: The county field was added to the vendors table to improve Typesense search functionality (e.g., searching for "Sussex" should return vendors from cities like "Worthing" in West Sussex).
Requirement: Implement automatic county population during vendor onboarding based on postcode lookup.
Implementation Notes:
- Add postcode field to vendor profile if not already present
- Integrate with a UK postcode lookup API (e.g., Postcodes.io, ideal-postcodes.co.uk, or Google Geocoding API)
- Auto-populate county field when vendor enters their postcode during onboarding
- Consider adding address validation/autocomplete for better UX
- Update existing vendor records with county data via migration/command if postcode data exists
Priority: Medium
Related Files:
app/Models/Vendor.phpdatabase/migrations/2025_10_23_012816_add_county_to_vendors_table.phpconfig/scout.php(Typesense search configuration)
Related Issue/Task: Vendor onboarding flow improvements