Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 55936: Use formatPriceValue to round all price figures
## What's being changed The Product model for catalog sync. ## Why it's being changed If a tax rate had more than 2 decimal places, we were seeing `incl_tax` figures with more than 2 decimal places as well. Now we use the same utility method to format all price values in the same way. ## How to review / test this change - Set up a tax zone with a rate like 20.4532 - Apply this rate to your catalog with a tax rule and see this applied on the storefront - Run catalog sync - Ensure that price, specialPrice, price_incl_tax and specialPrice_incl_tax are rounded to 2 decimal places Related work items: #258489
- Loading branch information