Writing
Thoughts on WordPress, web development, and the tools I use.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.