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
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

ore - September 8, 2009 - 04:10

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

akolahi - September 9, 2009 - 05:39

yep that works! thanks!

#3

akolahi - September 9, 2009 - 05:41
Status:active» needs review

Is it appropriate to say the maintainer needs to review the fix to possibly commit...

#4

Cayenne - September 21, 2009 - 14:32

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

ore - September 30, 2009 - 03:41

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

asak - November 8, 2009 - 09:49

nice catch.

#7

longwave - November 28, 2009 - 20:09
Status:needs review» fixed

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.

 
 

Drupal is a registered trademark of Dries Buytaert.