Global Cart

Global Cart for WooCommerce implements a unified WooCommerce cart, checkout, and login across a WordPress Multisite, giving customers one account and a persistent cart, seamless purchasing across subsites, and administrators centralized users, orders, reporting, and support management.

Installation

↑ Back to top

To start using a product from WooCommerce.com, you can use the โ€œAdd to storeโ€ functionality on the order confirmation page or the My subscriptions section in your account.

  1. Navigate to My subscriptions.
  2. Find the Add to store button next to the product youโ€™re planning to install.
  3. Follow the instructions on the screen, and the product will be automatically added to your store.

Alternative options and more information at:
Managing WooCommerce.com subscriptions.

Adding a WooCommerce.com subscription to your store

Plugin Requirements

↑ Back to top

The plugin does not require any special server configuration and can run on any standard WordPress-compatible hosting environment.

A WordPress Multisite installation is required. The plugin supports subdomain, subdirectory, and mapped domain ( TLD domains ) configurations. For more details, see Setting up different domains for shops within the same Multisite environment.

WooCommerce must be installed and active on at least the main (primary) site. It is not mandatory to activate WooCommerce on all network sites; administrators may enable it only on selected shops, according to their needs.

Server requirements are minimal. The plugin is compact, well-optimized, and designed for fast execution. It consumes no more resources than a small plugin and accounts for less than 5% of WooCommerceโ€™s execution time. Any server capable of running WordPress will run this plugin reliably.

No core file modifications are required. All functionality is implemented using WordPress and WooCommerce actions and filters, ensuring maximum compatibility with other plugins and custom code.

To be included in the pluginโ€™s processes, each shop must have its Public attribute enabled.

Plugin Settings Overview

↑ Back to top

Once activated, the plugin adds a settings page to the Super Admin Network Dashboard at:

Settings โ†’ WooCommerce Global Cart

This page is accessible only to Super Admin users and serves as the central location for configuring all plugin features.

Checkout Type

↑ Back to top

Because the cart operates globally across all shops in the network, multiple checkout strategies are supported to match different business requirements. Two checkout types are available:

Single Checkout
All products in the global cartโ€”regardless of their originating shopโ€”are purchased in a single checkout process. Payment is collected in full during one transaction. The checkout can take place on a predefined site or, optionally, on a site selected by the customer (see Cart Checkout Location).

Each Store Checkout
Each shop processes its portion of the cart independently. After checkout, every store receives its own order and payment. There are no restrictions on payment methods; each shop may configure and use its own payment gateways.

Cart Checkout Location

↑ Back to top

This setting determines where the checkout process takes place when customers add products from multiple shops.

Checkout can be completed:

  • On any shop, or
  • On a specific, fixed shop selected by the administrator

When checkout is completed, the resulting order is created in the shop where the checkout occurs. If a fixed checkout location is configured, all orders will always be created in that shop.

This option is applicable only when Checkout Type is set to Single Checkout.

Sequential Order Numbers

↑ Back to top

This option enforces a unified, sequential order numbering system across the entire WooCommerce Multisite network. Orders receive consecutive IDs regardless of the originating shop, ensuring consistency and clarity in order management.

Sequential Order Numbers are especially useful when the checkout location is not fixed, as they maintain continuity across all transactions. This feature simplifies order tracking, reporting, and processing, and is strongly recommended for multi-shop environments.

Enable Products Synchronization Interface

↑ Back to top

When enabled, this option activates the Products Synchronization interface, allowing product data to be synchronized across multiple WooCommerce shops.

Synchronized data may include:

  • Inventory levels
  • Pricing
  • Product attributes

This feature reduces manual management, minimizes errors, and ensures consistent product information across all stores. Customers benefit from accurate, up-to-date product data regardless of which shop they are browsing.

For more details, see Synchronizing WooCommerce Products Across WordPress Multisite Shops.

Replace Cart Products with Origin Version

↑ Back to top

When this option is enabled, any product added to the cart from a different shop is automatically replaced with its original (source) version, regardless of product synchronization settings.

This guarantees that pricing, inventory, and attributes always reflect the primary product data. It ensures consistency across the network and simplifies administration in multi-shop setups.

Replace Cart Products with Local Version

↑ Back to top

This option automatically replaces synchronized products in the cart with their local equivalents, when available in the current shop.

Product matching is performed using SKU comparison, and substitutions only occur between products of the same type. This ensures data integrity while optimizing checkout and inventory handling. The result is a smoother customer experience and more efficient stock management across the network.

Use Global Cart for Selected Sites

↑ Back to top

The Global Cart can be enabled only for specific sites selected by the administrator. WooCommerce must be installed and active on each designated shop.

If WooCommerce is missing or temporarily unavailable on a site, WooCommerce Global Cart will automatically skip that shop.

Individual shops can also be programmatically excluded using the following filter:

woogc/disable_global_cart

Troubleshooting

↑ Back to top

My Account Orders Compatibility

The My Account โ†’ Orders section displays orders from all connected shops, allowing customers to view their full order history from any site. However, some themes are not designed to handle orders from multiple shops and may show empty results or trigger fatal errors, such as:

Fatal error: Uncaught Error: Call to a member function get_item_count()

This occurs when the theme assumes orders belong to the current shop and fails to switch context when rendering orders from other sites.

The issue can be resolved with a small, safe adjustment (just two additional lines of code) in the My Orders template. This ensures the correct shop context is used, allowing WooCommerce to retrieve order items and metadata properly.

If you have questions not covered in this area, see our detailed Documentation. Oterwise pleaseย Contact Support. Our amazing Happiness Engineers are standing by and ready to answer any questions about Global Cart for WooCommerce in general.

FAQs

↑ Back to top

Help customers by answering commonly asked questions.

What are the WordPress requirements?

  • The plugin requires a WordPress Multisite environment to function properly. It will not run on a standard single-site installation; see the Global Cart for Single Site instead.

Do I need special server requirements for the plugin to run?

  • No special server configuration is needed. The plugin is lightweight and optimized for performance, so it can run smoothly on virtually any hosting environment. As long as WooCommerce is functioning correctly on your server, Global Cart for WooCommerce will work seamlessly. This makes it compatible with shared hosting, VPS, or dedicated servers without any additional setup.

Can I use different TLD domains for my shops?

  • Yes! You can assign a unique custom domain (TLD) to each shop in your network, giving you full flexibility to brand each store individually. This means you are not limited to the default WordPress Multisite structure using subdomains or subdirectories. Whether you want completely separate domains for marketing purposes or to match specific regional stores, the plugin makes it easy to implement and manage multiple domains without any additional coding.

My Account page shows an error when viewed on the frontend, what can i do ?

  • This issue is related to the template and occurs because the default WooCommerce/Theme template cannot display orders originating from other shops in the network. Resolving this requires adding just two lines of code to the template.ย For step-by-step instructions and the exact code snippet, please refer to this article, which guides you through the fix. Once applied, the My Account page will correctly display all orders across the network.

Iโ€™m looking for a specific feature adjustment. Can you help?

  • Absolutely! Start by checking our How-To Documentation, which includes numerous articles covering the most popular customizations and feature adjustments. If you donโ€™t find what you need there, feel free to reach out directlyโ€”weโ€™re happy to assist with guidance or provide solutions tailored to your specific requirements.

Something isnโ€™t working correctly after installing the plugin. Can you help?

  • Absolutely! Our dedicated support team is here to assist you and ensure the plugin works perfectly on your site. Simply reach out, and one of our technicians will guide you through troubleshooting, provide solutions, or help configure the plugin to meet your needs. Weโ€™re committed to making sure your setup runs smoothly and efficiently.

Related Products

Offer add-ons like gift wrapping, special messages or other special options for your products.

Add shipment tracking information to your orders.