Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed wrong tax rate in price details block
The price details block will be used multiple times when rendering product listings and for every iteration, a new saleable item will be set. The getter for tax_rate is cached though and will return the same tax rate for every item in the product list, even if tax rates differ. This fix unsets the cached tax rate after setting a new saleable item.
- Loading branch information