else
{
//"price" doesn't include tax
if (includingTax)
{
//we should calculate price WITH tax
//do it only when price is taxable
if (isTaxable)
I think it should be:
//"price" doesn't include tax
if (!includingTax)
the method is
public virtual decimal GetProductPrice(Product product, int taxCategoryId,
decimal price, bool includingTax, Customer customer,
bool priceIncludesTax, out decimal taxRate)
- perhaps this overloaded method is not actually used? I've built a tax plugin and didn't encounter any problems with the functionality.
Anyway, thought you'd want to be notified.
Cheers!
Simon