WordPress · Website building · Web development
Your site broke.
Here’s the fix.
Practical guides for the problems that actually stop a WordPress site: white screens, broken updates, themes that fight back. Written against a current install, tested before publishing.
Examples of WordPress theme layouts: a journal, a storefront and a studio site.
Topics
-
WordPress Tutorials
Step-by-step guides for getting things done in WordPress.
-
Troubleshooting
Fixes for the errors that take a WordPress site down.
-
Themes
Choosing, customising and replacing WordPress themes.
-
Plugins
Plugins worth installing, and the ones worth removing.
-
Website Building
Everything around the site itself: planning, launching, maintaining.
-
Website Tools
Reviews and comparisons of the tools site owners actually use.
Latest guides
-
woocommerce_product_get_price: Changing the Price WooCommerce Charges
The filter changes the price the cart charges, not just the one shown, but not for variations. Variations have their own filter, the variable price range has a third with a cache, and catalogue sorting ignores all of them.
-
woocommerce_order_status_changed: Arguments, Timing and Missed Events
The hook passes the order ID, the old status, the new status and the order, after the order is saved. It skips orders created as pending, reports pending for orders created in any other status, and the old status it reports is not always the one the order really had.
-
Fixing "You cannot add that amount to the cart" in WooCommerce
Two different stock checks produce the message: one for the quantity being added, one for that quantity plus what the cart already holds. Variations sharing the parent's stock and stock reserved by unpaid orders explain most of the surprising cases.
-
Fixing "Please choose product options by visiting" in WooCommerce
WooCommerce received an add to cart request for a variable product with no variation in it. The wording tells you where the request came from, and the fix is in whatever built the button or link.
-
Fixing "Sorry, no products matched your selection. Please choose a different combination."
The variation form found no published, priced variation for the options the shopper picked. On products with more than 30 variations the dropdowns stop filtering, so shoppers can pick combinations that were never created.
-
"Action Scheduler: past-due actions found" — Fixing the Queue
The notice appears when a pending action is more than a day overdue. It usually means the queue runner is not being triggered, and the fix is to give it a reliable trigger, not to delete the actions.