ACP2E-4977: Configurable product invoice and credit memo totals exclude Fixed Product Tax
The ACP2E-4977 patch fixes the issue where invoice and credit memo grand totals for configurable products do not include Fixed Product Tax (FPT), resulting in totals lower than the order total. This patch is available when the Quality Patches Tool (QPT) 1.1.83 is installed. The patch ID is ACP2E-4977. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.10.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.8-p3
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.8
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
Invoice and credit memo grand totals for configurable products do not include Fixed Product Tax (FPT), resulting in totals lower than the order total.
Steps to reproduce:
- Enable Fixed Product Tax by navigating to Stores > Settings > Configuration > Sales > Tax > Fixed Product Taxes and setting Enable FPT to Yes.
- Create a product attribute by navigating to Stores > Attributes > Product, selecting Add New Attribute, setting Catalog Input Type for Store Owner to Fixed Product Tax, and assigning the attribute to the Default attribute set.
- Create a simple product with a price of 100.00 and assign an FPT value of 10.00 in the FPT section.
- Create a configurable product and associate the simple product as a child product.
- Place an order for the configurable product and select the child product option.
- In the Admin panel, navigate to Sales > Orders, open the order, select Create Invoice, and submit the invoice.
- Create a credit memo for the order.
Expected results:
- The parent configurable order item contains the calculated row-level FPT amounts.
- The invoice and credit memo grand totals include the applicable FPT amount and match the original order grand total.
Actual results:
- The parent configurable order item has zero row-level FPT amounts while the child item contains the FPT amount.
- The invoice and credit memo grand totals are lower than the original order grand total by the missing FPT amount.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide