Skip to content

Commit ad40c42

Browse files
committed
Take tax category of a product into account when (optionally) displaying tax rates on product pages
1 parent 98f9982 commit ad40c42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Libraries/SmartStore.Services/Tax/TaxService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ private decimal GetOriginTaxRate(Product product)
255255
/// <returns>Tax rate</returns>
256256
public virtual decimal GetTaxRate(Product product, Customer customer)
257257
{
258-
return GetTaxRate(product, 0, customer);
258+
return GetTaxRate(product, product.TaxCategoryId, customer);
259259
}
260260

261261
/// <summary>

0 commit comments

Comments
 (0)