PenguinCodes Logo

PenguinCodes

Full-Stack Penguin

iCase: an online store that no longer goes down when the ads go live

iCase sells iPhone cases, AirPods cases and screen protectors in Serbia, Bosnia and Herzegovina and Montenegro. Their WordPress store kept failing at the worst moment: right when the ads started bringing in buyers. I rebuilt it as a custom Laravel store, and later connected its dashboard to Claude.

Online store, 3 countries

The iCase online store home page

Problems the client had

iCase sold through a WordPress/WooCommerce store, and the store had turned into a constant worry. The owner had to check it every few days just to see what had broken this time.

The worst failures were also the most expensive ones. Every time a new ad campaign went live, the extra traffic took the site down. They were paying for visitors who landed on a store that would not load, which meant losing money twice: once on the ad, and once on the sale that never happened.

How I tried to solve them

Rebuilding a store is a big step, so I first tried to save the one they had. I optimized the site, removed every plugin it could live without and moved it from a shared hosting to a VPS. I thought, maybe the shared hosting is the problem due to the "loud neighbors", I migrated the domain to Cloudflare to utilize the Caching and the DNS proxy.

Each change helped a little, but none of them fixed the real problem. The store still could not handle the traffic the ads brought in, and the owner still could not trust it on the days that mattered most. I spent countless hours trying to figure out what is wrong and to gain just a bit of performance until I rebuild the site.

What really worked in the end

I stopped patching WordPress, and left it optimized as much as it could be optimized and I started building a custom store in Laravel, designed around how iCase actually sells instead of assembled from plugins. The products, orders and ratings were imported from the old store, so the team did not have to enter anything again.

The difference was pretty big, you could see it right away, page loading almost instantly, unnecessary logic that Wordpress had was removed, there were no more bottlenecks and the client is happy. Ads are finally bringing money, not just spending it like previous website was, admin dashboard is more intuitive and customer can request for anything to be added without hunting for yet another plugin.

What the project included

Products and variants. Every case comes in several iPhone models and colors, each with its own stock and photos. Sets combine a case with a wallet or an AirPods case and are sold as one product.

A product page where the customer picks the iPhone model and color

Sales and discounts. Discounts on single products and on sets, sale prices shown next to the regular price, and coupon codes for campaigns.

Sets on the shop page, each with its own discount badge

Three countries, one store. Serbia, Bosnia and Herzegovina and Montenegro each have their own stock, their own currency and their own shipping prices.

Checkout and payment. Card payments through Raiffeisen bank. Customers who leave the checkout halfway are saved, so the team can call them back from a simple call-center screen.

Orders and delivery. Orders are sent to the delivery service automatically, and the delivery status comes back into the store on its own. The team gets a push notification for every new order.

Marketing. Product feeds for Meta and TikTok catalog ads, and the results of those ads for each country, shown right next to the store's own sales.

Reviews. Customers leave reviews after buying, and the team approves them before they appear on the site.

Admin dashboard. Sales, profit, best sellers, repeat customers and the conversion funnel in one place, plus an editable home page and search settings for every product.

Then: the dashboard, connected to Claude

Once the new store was running, the client asked for a way to check the business without opening the dashboard. I built an MCP server that connects the dashboard to Claude.

As the client asked, the connection is read-only. Claude can look up sales, orders, stock, coupons, reviews and ad results, but it cannot change anything, and it never sees customer addresses, emails or phone numbers. The owner simply asks, the same way they would ask a colleague or spend time clicking through the dashboard.

Questions the owner can ask, in plain words

  • “How much did we sell this month, compared to last month?”
  • “Which products are running low in Bosnia and Herzegovina?”
  • “How did the TikTok ads do this week?”
  • “Which coupons are active right now?”
How the ChatGPT and Claude connection works

Built with

  • Laravel
  • Lunar
  • Inertia.js
  • Vue.js
  • MCP server

Read more about this project

Laravel vs WordPress: why this store left WordPress

Need something similar for your business?

Tell me what slows you down today. I will reply within 24 hours with how I would solve it and what it would take.