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.
It appears that the tax_subtotal line item in uc_taxes calculates the values by incrementally adding the price from each product in $order. The product array does not account for price alters, thus the price before tax line item reflects the wrong price. this patch just gets the amount from $order->order_total instead, calculating the right price.
Comment | File | Size | Author |
---|---|---|---|
uc_taxes.module.patch | 557 bytes | cangeceiro | |
Comments
Comment #1
TR CreditAttribution: TR commentedMarking this as duplicate of #600478: Subtotal excluding taxes doesn't use uc_price(). Please contribute your ideas to that thread so we can get this resolved.