Blog / Case study

Case study: an online store for a Hawaii flower farm, with daily harvest limits and shipping rules built in

Published -
Read -4 min
Kind -Case study
By -Clay Vander Kolk
Case study: an online store for a Hawaii flower farm, with daily harvest limits and shipping rules built in

The situation

This is a small flower farm in Hawaii. They sell fresh-cut flowers, leis, and bulk orders for weddings and events, plus a little branded merchandise. Their customers are spread out: some on the same island, some on other islands, and a lot of them on the mainland.

Selling fresh flowers online is harder than it looks. A t-shirt can sit on a shelf for a month. A flower can't. The farm can only pick so many in a day, every order has to ship on a specific day to arrive fresh, and some delivery days are simply a bad idea. A flower box that sits in a warehouse over a weekend is a sad box.

The owners had a detailed list of rules for all of this. Rules like these are hard to squeeze into an off-the-shelf store builder, so I built them a store they fully own.

What they needed

  • A storefront with big photos that feels like the farm
  • Prices that drop per flower as the order gets bigger, shown live as the customer changes the quantity
  • A daily limit on flowers, tied to the date each order ships
  • Shipping that knows the difference between a same-day flight to a nearby island and a longer trip to the East Coast
  • Clear rules about which days can't work, and a way to handle the risky ones honestly
  • Merchandise that ships on its own, without any of the flower logic
  • An admin where they can see every order on a calendar and change prices and shipping without calling me

What I built

The store has shop and product pages, a cart, Stripe checkout, a page about the farm, shipping info, FAQs and reviews. Under the surface, every part of the store shares one set of rules and math, so a price or a delivery date can't disagree from one screen to the next.

Pricing. The per-flower price steps down at set quantities. Change the number on the product page and the price updates right there.

Inventory by date. Each ship date has a cap on how many flowers the farm can pick. When an order is placed, it reserves flowers from that date. If a customer starts checkout and never pays, a scheduled job cancels the order after an hour and puts those flowers back, so abandoned carts don't block real customers.

Shipping. Every product carries a "flower value," roughly how much space it takes. The store adds those up and packs the order into the smallest box sizes that fit, splitting into more boxes when it needs to. Each box has its own rate. Interisland orders fly the same day. Mainland orders work backward from the delivery date based on how long the trip takes to that region.

Delivery rules. Sunday shipping is blocked, because the couriers don't run. Other days, like a Saturday shipment to the East Coast, aren't impossible, just risky. For those, the customer sees a plain warning and can choose to accept the risk.

Reviews. After an order, customers get an email with a private link to leave a review. Only real buyers can review, and the farm approves each one before it appears.

Admin. An order calendar, orders, per-date inventory, products, reviews, and a pricing and shipping settings page. Every number above (price tiers, box sizes and rates, lead times, the daily cap) lives in settings the owners can edit.

One decision I'm proud of

The spillover rule. Sometimes a big order needs more flowers than are left for its ship date. Instead of saying "sold out," the store can draw from the previous day's unused flowers to cover the difference, and the owners can turn that on or off.

It's a small thing in the code. But it's how the farm actually works, and it means a wedding order isn't turned away just because of how the numbers fell on one day.

The results

The scores below were measured with Google PageSpeed (mobile) on the new store.

  • First check: performance 75, with the main content taking 12.8 seconds to appear on a phone
  • Most recent check, after two rounds of image work: performance 89, with the main content showing in 3.8 seconds
  • SEO and best practices: 100 on every check
  • Accessibility: 96 on every check

The image work was nothing fancy. The top photo went from a 1.5MB file to a 322KB one, and then to a 149KB crop made just for phones. The logo went from 527KB to 36KB. Fourteen photos further down the page went from 6.0MB to 1.9MB combined, with no change to how they look.

Just as important, the rules hold up. In testing, live pricing, shipping quotes, blackout days, risk warnings and spillover all behaved the way the farm's written rules said they should.

What this means for your business

  • If your product is perishable, your store should know it. Dates, limits and shipping windows can be built in, so you aren't fixing orders by hand after they come in.
  • Write your rules down. The farm's list of rules was one of the most useful things in this project. If you can describe how your business works, a store can follow it.
  • Keep the numbers in your hands. Prices and shipping rates change. You shouldn't need a developer to update them.
  • Big photos need care. Real photos sell a farm, but they have to be sized for phones or they'll slow everything down.

Thinking about something similar?

If you sell something that doesn't fit neatly into a standard store builder, I'd love to hear about it. You can run a free check of your current site at mewebsites.com/audit, or tell me what you're working on at mewebsites.com/start. No pressure. Sometimes just talking through your rules is a good first step.

All posts ↗

Any size. Small businesses and startups especially welcome

Get found on Google

Start a projectGet a free site audit