Writing

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

Notes Code Snippets WordPress Resources Development Bangla
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 · 4 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 · 5 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 · 4 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 · 4 min read
Code Snippets

How to show Product Global ID in WooCommerce Order Details and Quick Preview?

WooCommerce doesn't show product GTIN/UPC/ISBN in order details or quick previews by default. Here's a simple snippet to show GTIN/UPC/ISBN alongside SKUs in the admin order page.

August 6, 2025 · 5 min read
WordPress

How to show company names in the WooCommerce orders list

WooCommerce shows the customer's name in the orders list by default. For B2B stores, that isn't what you want to see. Here's the filter that swaps it for the billing company name, with a fallback to the customer name when the field is empty.

July 8, 2024 · 7 min read
Code Snippets

How I skip the cart and send customers straight to checkout in WooCommerce

A practical guide to skipping the WooCommerce cart page and redirecting customers straight to checkout, based on real project experience.

May 10, 2024 · 4 min read
WordPress

How I upload and update a WordPress plugin on WordPress.org using SVN

A real-world guide to uploading and updating WordPress plugins on WordPress.org using SVN on macOS, based on lessons learned and real mistakes.

May 3, 2024 · 4 min read
Code Snippets

How to enable Products Revisions in WooCommerce? (So You Can Undo Mistakes)

How to enable product revisions in WooCommerce so you can track changes and restore older product versions when something goes wrong.

January 8, 2024 · 4 min read
Resources

Change nameservers at OVHcloud to point your domain at WordPress.com

A step-by-step guide to updating DNS nameservers at OVHcloud to point your domain to WordPress.com, including domain mapping and verification.

May 8, 2023 · 4 min read