ACSD-48044: applying multiple gift cards prevents orders from being placed
The ACSD-48044 patch fixes the issue where applying multiple gift cards to a single order with multi-shipping prevents orders from being placed. This patch is available when the [!DNL Quality Patches Tool (QPT)] 1.1.25 is installed. The patch ID is ACSD-48044. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.6.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.5-p1
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.3.4 - 2.4.5-p1
The patch might become applicable to other versions with new [!DNL 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 QPT landing page. Use the patch ID as a search keyword to locate the patch.
Applying multiple gift cards to a single order with multi-shipping prevents orders from being placed.
Steps to reproduce:
Install a clean version of Adobe Commerce.
Create a simple product with a price of $100 and another simple product with a price of $10.
Log in to the [!UICONTROL Admin panel] and create two gift cards.
- 02KB8M0H0GRD = $50
- 00GXM6SUGBLW = $25
Create a customer with two addresses.
Add two products to the cart.
- Add the $10 product first, and then add the $100 product. The issue cannot be reproduced if the $100 product is added first.
Go to the shopping cart and add the two gift cards you created.
Click on [!UICONTROL Ship to Multiple Addresses] on the cart page.
Assign each product to a different address.
Go to the [!UICONTROL Shipping information] page.
Go to the [!UICONTROL Billing information] page.
Go to the [!UICONTROL Review Your Order] page, where you can see the issue.
Try to place the order.
- Gift cards are applied to the total amount correctly.
- Orders are placed.
Gift card amounts are mixed with an error "Please correct the gift card code." when placing the order.
- Remove Gift Card (00GXM6SUGBLW) - $15.00
- Remove Gift Card (02KB8M0H0GRD) - $0.00
- Remove Gift Card (00GXM6SUGBLW) - $25.00
- Remove Gift Card (02KB8M0H0GRD) - $35.00
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
To learn more about [!DNL Quality Patches Tool], refer to:
For info about other patches available in QPT, refer to [!DNL Quality Patches Tool]: Search for patches in the [!DNL Quality Patches Tool] guide.