a
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudanti.
a
Follow Me
Search
Usage Archives - WooCommerce MultiSite Global Cart
304
archive,tax-documentation_tag,term-usage,term-304,theme-awake,cookies-not-set,eltd-core-1.1,woocommerce-no-js,awake child-child-ver-1.0.0,awake-ver-1.0,eltd-smooth-scroll,eltd-smooth-page-transitions,eltd-mimic-ajax,eltd-grid-1200,eltd-blog-installed,eltd-default-style,eltd-fade-push-text-top,eltd-header-standard,eltd-sticky-header-on-scroll-down-up,eltd-default-mobile-header,eltd-sticky-up-mobile-header,eltd-menu-item-first-level-bg-color,eltd-dropdown-slide-from-top,eltd-,eltd-fullscreen-search eltd-search-fade,eltd-side-menu-slide-from-right,wpb-js-composer js-comp-ver-6.0.3,vc_responsive

Send email notification to Shop Owner, if a product was checked-out on a different site

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...

View More

woogc/network_orders/get_orders/mysql_query/WHERE

Name: woogc/network_orders/get_orders/mysql_query/WHERE Type: Filter 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 ) { ...

View More

woogc/disable_global_cart

Name: woogc/disable_global_cart Type: Filter Arguments: $is_disabled 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 ) { ...

View More

woogc/show_network_orders

Name: woogc/show_network_orders Type: Filter Arguments: $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: add_filter('woogc/show_network_orders', 'WooGC_show_network_orders'); function WooGC_show_network_orders( $status ) { global $blog_id; ...

View More

wogc/admin/manage_shop_order_column_data

Name: wogc/admin/manage_shop_order_column_data Type: Action 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') ...

View More

wogc/admin/manage_shop_order_columns

Name: wogc/admin/manage_shop_order_columns Type: Filter Arguments: $columns 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 add_filter('wogc/admin/manage_shop_order_columns', 'custom_wogc_admin_manage_shop_order_columns'); function custom_wogc_admin_manage_shop_order_columns( $columns ) { $columns['products'] =...

View More

Choose from Checkout Type options – Single Checkout / Each Store (Split check-out)

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

woogc/get_checkout_url

Name: woogc/get_checkout_url Type: Filter Arguments: $checkout_url 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 ) { ...

View More

woogc/disable_sso

Name: woogc/disable_sso Type: Filter Arguments: $is_disabled 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 ) { ...

View More

Display the Product Title along the Shop Name where it come from the network

Using the WooCommerce Global Cart all shops in the network will share the same cart, products from different sites can be added and checked-out in a single process. To make cart content more descriptive and clearer to the customers, a shop name can be append to each product title, to indicate the location where the product come from. Also other necessarily information's can append if apply. The following bit of code append the origin Shop name, to each product title...

View More