Hello,

When you go, for instance, to /cart/echeckout/submit it shows a summary of the order. Unfortunately even if you ordered multiple products, it only shows one. I did some debugging and figured out that the function that is called when you go to that page is uc_checkout_pane_cart (uc_cart_checkout_pane.inc), and when $op = 'review' the theme function called is 'uc_cart_review_table' (line 479).

The variable $items of this function, loads all the items of the order and it does it well. The problem is in line 493:

$display_items = entity_view('uc_order_product', $items, 'cart');

In this line *only one product is left* so the $rows array that is created within the loop (line 507) only contains one product, and therefore the table will only show one product. It should return all the products of the order.

Thank you in advance!

Comments

DanZ’s picture

Category: bug » support
Priority: Major » Normal

This certainly doesn't happen for me.

Exactly what version of Ubercart are you using?

What theme are you using? What happens if you try this from the Bartik theme?

Are you using any other "interesting" modules?

Can you reproduce this issue on a clean install?

longwave’s picture

Title: Review order page (theme_uc_cart_review_table) only shows one product » PayPal Express review order page (theme_uc_cart_review_table) only shows one product
Component: Code » Cart/checkout
Category: support » bug
Status: Active » Fixed

Confirmed, this issue only affects Express Checkout which has a separate review page.

Fixed in http://drupalcode.org/project/ubercart.git/commitdiff/c9e40e7

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Replaced <?php with