Wrong subtotals in customer receipts
-
Hi!
The filter hook ’woocommerce_order_get_items’ seem to not be removed properly in WC_Email_Notify_Vendor→trigger which means it is afterwards also applied in WC_Abstract_Order→get_order_item_totals where it then replaces not only vendor receipt subtotals with the commision only(if that settings is on), but also regular end customer receipts shows the commision where it should just always show the full price(no matter what the comission setting is).
I have tried to figure out why remove_filter does not return true/success when removing the filter, but I cannot figure it out. Maybe I miss something or this could be implemented better.
Help is much appreciated as I have so far used way too many hours to get to where I am now.
<3
- The topic ‘Wrong subtotals in customer receipts’ is closed to new replies.