magento / magento/community-features

Magento 2.1.7 : Impossible to get UK friendly retail prices

Open
#210 8 comments 0 reactions 0 assignees View on GitHub

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
  1. Create Tax Rule - VAT, Retail Customer, Taxable Goods, VAT, 0, 0, 0
  2. Create Tax Zone - VAT, United Kingdom, *, *, 20
  3. Configure TAX - Stores > Configuration, Sales > Tax:
  • Default Country : United Kingdom
  • Display Product Prices in Catalog : Including Tax
  1. Edit Random Product - price 3.325 ex VAT (3.99 in VAT)
  2. Save
  3. Product is rounded to 3.33
  4. Product displays on frontend as 4.00 and not 3.99
  5. Other prices are affected: try to get 6.99 for example
Expected result
  1. Not round price. Allow 4 decimal points
Actual result
  1. Price is rounded to 2 decimal points

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.