Performance & Security

How to Exclude an Image From Jetpack Lazy Load

To exclude an image from Jetpack Lazy Load, filter jetpack_lazy_images_blacklisted_classes and add the CSS class of the image you want excluded — commonly used for a logo or above-the-fold image that shouldn’t wait to load and causes a visible layout jump. Why Some Images Shouldn’t Be Lazy Loaded The Filter Snippet Excluding Multiple Image Classes […]

How Many Products WooCommerce Can Handle Without Slowing Down

There’s no hard-coded limit on how many products WooCommerce can handle — stores with well over 100,000 products and thousands of transactions per minute run successfully on it. The real constraint isn’t the platform, it’s your hosting, database indexing, and how well your theme/plugins are optimized as your catalog scales. Why “How Many Products” Is […]

How to Disable a Plugin for Customers or Shop Managers in WooCommerce

You can disable a plugin for customers or shop managers in WooCommerce by calling WordPress’s deactivate_plugins() function conditionally on the init hook, based on the current user’s role — fully deactivating the plugin rather than just hiding its output. Why Disable a Plugin By Role Step 1: Toggle the Plugin By Role The plugin path […]

How to Fix Call to Undefined Function wc_get_order Error

To fix call to undefined function wc_get_order error, confirm WooCommerce is active and fully loaded before your code runs — since wc_get_order() and every other wc_* helper function is defined by the WooCommerce plugin itself, not WordPress core, calling it too early or without WooCommerce active always throws this fatal error. Why This Error Happens […]

Why WooCommerce Needs Custom Order Tables (HPOS)

WooCommerce needs custom order tables — known as High-Performance Order Storage (HPOS) — because storing order data in the shared wp_postmeta table creates a performance bottleneck at scale: every order insert becomes several separate meta queries instead of one efficient write to dedicated tables. Why the Old Storage Model Struggled What Custom Order Tables (HPOS) […]

How to Disable the Default WooCommerce CSS

You can disable the default WooCommerce CSS with a single filter that stops the plugin’s front-end stylesheets from being enqueued, letting you apply your own styles from scratch instead of overriding WooCommerce’s built-in classes. This is only recommended for a full custom design, since it strips styling from carts, forms, and notices too. Why You’d […]

How to Fix the upload_max_filesize Error in WooCommerce

To fix the upload_max_filesize error in WooCommerce, raise your server’s PHP upload limits — the fastest method on Apache hosts is adding a few php_value lines to your site’s .htaccess file, which increases the maximum file size PHP will accept for uploads like product images or CSV imports. Why This Error Happens Step 1: Edit […]

How to Increase the WordPress Memory Limit for WooCommerce

To increase the WordPress memory limit for WooCommerce, add define(‘WP_MEMORY_LIMIT’, ‘256M’); to your wp-config.php file — but the placement matters, since it must sit before the line that loads wp-settings.php or the constant is simply ignored. Why WooCommerce Needs More Memory Step 1: Edit wp-config.php Placement matters: this line must be added before the line […]

How to Fix the WooCommerce Cart Is Empty Issue

The WooCommerce cart is empty issue — where products are added but the cart page shows nothing — is almost always caused by caching, a session/cookie problem, or a plugin/theme conflict rather than a WooCommerce bug itself. Working through a short checklist usually finds the cause within minutes. Why the Cart Appears Empty Step 1: […]

How to Choose Free WooCommerce Plugins for Common Store Challenges

You can choose free WooCommerce plugins for common store challenges by evaluating each candidate against active install count, recent update history, support responsiveness, and whether the same result is achievable with a lightweight code snippet instead. Why a Careful Evaluation Process Matters Step 1: Check the Plugin’s Track Record In the WordPress.org plugin directory, check […]

Keep your WordPress site in safe hands

Monthly care plans with tested updates, security hardening, unlimited edits and development hours.

See maintenance plans Schedule a call

Schedule a call