the line return theme_cart_review_table makes it impossible to theme the table with own theme function when user can see prices VAT excluded

/**
 * Theme registry callback override for the cart_review_table.
 */
function uc_vat_cart_review_table($show_subtotal = TRUE) {
  // Using a call to theme() so the new review table can be themed if necessary
  if (uc_vat_exclude_vat()) {
    return theme_cart_review_table($show_subtotal);
  }
  else {
    return theme('uc_vat_cart_review_table', $show_subtotal);
  }
}

Comments

longwave’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Status: Active » Fixed

In latest HEAD this theme override has been removed, as uc_vat now provides a separate cart contents pane for showing VAT prices where applicable. You will only need to implement theme_uc_vat_cart_review_table with the latest release.

Status: Fixed » Closed (fixed)

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