In Ghana, the same phone can cost very different amounts depending on where you look. Electronics shops have their own websites, marketplaces have thousands of individual sellers, and nobody puts the prices side by side.
So at TrustCheck , where I'm co-founder, we built Price Check : type "iPhone 15" or "air conditioner" and see the price at several Ghanaian shops at once, with links to each listing.
I assumed fetching the prices would be the hard part. It wasn't. The hard part was answering a question that sounds trivial: is this product actually what the person searched for?
Here's what I learned building it in Laravel 12 on plain shared hosting.
Reading each shop the way its own website does
Every shop is built differently, so there's one small parser per platform:
Shopify shops expose a public predictive-search feed and a /products.json catalogue.
WooCommerce shops usually have their JSON API closed, so we read the search results page and parse the product blocks.
Custom shops often load a whole…