The Global Cart widget functionality provided by the plugin is maintained globally across all sites in the network and can hold any products. Within a shop, a customer can add the desired goods and continue to another site, while the cart still holds the previously added products. Eventually, everything will be checked out on a single process or separate, per plugin set-up.
Sample Global Cart Widget with products from different shops.
The WordPress WooCommerce Global...View More
When using Single Site Check-out type, the Global Cart is being processed at a specified shop in the network or one at the customer preference. All Products will be included in a single order created on the site where the check-out occurs.
On shop Networks, where the owner chose to use Shop Managers to allow individual sites to be run by individual users, when a new Order is created on the Check-out Shop, a notification e-mail might be required to...
Arguments: $mysql_query, $blog_id
The filter can be used to modify the MySQL query used by the Network Orders interface to output the orders from all shops.
The following code example shows only the orders for shop_manager roles, from shops where the user have access :
add_filter ( 'woogc/network_orders/get_orders/mysql_query/WHERE', '_custom_network_orders_mysql_query_WHERE_2', 10, 2 );
function _custom_network_orders_mysql_query_WHERE_2 ( $mysql_query, $blog_id )
The filter is being used to disable the Global Cart functionality. The Global Cart works as a unique cart for all shops in the MultiSite Network, a product pushed to the cart will be show on all other shops too.
add_filter( 'woogc/disable_global_cart', 'WooGC_Disable_GlobalCart');
function WooGC_Disable_GlobalCart ( $status )
The filter can be used to show the Network Orders interface to other shops in the MultiSite environment.
The following code example, show the interface for shops ID's 2 and 3:
function WooGC_show_network_orders( $status )
Arguments: $post, $column_name
The filter can be used to render data for a custom created column on SuperAdmin Orders interface.
The following example render html for column called Products
add_action('wogc/admin/manage_shop_order_column_data', 'custom_wogc_admin_manage_shop_order_column_data', 10, 2);
function custom_wogc_admin_manage_shop_order_column_data( $post, $column_name )
if ( $column_name != 'products')
The filter can be used to add new column on SuperAdmin Orders interface. To render code for a custom column see wogc/admin/manage_shop_order_column_data
The following example add a new column called Products
function custom_wogc_admin_manage_shop_order_columns( $columns )
By default, the WooCommerce checkout is designed to be as smooth as possible for your customers, this create a great benefit for shop owners as it increase the conversions. WooGlobalCart use the existing appearance and workflow to add it's code for checkout processing, so the user experience will not receive any negative impact whatsoever.
The WordPress WooCommerce Global Cart include the global shopping cart functionality which allows a customer to add products from different shops...View More
The filter is being used to change the $checkout_url for specific shops. As default this is being controlled through admin settings but can be adjusted to particular shops if need.
The following code change the checkout url to shop default when blog_id is 4:
add_filter( 'woogc/get_checkout_url', 'WooGC_get_checkout_url');
function WooGC_get_checkout_url ( $checkout_url )
The filter is being used to disable Single Sign-On functionality. Single Sign-On (SSO) is a property of login on all sites in a MultiSite environment, using a single/unique login procedure. This works independently if other sites use different domains, subdomains or subdirectories structure.
add_filter( 'woogc/disable_sso', 'WooGC_Disable_SSO');
function WooGC_Disable_SSO ( $status )