WorkDigital platforms

Al Hatab Foods: a growing website, in the content team’s hands.

Al Hatab Foods needs to keep product information, store details and brand content useful in Arabic and English. We designed and built a Craft CMS platform that lets the team assemble pages, maintain the catalogue and publish content for the website and mobile app from one place.

Organisation
Al Hatab Foods, Saudi Arabia
Role
Design, architecture and engineering
Stack
  • Craft CMS 5 Pro
  • PHP, Twig, MySQL, Redis
  • Vite, Tailwind CSS
  • TypeScript, Alpine.js
  • Servd, Cloudflare
Status
In production
Since
2024 to present
  1. Publish build pages from reusable content blocks
  2. Discover explore products and find a nearby store
  3. Share manage website and app content in one CMS

Give the team room to keep the site useful.

A food catalogue, a growing store network and regular campaigns need frequent updates. We built the site around those everyday jobs: creating pages, maintaining product details, helping customers find a branch and collecting feedback. Arabic and English run through the same content structure, with layouts that work in both reading directions.

Build a page from familiar pieces.

Editors combine reusable blocks for copy, images, products, categories, forms, slideshows and other content. They can adjust layout and presentation within the component system, so a new campaign page can use existing pieces. The templates cache suitable blocks separately for each language, while previews and forms remain fresh.

Help people find the details they need.

Product entries bring together images, ingredients, nutrition, allergens, cooking instructions and storage guidance. Reusable categories and badges keep those details consistent across the catalogue. Search and filters help visitors narrow the selection by category, product attributes or allergens they want to exclude.

Desktop filters and the mobile filter dialog use the same choices. Those choices stay in the URL, so a filtered view can be shared or revisited. Search Manager supplies search and autocomplete, while a custom integration prepares the content for indexing.

Find a branch, then know how to get there.

Customers can browse a map or store cards, check opening hours and get directions. Location-based sorting helps them find nearby branches; Riyadh provides a starting point when location is unavailable. Stores load progressively so the initial list can appear before the full network.

A custom Craft module brings in Google Places details in both languages. Editors can keep their own names and hours without losing them during a refresh. Scheduled updates and cached distances reduce the repeated work needed to keep the locator useful.

Prepare repeated information once.

Catalogue pages repeatedly need the same product counts and filter options. A custom cache module prepares that information ahead of time, including category totals, allergen exclusions and available attributes. Queued jobs rebuild it, and a Craft utility shows coverage and refresh status. Templates read the prepared data instead of recalculating those counts for every visitor.

Keep the product beside the question.

A feedback link can identify a product by its code or barcode and show it beside the form. Arabic and English versions share the same journey. Star, emoji and recommendation ratings give the team different ways to ask for feedback, while configured form integrations send submissions into its existing tools.

One editing environment, more than one screen.

The same Craft installation includes Arabic and English mobile sites, with content models for app banners, onboarding, navigation and other screens. A private GraphQL schema exposes the content the app needs alongside shared products and stores. WebView layouts support pages opened inside the app; building the app itself is a separate project.

Connect the tools around the team’s work.

Our plugins support search, translations, links, forms, icons and logging inside Craft. The custom work connects those tools to Al Hatab’s content and customer journeys, giving the team a coherent editing environment. The individual plugin pages explain those products in more detail.

  • Search Managersearch and autocomplete behind product discovery
  • Translation Managerthe bilingual interface and form translation workflow
  • Icon Managerbranded icons, product badges and editor icon selection
  • Component Managerrendering of the reusable component library
  • SmartLink Managerdevice-aware links, app routing and QR journeys
  • ShortLink Managercampaign links, QR codes and expiry
  • Redirect Managerredirects and broken-URL handling
  • Formie Rating Fieldstar, emoji and NPS inputs in feedback forms
  • Formie Paragraph Fieldexplanatory copy inside forms
  • Formie REST APIauthenticated access to form data
  • Formie SAP Integrationsubmissions into the client's SAP
  • Logging Libraryone diagnostics viewer across the custom work

Make ongoing changes easier to manage.

Development, staging and production use separate build settings. Version-controlled Craft configuration keeps content structure changes reviewable, and automated releases record the work being delivered. Image optimisation, language-aware caching and CDN delivery support the frontend, while metadata, canonical links and language references help search engines understand it.

Next13Digital platform 2024Al Hatab Rewards: the member area, on the client's own records

A member area in Arabic and English, connected to Al Hatab’s existing customer system. Customers sign in with a phone number and code, view their points and show a membership barcode at the counter.

All work