Writing

Thoughts on WordPress, web development, and the tools I use.

Code Snippets

WooCommerce Order Emails Reply to the Wrong Person

WooCommerce sets the Reply-To on admin order emails to the customer. Here is how to change it so replies go to your team instead.

February 26, 2026 · 4 min read
Notes

I read The 48 Laws of Power, and It Changed How I See Every Workplace Interaction

I picked up The 48 Laws of Power by Robert Greene expecting a hustle-culture playbook. Instead, I got a 3,000-year history lesson on how power actually works in every workplace, every team, and every conversation. Here's what stuck with me and what I'd skip.

February 15, 2026 · 10 min read
Notes

What makes a WooCommerce plugin actually good? A Reviewer's Perspective on UX

Good UX is the fastest way to earn trust in WooCommerce.com. After reviewing many WooCommerce plugins, one thing is clear: UX matters more than most people expect. I share real, repeatable UX checks based on what I've seen during reviews that help plugins feel native and trustworthy from the first click.

January 16, 2026 · 6 min read
Code Snippets

Fixing Min/Max rules inside Product Bundles

I ran into a tricky case where Min/Max Quantities pushed its "Group of" rules onto bundled items, breaking the whole bundle flow. There was no UI switch to control it, so I traced both plugins' code, found the right filters, and wrote a snippet that fixes the product page, cart, and Store API in one go. The bundle now works as expected without changing how the standalone products behave.

December 3, 2025 · 3 min read
Code Snippets

How I stopped Product Add-ons from bypassing Sold Individually in WooCommerce

When Product Add-ons is active, the Sold individually setting stops working because each add-on configuration creates a unique cart item. This code snippet ensures products can only be added once per order, regardless of the add-on options selected.

September 11, 2025 · 3 min read
WordPress

How to use PHPCS with WordPress Coding Standards?

Learn how to install and run PHPCS with WordPress Coding Standards locally and in projects. From global setup to Composer scripts, you'll see how to keep your plugins and themes clean, consistent, and review-ready.

September 7, 2025 · 2 min read
WordPress

How to Set Up PHPStan for WordPress and WooCommerce?

Learn how to set up PHPStan for WordPress and WooCommerce with the right config, stubs, and bootstrap so it actually understands your code.

September 4, 2025 · 3 min read
Code Snippets

How to reset Variation Selections after adding to Cart in WooCommerce?

By default, WooCommerce doesn't reset selected variations after adding a product to the cart. Here's a simple snippet to automatically clear variation options for a smoother shopping experience.

September 3, 2025 · 2 min read
Notes

A new home for my writing

I bought a new blog domain every time my work shifted. After almost a decade of that pattern, shameemreza.com is where I finally stopped moving.

August 27, 2025 · 3 min read
Code Snippets

How to change Read More to Add to Cart for Bookable products?

By default, WooCommerce Bookings shows Read More instead of Add to Cart. Here's a simple code snippet to change that while keeping the booking flow intact.

August 18, 2025 · 1 min read