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/checkout/single/split/trigger_email
Type: Filter
Arguments: $status, $args
By default,...
The capability to Split...
Splitting Orders, is a...
The Synchronization procedure is...
When running multiple Shops, a WordPress MultiSite environment is the optimal way to go. That provides a lot of interconnectivity possibilities, at an astonishing speed.
Our WooCommerce Global Cart plugin implements key features to make everything a robust, fast render and flexible marketplace.
The WooCommerce Product Synchronisation is a new powerful functionality recently introduced. This is designed to help with product synchronisation between multiple Shops in the network.
This newly implemented functionality helps with displaying WooCommerce Products across shops, in the network, under your WordPress MultiSite environment. Promote specific products, types of merchandise, category of goods, so boosting overall network sales. The new function is available as a Woocommerce Product Shortcode and is easy to implement. Any section of a site can include the shortcode to output the required products. The woocommerce shortcode is usable within the default WordPress editor ( classic ) or any advanced layout composer like Elementor, Divi, Visual Builder etc.
WooCommerce Tax area provides...
Name: woogc/get_cart_from_session/validate_hash
Type: Filter
Arguments: $force_validation, $values
When reconstructing...
Incredibly flexible, the WooCommerce...
On the Synchronization screen...