ACSD-60267: FPT applies incorrectly when products are added through configurable product options

The ACSD-60267 patch fixes the issue where the fixed product tax (FPT) applies correctly when adding simple products directly to the cart, but fails when selecting the same products through configurable product options. This patch is available when the Quality Patches Tool (QPT) 1.1.54 is installed. The patch ID is ACSD-60267. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.8.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.6-p5

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.4 - 2.4.7-p3
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

Fixed Product Tax (FPT) works properly when simple products with FPT are added to the cart, but FPT isn’t added when products are added via configurable product selection.

Steps to reproduce:

  1. Set Enable FPT to Yes by navigating to Admin > Configuration > Sales > Tax > Fixed Product Taxes.
  2. Create an FPT attribute and assign it to an Attribute Set.
  3. Open Stores > Attributes > Product.
  4. For Default Label, enter a label that identifies the attribute.
  5. Set Catalog Input for Store Owner to Fixed Product Tax.
  6. Create a new tax and zone and assign it to a new Tax Rule.
  7. Create a configurable product with two simple products.
  8. Now assign two different FPT values to those simple products.
  9. Reindex and check the prices on the storefront.
  10. Add the products to the cart and check the sub-totals.

Expected results:

  • The Catalog page shows prices including FPT.
  • Subtotals in the cart include FPT.

Actual results:

  • The Catalog page doesn’t show the prices including the FPT value.
  • Subtotals and summary are invalid.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3