Stop chasing bugs with a better WordPress event management system
Had a client come to us with a site that was a total mess. It had years of custom code from different developers, and things…
Had a client come to us with a site that was a total mess. It had years of custom code from different developers, and things…
A WooCommerce coupon worked for regular customers but failed for wholesale ones. Deactivating plugins got me nowhere; stepping through the code with Xdebug found a role-check bug in about 15 minutes.
A WooCommerce sales widget kept timing out because it stacked nested foreach loops. Swapping them for array_filter, array_map, and array_reduce made the code fast and readable.
Editing one English button label broke the German, French, and Spanish translations. Using stable keys as placeholders, plus an en_US fallback, keeps that from happening.
A one-line shipping tweak would have broken inventory reporting and a homepage shortcode. Tight coupling and low cohesion are why, and here’s how to structure the code instead.
I was working on a WooCommerce plugin for a client to sync their product inventory with a third-party API. Total classic scenario. The problem was,…
I got a call from a client running a pretty complex WooCommerce store. Their shipping logic was a mess. They had all these rules for…
Got a call from a client last week. They’ve got a WooCommerce extension that’s starting to get popular, but its settings page was buried under…
Got a call from a client last week. They’d just moved their big WooCommerce site to SSL, did the whole search-and-replace for the new URL,…
Got a call from a long-time client last week. Absolute panic. They’d just run a routine batch of plugin updates, and suddenly their shipping calculator…