Problem/Motivation

When showing the product Display Price fields in Views, amount does not include Taxes.

Proposed resolution

Load all taxes and add the amount to field's value IF Tax plugin is configured to be included in Product price.

Patch attached :

Comments

matthieuscarset created an issue. See original summary.

matthieuscarset’s picture

Attaching patch.

tr’s picture

Status: Active » Needs review
Related issues: +#2616734: Views: filter on sell price VAT inclusive

Please look at this related issue and let's solve this for D8 and D7 at the same time.

If you set your issue to "Needs review" when you post a patch, the testbot will automatically test it. For Drupal 8 we're trying to follow the core Drupal practice of putting in tests every time we add a feature or fix a bug - it would be nice to have a test case for this Views field to ensure that once this gets fixed it stays fixed ...

Status: Needs review » Needs work
tr’s picture

Patch is corrupt - it looks like the last line is missing.

matthieuscarset’s picture

Status: Needs work » Closed (won't fix)

Closing this issue as apparently is won't get fixed

tr’s picture

Status: Closed (won't fix) » Needs work

Hey if you want it fixed then provide a patch and respond to the feedback from #3. This issue has been waiting for YOU and no one else ...

matthieuscarset’s picture

Status: Needs work » Closed (won't fix)

Yes.

I won't fix it so I close it as "won't fix".

I think it makes sense.

tr’s picture

Status: Closed (won't fix) » Needs work

It's still a bug, so it should remain open so anyone can participate or provide a solution.