Skip to content

Wrong "As low as" price display for configurable products when FPT is enabled #40171

@twosg

Description

@twosg

Preconditions and environment

  • Magento 2.4.8-beta2 and newer
  • 829e6a3

Steps to reproduce

  1. At tax configuration, set "Catalog Prices" to "Excl. tax"
  2. Set "Display Product Prices In Catalog" to "Incl. tax"
  3. Enable FPT
  4. Add a tax rule to calculate any amount of tax for the default tax destination country, for the default customer tax and the default product tax class
  5. Go to any category page with configurable products within or to a product page of a configurable product

The "default" price (when no child product is selected yet) is shown with doubled taxes

Example:
Product Price: 100.00
19% tax applied = 119.00

But the price is displayed as 141.61 (It takes the 119.00 and adds 19% on top)

Expected result

"As low as" Price is shown correctly:

Image

Actual result

Image

Additional information

Cause is 829e6a3:

Specifically the Plugin for FinalPriceResolver. If it is disabled, the bug does not occur:

<type name="Magento\ConfigurableProduct\Pricing\Price\FinalPriceResolver">
        <plugin name="configurableProductPriceAdjustment" type="Magento\Weee\Plugin\ConfigurableProduct\Pricing\FinalPriceResolver" disabled="true"/>
    </type>

Of course it may be an issue more deeply in the calculation process, but as far as I understand it, the plugin is taking up the wrong price for its calculation or does not consider the Catalog Prices setting properly.

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: CatalogComponent: PricingIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: PR CreatedIndicates that Pull Request has been created to fix issueReported on 2.4.8-beta2Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    Status

    Ready for Development

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions