65 articles
Knowledge Base
WooCommerce
65 articles in the WooCommerce category · page 2 of 3.
- Slow WooCommerce shop and category pages: catalog performance at scale Why the WooCommerce shop page and product category archives take seconds on a store with 5,000 to 50,000 products — how to capture the real catalog query, read its EXPLAIN, and move sorting onto wc_product_meta_lookup.
- WooCommerce product filters: attribute, price and faceted filtering that scales How WooCommerce product filtering actually works — the filter_ query vars, pa_ attribute taxonomies, the price lookup table and layered nav count transients — plus why filtered pages break page caching and when to move to an index.
- WooCommerce stock management and backorders: the settings that decide what customers can buy A working guide to WooCommerce stock management and backorders — the Inventory settings screen, per-product versus per-variation stock, the three backorder modes, Hold stock (minutes), and a WP-CLI audit for the whole catalog.
- WooCommerce block checkout custom fields with the Additional Checkout Fields API Your woocommerce_checkout_fields filter stopped working because the Checkout block never calls it. Register custom fields with WooCommerce's Additional Checkout Fields API instead, then read the value back off the order.
- WooCommerce refunds: automatic vs manual, partial amounts, tax and restock An automatic WooCommerce refund calls the payment gateway and money actually moves; a manual one only records it. Do partial and line-item refunds correctly, restock only when you should, and reconcile against the gateway.
- WooCommerce tax rates for a Canadian store: GST, HST and Quebec's QST How to configure WooCommerce tax rates for a Canadian store so GST, HST and QST land on the right orders — the settings that decide everything before you touch a rate, the Priority column that quietly drops QST, and the CSV path for all thirteen provinces.
- WooCommerce variable products and attributes: global vs custom attributes Set up WooCommerce variable products with global attributes so filtering, faceting and reporting still work at 500 SKUs — the data model, per-variation price and stock, and how to convert custom attributes you already shipped.
- WordPress WooCommerce tax setup — US sales tax, Canadian GST/PST/HST, EU VAT WordPress WooCommerce tax configuration for US sales tax, Canadian GST/PST/HST, and EU VAT MOSS. The pitfalls — nexus calculation, place of supply rules, and reverse charge.
- WooCommerce cart fragments: why wc-ajax=get_refreshed_fragments is eating your server The get_refreshed_fragments request skips the page cache and boots WordPress on nearly every visit. Prove it from the access log, pick one of four honest fixes, and verify add to cart still works afterwards.
- WooCommerce Checkout block vs shortcode: decide, test, and roll back The Checkout block is a Store API front end that never runs woocommerce_checkout_fields or your classic checkout hooks. Inventory what the shortcode page depends on, test the block on staging against a gateway sandbox, then decide with a rule instead of a hunch.
- WooCommerce overselling: the stock race condition that sells the last unit twice A WooCommerce store with stock management on can still oversell during a drop. Confirm it from the order records, find the layer at fault — stale cache, direct _stock writes, MyISAM, a late gateway callback — and fix it in the order that matters.
- WooCommerce "New order" email never reaches the store owner The buyer gets their receipt and the shop gets nothing. Start at the order status — a pending or failed order was never due an admin notification — then work the Recipient(s) field, the wp_mail() call, and the MTA log in that order.
- WooCommerce add to cart not working: a triage runbook for a store losing orders The button spins, does nothing, or adds an item that vanishes a second later. Work the four layers in order — front-end script, AJAX route, product config, session and cookie — with devtools, WP-CLI and SQL, and close the incident with cache rules that hold.
- Importing WooCommerce products from CSV: variations, images, and the columns that matter The WooCommerce product CSV importer explained column by column — variable parents and their variation rows, Images side-loading, Categories hierarchy, batch size and timeouts, plus the encoding traps that mangle a French-locale export.
- WooCommerce payment methods not showing at checkout: a diagnosis that ends in a fix The gateway is installed and enabled but the customer sees no payment option. Work the causes in the order they actually occur, from a zero-total cart to a Checkout block with no gateway integration, using WP-CLI and the browser console.
- Overriding WooCommerce templates in your theme safely How wc_get_template resolves a path, how to copy a single WooCommerce template into your child theme without breaking upgrades, and how to clear the outdated-templates warning in WooCommerce Status.
- Cloudflare APO breaking the WooCommerce cart: stale mini-carts and empty checkouts APO caches full HTML at the edge, and WooCommerce carts are the first thing to go strange — wrong item counts, carts that empty themselves. What APO bypasses by default and where stores still get burned.
- WooCommerce edge caching on Cloudflare Free/Pro without APO: the bypass-cookie recipe You can cache WooCommerce HTML at the Cloudflare edge without paying for APO — if the bypass rules for cart cookies and checkout paths are exactly right. The full Cache Rules recipe, with verification.
- WordPress WooCommerce coupon code conflicts — stacking, exclusions, and audit WordPress WooCommerce coupons interact in subtle ways under stacking, exclusion lists, and per-customer limits. The audit that finds the discounted-to-zero order before it ships.
- WordPress WooCommerce on multisite — what works, what does not WordPress WooCommerce on multisite has real constraints — separate databases per site, network-shared user table, and the licensing trap. The patterns that work and the ones that break.
- WordPress WooCommerce reporting accuracy — when the dashboard lies WordPress WooCommerce reports sometimes show numbers that disagree with the accounting export. The audit — refunds, partial refunds, status transitions, and the wc_order_stats table.
- WordPress WooCommerce abandoned cart workflows and plugin picks A WordPress WooCommerce abandoned-cart workflow that actually recovers revenue: schema, trigger logic, transactional vs marketing send paths, and a short list of plugins that hold up under load.
- WordPress WooCommerce HPOS migration — operational checklist A WordPress operator checklist for WooCommerce High-Performance Order Storage: plugin compatibility audit, sync mode soak, the WP-CLI commands, and the cutover dry run.
- WordPress WooCommerce email delivery — the special case WooCommerce sends order, refund, and shipping emails that customers absolutely need to receive. Here are the WooCommerce-specific delivery patterns and the diagnostic that most stores need.