Vlad Ilie
Măslinescu® — a WooCommerce olive-oil shop with its own ops room
WooCommerce · Ops · ongoing

Măslinescu® — a WooCommerce olive-oil shop with its own ops room

maslinescu.ro ↗
1 week ago
•••
4 min read

Context

Măslinescu® sells olive oil online at maslinescu.ro and in a physical store. The shop runs on WooCommerce with HPOS enabled and a custom theme I've been building since April 2024. In 2026 the work moved from the theme to a set of dedicated plugins, each with its own repository, tests and deploy pipeline.

The problem

A growing store gets fragile in quiet ways. A PHP fatal on checkout or an order email that never arrives costs sales, and usually nobody notices until a customer calls. At the same time the business wanted more from the shop itself: a loyalty program that works both online and at the till, richer reviews, and tools the team can manage without asking a developer.

What I built

Under the hood

Every plugin is namespaced and passes composer check: PHPCS with WordPress Coding Standards, PHPStan level 5 and PHPUnit with WP_Mock. GitHub Actions runs the checks, builds a clean dist/ and deploys stage to staging and main to production.

For operations, a small mu-plugin sends every event to Loki and only errors to Slack, keeping labels low-cardinality and personal data out of indexed fields. Grafana and Prometheus run in Docker behind a Cloudflare Tunnel, with dashboards provisioned from files. The same server also hosts the store's Typesense search.

Result

Problems now show up in Slack before they reach customers, orders update themselves as parcels move, customers get product advice at any hour, and store purchases finally count in the same loyalty program as online orders. Every change ships through the same checks and the same pipeline, which makes a fast-moving shop much safer to change.

Stack

WordPress, WooCommerce (HPOS), PHP, WooCommerce REST API, Action Scheduler, WP-CLI, Fan Courier API, Cloudflare Workers, Turnstile, Bunny Storage & Stream, Grafana, Loki, Prometheus, Docker, Cloudflare Tunnel, GitHub Actions.

Technologies:

  • WooCommerce
  • PHP
  • REST API
  • Fan Courier API
  • Cloudflare Workers
  • Grafana
  • Loki
  • GitHub Actions

Share on: