Show product shop within order dashboard
When Check-out being set as Single Checkout the Order include all products in the cart, even if they are coming from different shops. To make easy to identify which product is coming from what shop, a small piece of code can be used.
add_action('woocommerce_before_order_itemmeta', 'custom_woocommerce_before_order_itemmeta', 99, 3);
function custom_woocommerce_before_order_itemmeta( $item_id, $item, $product )
{
$meta_blog_id = $item->get_meta('blog_id');
if ( empty ( $meta_blog_id ) )
return;
$site_data = get_blog_details( $meta_blog_id );
?>
Shop <a href="<?php echo $site_data->siteurl ?>"><?php echo $site_data->blogname ?></a>
<?php
}
The results appear like this:

The above code should be placed inside a custom plugin or within mu-plugins.
Related Posts
Name: woogc/ps/interfaces/synchronize_to_sites
Type: Filter
Arguments: $sites
The filter...
When utilizing the Single...
WPGlobalCart is a powerful WooCommerce plugin designed to streamline e-commerce operations within a WordPress MultiSite network. It offers a range of tools and features that simplify product management, making it an essential tool for businesses with multiple online stores.
Product Synchronization Made Easy
One of the standout features of the WPGlobalCart plugin is its user-friendly and efficient approach to product synchronization. Managing a diverse range of products across multiple websites within a WordPress MultiSite network can be a complex and time-consuming task. However, WPGlobalCart streamlines this process, offering a set of tools and features that make product synchronization a breeze.
Starting version 3.8.5 WP Global Cart received a new functionality called “Replace the Cart Products with local version”.
The “Replace the Cart Products with local version” feature enhances the shopping experience for customers who are using the WP Global Cart plugin in a WordPress MultiSite environment. This feature specifically addresses situations where a product in the shopping cart is available in the current store.
Name: woogc/ps/synchronize_product/ignore_meta_key
Type: Filter
Arguments: $IgnoreMeta, $prop_title,...
Name: woogc/checkout/single/split/trigger_email
Type: Filter
Arguments: $status, $args
By default,...
The capability to Split...
Splitting Orders, is a...
The Synchronization procedure is...