Order id in woocommerce_customer -> get_downloadable_products(). Closes #104.

This commit is contained in:
Mike Jolley 2011-10-26 15:23:19 +01:00
parent 41a428227a
commit 18a80e8f84
1 changed files with 2 additions and 1 deletions

View File

@ -181,7 +181,8 @@ class woocommerce_customer {
'download_url' => add_query_arg('download_file', $result->product_id, add_query_arg('order', $result->order_key, add_query_arg('email', $user_info->user_email, home_url()))),
'product_id' => $result->product_id,
'download_name' => $download_name,
'order_key' => $result->order_key,
'order_id' => $order->id,
'order_key' => $order->order_key,
'downloads_remaining' => $result->downloads_remaining
);
endforeach;