Start a project
All WordPress sites

WooCommerce shop

Morsel

A portion calculator that knows when the bag runs out.

morselshop.ir Morsel's home page: “How much should your dog eat?” beside a blue enamel bowl and a weigh label showing 219 g a day and 27 days per bag. Open full size

The job

A pet food shop that sells by the gram. Most owners don't know how many grams their dog needs, or how long a bag will last. The shop wanted to answer both before the cart, and to be back in touch when the food runs low.

The feature

Pick dog or cat, then weight, age and activity. The page works out grams a day, and for every bag size how many days it lasts and the date it runs out. The size you pick follows you to the food list and the product page, so the price you see is the price for your pet.

Try it on the live site Drag the weight slider and watch the grams a day and the run-out date change.

The owner's side

After the order, the buyer can give the pet's weight. The shop then plans an email five days before each bag runs out. The owner sees every planned reminder on one screen, can preview it in the customer's language, and send it early.

morselshop.ir/wp-admin Morsel's Reminders screen in the WordPress admin: bags running out soon, reminders waiting, and a list of customers with their pet, food, run-out date and a Send now button. Open full size
morselshop.ir/wp-admin Morsel's card-to-card screen: a to-do list of orders waiting for payment, each with a Text the card number button. Open full size

Two languages

English at the main address, Persian at /fa/, right to left, with the Persian calendar. Prices are stored once in euros and shown in Toman on the Persian side. No translation plugin: the site reads the language from the address.

morselshop.ir/fa/ Morsel's home page in Persian, laid out right to left. Open full size

How it's built

  • A theme coded by hand: plain PHP, CSS and TypeScript
  • Every feature in its own plugin, so a new theme won't break them
  • WooCommerce changes that work in both the classic and the block checkout
  • Scheduled emails, sent in the language the order was placed in
  • Bag pictures drawn in code from each product's colours
  • Fonts stored on the site: no Google requests, nothing to slow it down

The scores

96
Speed
100
Accessibility
100
Best practices
100
SEO

Google Lighthouse, phone setting, English home page, 29–30 Oct 2026. Out of 100.