magento / magento/community-features
Magento 2.1.7 : Impossible to get UK friendly retail prices
Open
Nobody has claimed this yet.
Priority: P3
Requires PO triage
- Dominant language
- No language data
- Stars
- 46
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Preconditions
Magento 2.1.7. Impossible to get friendly retail prices in UK. This was an issue for many of our stores in Magento 1 and we had to update core code to work around this issue. Please I would like to know thoughts on the following issue.
Steps to reproduce
- Create Tax Rule - VAT, Retail Customer, Taxable Goods, VAT, 0, 0, 0
- Create Tax Zone - VAT, United Kingdom, *, *, 20
- Configure TAX - Stores > Configuration, Sales > Tax:
- Default Country : United Kingdom
- Display Product Prices in Catalog : Including Tax
- Edit Random Product - price 3.325 ex VAT (3.99 in VAT)
- Save
- Product is rounded to 3.33
- Product displays on frontend as 4.00 and not 3.99
- Other prices are affected: try to get 6.99 for example
Expected result
- Not round price. Allow 4 decimal points
Actual result
- Price is rounded to 2 decimal points
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the pricing behavior in Magento 2.1.7 using the listed UK VAT configuration and product prices. Trace where catalog prices are rounded and verify the result against the expected 4-decimal precision, including frontend displays such as £3.99 and £6.99.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100