Fixes:'File' link on My Accounts->Downloads incorrect for variations
This commit is contained in:
parent
63c3a979f4
commit
dd445d8f09
|
@ -468,7 +468,7 @@ function wc_get_customer_available_downloads( $customer_id ) {
|
|||
home_url( '/' )
|
||||
),
|
||||
'download_id' => $result->download_id,
|
||||
'product_id' => $product_id,
|
||||
'product_id' => $_product->id,
|
||||
'download_name' => $download_name,
|
||||
'order_id' => $order->id,
|
||||
'order_key' => $order->order_key,
|
||||
|
|
Loading…
Reference in New Issue