I seem to have found a bug with Cartthrob 2.6 where the tax is calculated incorrectly when using allow_user_price="yes" within the "add_to_cart_form" tag. The cart seems to display the tax of the item, rather than the allowed user price which should override this. The previous version of CT was working fine.
(Updated on EE 2.9)
Has anyone come across this and found any solution? I will have a dig about to see what is going on, but it's unusable in my case until I find a fix.
UPDATE: I've looked into this further and it seems to be where the base_price() function is called and uses retrieves the item's price rather than the dynamic price in this case (found in in cartthrob/core/item/Cartthrob_item_product.php).
If there's a way to detect if product has a dynamic price, then we could tell it to use retrieve the calculated price. However I am unable to see any identifier to say this has a dynamic price within the $item/$this object? Or perhaps I'm missing something?!? Any suggestions very welcome...
Thanks