Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am using the module Order Total
When checking out an order of more than one product, the "payment details" box is not shown, not allowing the completion of the transaction.
Thank you
Comments
Comment #1
fxarte CreditAttribution: fxarte commentedHi people
It seems to be related to the fact the function getTax() is not defined.
please have a look here:
file: uc_discounts.module
function: uc_discounts_line_item_calc
to avoid this error I included a dummy function getTax. In the template.php file I included this code:
I guess some JavaScript is missing.
Also, shouldn't the code needs a semicolon after the call to the function "set_line_item"?
thanks