Menu

Static Site, Dynamic Quotes: How a Morocco Transfer Site Handles Pricing Without a Backend
πŸ“°

Static Site, Dynamic Quotes: How a Morocco Transfer Site Handles Pricing Without a Backend

DEV Community: astroΒ·Marrakech TransportΒ·about 17 hours ago
#N2nyTBJx
#devtoastro#devto#dev#marrakech#price
Reading 0:00
15s threshold

Most small travel operators either show stale prices or none at all. We run Marrakech Transport , a private driver service in Marrakech, and we chose a third path: no prices on short rides, and a quote flow that lands directly in WhatsApp.

The problem with publishing prices

Airport and in-town rides in Marrakech vary with flight time, luggage, group size and where the riad sits in the medina. A fixed number on a page is either wrong or misleading. Worse, a cheap headline price gets screenshotted and quoted back months later.

What we built instead

Static pages, generated at build time (Astro). No database, no CMS bill.

A build-time guard that scans every rendered page, PDF and article for price strings and fails the build if a short-ride price slips through.

Prefilled WhatsApp links .…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.