Skip to content

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.

A WordPress multisite running WooCommerce on each subsite is a recurring request from agencies and enterprises. The pitch is appealing: one WordPress install, N stores, central user management, shared theme. The reality is more constrained. WooCommerce technically runs on multisite (it has been officially supported since 2014), but the design assumes per-site tables, the licensing tier for many WooCommerce extensions is per-network, and shared cart between subsites does not exist out of the box. The decision is rarely “WooCommerce on multisite” — it is “which constraints can we live with.”

What’s happening

In a WordPress multisite, each subsite gets its own set of tables prefixed by the site ID: wp_2_posts, wp_2_postmeta, etc. The network shares:

  • wp_users and wp_usermeta (network-wide users)
  • wp_blogs, wp_signups, wp_site (network metadata)
  • A few core options

WooCommerce respects this. Each subsite has its own wp_<id>_posts with shop_orders, its own wp_<id>_woocommerce_* tables, its own products. HPOS tables (wc_orders, etc.) are likewise per-subsite-prefixed.

What this means in practice:

  1. Customer accounts are network-wide. A customer who signs up on subsite 2 has a wp_users row that subsite 3 can see. Order history, however, is per-subsite.
  2. Orders, products, settings are per-subsite. No cross-site reporting unless you build it.
  3. Plugin licenses. Most paid WooCommerce extensions license per site, not per network. WooCommerce Subscriptions, Memberships, Bookings — each requires a license per subsite or a “multisite” tier (often more expensive).
  4. Shared cart is not built in. A logged-in user with items in subsite-2’s cart sees an empty cart on subsite-3. A few plugins claim shared-cart functionality; most have caveats.
  5. Network admin sees nothing useful for WooCommerce. No “all orders across the network” view. Network admin is for users and plugins, not for store data.

The patterns we see work:

  • Agency builds 10 small stores under one multisite. Each store has its own owner. Manageable.
  • Enterprise with multiple regional brands. Each brand is a subsite. Shared user base for marketing CRM. Reporting handled externally (via REST API to a data warehouse).

The patterns that break:

  • “One catalog, many storefronts.” Multisite does not share products. You need separate plugins for that (Multi-Vendor Marketplace, or custom).
  • “Shared cart across subsites.” Possible with effort, fragile in practice.
  • “Network-wide reporting in WooCommerce admin.” Does not exist.

How to verify

# Is multisite enabled?
wp config get MULTISITE
wp config get WP_ALLOW_MULTISITE

# How many subsites?
wp site list --format=count

# Per-subsite WooCommerce inventory
for blog_id in $(wp site list --field=blog_id); do
  echo "Subsite $blog_id:"
  wp wc product list --format=count --url=$(wp site list --field=url --field=blog_id | grep "^$blog_id" | awk '{print $2}')
done

# Network-active plugins (vs per-subsite)
wp plugin list --network --format=table

# WooCommerce specifically — network-active?
wp eval 'echo is_plugin_active_for_network("woocommerce/woocommerce.php") ? "network" : "per-site";'

# Per-subsite HPOS state
wp eval 'echo get_option("woocommerce_custom_orders_table_enabled");' --url=https://store1.example.com
wp eval 'echo get_option("woocommerce_custom_orders_table_enabled");' --url=https://store2.example.com

# Shared user table check — count customers vs subsites
wp user list --role=customer --format=count

# Per-subsite session count
for blog_id in $(wp site list --field=blog_id); do
  echo -n "Subsite $blog_id sessions: "
  wp db query "SELECT COUNT(*) FROM wp_${blog_id}_options WHERE option_name LIKE '_wc_session_%'"
done

The most useful single signal is the per-subsite HPOS state. Multisites often drift — one subsite is HPOS-authoritative, another is sync-mode, a third is still legacy. This is a maintenance nightmare. Pick one and align.

The fix

  1. Network-activate WooCommerce, not per-subsite activate. This ensures each new subsite gets WooCommerce and the schema is created on subsite creation.
  2. Standardize HPOS state across the network. Use a network-admin script that runs once across all subsites:
    for blog_id in $(wp site list --field=blog_id); do
      URL=$(wp site list --field=url | sed -n "${blog_id}p")
      wp option update woocommerce_feature_custom_order_tables_enabled yes --url=$URL
      wp option update woocommerce_custom_orders_table_data_sync_enabled yes --url=$URL
    done
  3. License paid WooCommerce extensions deliberately. Either pay for multisite tiers or limit them to specific subsites. Document which subsite has which paid extension to avoid surprise license-violation emails.
  4. Per-subsite session storage in Redis. Redis-based sessions scale much better than per-subsite DB sessions across a multisite. Use Object Cache Pro or the free Redis Object Cache plugin and confirm sessions are namespaced by blog_id:
    redis-cli KEYS "wp:transient:_wc_session*" | head -10
  5. Build cross-subsite reporting externally. Push WooCommerce data via REST API or a scheduled WP-CLI export to a data warehouse (BigQuery, Snowflake) or a BI tool. Do not try to build cross-subsite reporting inside WordPress — multisite was not designed for it.
  6. Document per-subsite payment-gateway accounts. If subsites use different Stripe / PayPal / Square accounts (common for separate regional brands), document which subsite is connected to which gateway account. Mix-ups are expensive.

For the broader WordPress multisite operational baseline, the existing cpwp-multisite-on-cpanel-setup and wp-ms-domain-mapping-core-config articles are the foundation. Pair with enterprise WordPress hosting operations for the multi-store governance.


Stack Harbor runs WordPress WooCommerce on multisite under enterprise WordPress hosting — the network activation pattern, the HPOS alignment, and the cross-subsite reporting layer. If you are running multiple WooCommerce subsites and reporting / licensing / cart is becoming a problem, we can audit and align.