Closed (fixed)
Project:
Ubercart 2 VAT support
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2010 at 18:14 UTC
Updated:
19 Mar 2010 at 11:00 UTC
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
Comment #1
longwaveIn 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.