50 cities, one catalogue
About 50 Shopify stores in each of 50 cities, read into one database.
Client project·Shopify stores in one search
Products from about 50 Shopify stores in each of 50 cities, brought into one database: a search that shows the shopper's own city first, then the country and abroad, and pages Google indexes.
About 50 Shopify stores in each of 50 cities, read into one database.
Overview
PriceRunner compares prices for shoppers. It says it lists more than 8 million products from over 6,300 retailers, for 14.4 million visitors a month. For it we brought the Shopify stores of 50 cities, about 50 in each, into one database: the same product matched across stores, a ranking that shows what is sold in the shopper's own city first, then elsewhere in the country and abroad, and product pages that search engines index.
At a glance
What we delivered
About 50 Shopify stores in each of 50 cities, read into one database.
Products, prices and stock read again on a schedule, so the catalogue follows the stores.
The same product from different stores is matched, so its prices sit side by side.
Search shows what is sold in the shopper's own city first, then elsewhere in the country.
The same search reaches stores abroad when nothing is close by.
Product and store pages with structured data and sitemaps, so search engines index them.
Results ordered by relevance, distance, price and popularity together.
A search index and caching that stay fast when the busiest days come.
Under the hood
The engineering that makes PriceRunner fast, safe and dependable.
// One search, ranked for where the shopper is: their own city first,// then the rest of the country, then abroad. Price and popularity count.export function rank(hit: Hit, shopper: Shopper): number { const place = hit.city === shopper.city ? 8 : hit.country === shopper.country ? 3 : 1; const near = Math.exp(-distanceKm(hit.at, shopper.at) / 25); const price = hit.lowestPrice / hit.typicalPrice; // under 1: a good price return hit.relevance * place * (1 + near) * (2 - price) + Math.log1p(hit.clicks);} // Every store's listing of one product becomes one result.export async function search(q: string, shopper: Shopper) { const hits = await catalogue.match(q, { limit: 500 }); return groupBy(hits, (h) => h.productId) .map((offers) => ({ ...best(offers), offers })) .sort((a, b) => rank(b, shopper) - rank(a, shopper));}Pharmacy management system
Our all-in-one pharmacy system: 18 modules and an AI assistant in one app - a fast point of sale, prescriptions, batches and expiry, purchasing, finance, staff and smart reports, in Dari, Pashto and English. It keeps selling offline.
Every call answered, every customer known
Phone and web calls, voice menu, USSD and a fair queue, with the CRM built in. A premium AI can answer in a natural voice.
AI assistants, documents and predictions
AI that works in Dari, Pashto and English: assistants that answer from your own documents, forms read in seconds, forecasts from your data and routine work done for you.
Let’s talk
Tell us what you're building. We'll come back with a clear plan, the right team and an honest timeline.