- Home
- Case studies
- Florist, local delivery
Fixing a cart that kept reloading before a theme launch
A florist’s new theme was ready, but their delivery date app made the cart flash and reload. The cause was inside the app’s own code, and one small change to the theme fixed it without touching the app.
- Client
- Local florist
- Market
- United States
- Platform
- Shopify, a theme migration with a delivery date app
- Role
- Hafiz Fahad Munir, sole developer
- When
- July 2026
- Status
- Live on the new theme, with the delivery app back on.

Background
A local florist in the US that depends on scheduled and same day deliveries. Customers choose a delivery date and time in the cart through a delivery app.
The owner had a new theme ready and hired Hafiz through Fiverr, hourly, to get it live.
The challenge
On the new theme, the delivery app’s date picker kept vanishing and the page kept reloading. To stop it the owner had switched the app off, which meant customers could not choose a delivery date, so the new theme could not launch.
What was built
- Traced the loop inside the app’s code. Its health check reloaded the page whenever its widget went missing, and its reload guard reset every time the widget came back, so the reloads never stopped.
- Found why only the new theme broke: its cart form had a different id, so the app’s fallback could not find where to put the widget.
- Added one stable placeholder the app could always mount into. No change to the app was needed.
- Moved the florist’s 4 custom order fields to the new theme, such as the occasion, the card message and notes for the florist.
- Built a same day delivery countdown that knows the order cut-off, skips weekends and stays right when daylight saving time changes.
- Wrote up the bug for the app’s own developers.

Testing
In testing, the cart reloaded 4 times in a row on the new theme. After the fix it reloaded 0 times, and the delivery date, time and store all reached checkout.
| What was measured | Result |
|---|---|
| Cart reloads in testing | 0, down from 4 |
| Custom order fields carried over | 4 |
| Changes needed in the delivery app | None |
Result
The new theme went live with deliveries working, and the delivery app is switched back on.
Built with
Liquid, JavaScript, Theme migration, Delivery app integration.