1. Home
  2. Case studies
  3. 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.
The cart page with one bouquet, and beside it the occasion, card note, florist comments and safe place fields, then Shipping and Pickup buttons.
The cart on the new theme, with the florist’s 4 order fields carried over and the delivery app’s Shipping or Pickup choice in place. Captured 18 November 2026.

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.
Shipping chosen in the cart: the same day cut-off note and an open calendar for choosing the delivery date.
With Shipping chosen, the delivery app shows its cut-off times and the date picker. This is the widget that kept disappearing before the fix.

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.

Measured results
What was measuredResult
Cart reloads in testing0, down from 4
Custom order fields carried over4
Changes needed in the delivery appNone

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.

What can HFM Dev help with?

You will hear back within 24 hours.

Step 1 of 4
What can HFM Dev help with?