Seller Cannot View His/Her Orders Properly
akolahi - August 22, 2009 - 03:17
| Project: | Ubercart Marketplace |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
Jump to:
Description
on the seller's fulfilment page: /user/*/selling/fulfill if the seller clicks on an order icon it goes to the order page but states that "This order contains no products". It does show the order number and Ship To address, but not the products that were ordered.
The seller can, however, view the items on the packaging slip.

#1
line 205 on mp_orders.module needs to have $order->products (at the end of the line) changed to just $order. Then everything works just fine.
cheers
mike
#2
yep that works! thanks!
#3
Is it appropriate to say the maintainer needs to review the fix to possibly commit...
#4
That line change made the order details appear in my site EXCEPT for the buyer's information. Do others have that problem?
EDIT: Okay, in the same line, I added before the "Ship to" block, the following code
<div class="order-pane-title">Bill To:</div>'. uc_order_pane_bill_to('view', $order) .'</div>This makes me very happy now.
#5
nice spotting.
My whole line looks like this now with dual boxes.
$output .= '<div class="order-pane pos-left"><div class="order-pane-title">Bill To:</div>'. uc_order_pane_bill_to('view', $order) .'</div><div class="order-pane pos-left"><div class="order-pane-title">Ship To:</div>'. uc_order_pane_ship_to('view', $order) .'</div><div class="order-pane abs-left"><div class="order-pane-title">Products:</div>'. drupal_render(tapir_get_table('op_products_view_table', $order)) .'</div>';#6
nice catch.
#7
The fix for the original issue has been committed to CVS.
I am not sure the billing address should be shown in all cases, as this information does not necessarily need to be released to individual sellers.