Little help to make this work in buddypress and multisite

Hello guys!!

It's me again.

Well, I have some problem I really need WPMUDEV`s help.

I purchased a plugin called Woocommerce for BuddyPress, with this plugin I can build a E-commerce Social Network, but what I need is something different 'cause I'm running a BuddyPress+Multisite project, and basically this plugin works just with buddypress.

Tried to install the plugin in a Multisite network with buddypress as the main site, and the plugin created integration to woocommerce work with buddypress, so when the user make a review of some product it publishes a notification on the user`s activity stream like:

Userx posted a review about the Product X.

And when the user purchases some product it posts:

Userx purchased the Product X.

And the product X is a link to the product page. To my hapiness the review feature works in multisite, so, when user posts a review about a product in any site of my network it get's posted to the users's acivity stream.

But the purchase part does not work in multisite...

In fact I really would like it to be posted like this:

Userx purchased the Product X on the blog X.

But as I said, the purchase part does not work in multisite at all...

I found the code part of these funcionalities:

/**
* Adds an activity stream item when a user has written a new review to a product.
*
* @since unknown
*
* @uses bp_is_active() Checks that the Activity component is active
* @uses bp_activity_add() Adds an entry to the activity component tables for a specific activity
*/
function bpshop_new_review_activity( $comment_id, $comment_data ) {
if( ! bp_is_active( 'activity' ) )
return false;

// Get the product data
$product = get_post( $comment_data->comment_post_ID );

if( $product->post_type != 'product' )
return false;

$user_id = apply_filters( 'bpshop_new_review_activity_user_id', $comment_data->user_id );

// check that user enabled updating the activity stream
if( bp_get_user_meta( $user_id, 'notification_activity_shop_reviews', true ) == 'no' )
return false;

$user_link = bp_core_get_userlink( $user_id );

// record the activity
bp_activity_add( array(
'user_id' => $user_id,
'action' => apply_filters('bpshop_new_review_activity_action',
sprintf(
__( '%s wrote a review about %s', 'bpshop' ),
$user_link,
get_permalink($comment_data->comment_post_ID),
$product->post_title
),
$user_id,
$comment_data,
$product
),
'component' => 'shop',
'type' => 'new_shop_review'
) );
}
add_action( 'wp_insert_comment', 'bpshop_new_review_activity', 10, 2 );

/**
* Adds an activity stream item when a user has purchased a new product(s).
*
* @since unknown
*
* @global object $bp Global BuddyPress settings object
* @uses bp_activity_add() Adds an entry to the activity component tables for a specific activity
*/
function bpshop_new_purchase_activity( $order_id ) {
if( ! is_user_logged_in() )
return false;

if( ! bp_is_active( 'activity' ) )
return false;

$order = new WC_Order( $order_id );

if( $order->status != 'completed' )
return false;

if( $order->user_id != $order->customer_user )
return false;

$user_link = bp_core_get_userlink( $order->customer_user );

// if several products - combine them, otherwise - display the product name
$products = maybe_unserialize( $order->order_custom_fields['_order_items'][0] );
$names = array();

foreach( $products as $product ){
$names[] = ''. $product['name'] .'';
}

// record the activity
bp_activity_add( array(
'user_id' => $order->user_id,
'action' => apply_filters( 'bpshop_new_purchase_activity_action',
sprintf(
__( '%s purchased %s', 'bpshop' ),
$user_link,
implode(', ', $names)
),
$user_id,
$order,
$products
),
'component' => 'shop',
'type' => 'new_shop_purchase'
) );
}
add_action( 'woocommerce_payment_complete', 'bpshop_new_purchase_activity' );

Is there a way to someone to help me to make this work in multisite? And is it possible to make as I wish it to work? I mean like: Userx purchased the Product X on the blog X ???

Thanks guys!

Derek