diff --git a/uc_cart/uc_cart_checkout_pane.inc b/uc_cart/uc_cart_checkout_pane.inc index 7e28008..89e72a5 100644 --- a/uc_cart/uc_cart_checkout_pane.inc +++ b/uc_cart/uc_cart_checkout_pane.inc @@ -490,18 +490,16 @@ function theme_uc_cart_review_table($variables) { ); // Set up table rows. - $display_items = uc_order_product_view_multiple($items, 'cart'); + $display_items = uc_order_product_view_multiple($items); if (!empty($display_items['uc_order_product'])) { foreach (element_children($display_items['uc_order_product']) as $key) { $display_item = $display_items['uc_order_product'][$key]; - if (count(element_children($display_item))) { - $subtotal += $display_item['total']['#price']; - $rows[] = array( - array('data' => $display_item['qty'], 'class' => array('qty')), - array('data' => $display_item['product'], 'class' => array('products')), - array('data' => $display_item['total'], 'class' => array('price')), - ); - } + $subtotal += $display_item['total']['#price']; + $rows[] = array( + array('data' => $display_item['qty'], 'class' => array('qty')), + array('data' => $display_item['product'], 'class' => array('products')), + array('data' => $display_item['total'], 'class' => array('price')), + ); } } diff --git a/uc_order/uc_order.module b/uc_order/uc_order.module index c68448d..364d3e7 100644 --- a/uc_order/uc_order.module +++ b/uc_order/uc_order.module @@ -525,9 +525,6 @@ function uc_order_entity_info() { 'full' => array( 'label' => t('Normal view'), ), - 'cart' => array( - 'label' => t('Cart view'), - ), ), // Entity API callbacks. 'access callback' => 'uc_order_order_product_access',