This page has moved to Adobe Experience League and will be redirected soon.
MDVA-31007: custom address attributes display
MDVA-31007: custom address attributes display
The MDVA-31007 patch solves the issue where custom address attributes are not correctly displayed in the order details page in the My Account area and in the backend (in the Sales > Orders location). This patch is available when the Quality Patches Tool (QPT) 1.0.7 is installed. Please note that the issue was fixed in Adobe Commerce 2.4.2.
Affected products and versions
The patch is created for Adobe Commerce version:
Adobe Commerce on cloud infrastructure 2.4.0
Compatible with Adobe Commerce versions:
Adobe Commerce (all deployment methods) 2.4.0 - 2.4.0-p1
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 [!DNL Quality Patches Tool]: Search for patches page . Use the patch ID as a search keyword to locate the patch.
Issue
Steps to reproduce :
Log in to Admin backend.
Navigate to Stores > Attributes > Customer Addresses .
Create two attributes:
Set input type: Drop-down .
Set input type: Text .
Navigate to Stores > Configurations > Customer > Customer Configurations .
Select Scope as Default Store view.
Expand the Address Template section. Update Text , Text One Line , and HTML to include the two custom attributes above:
{{depend testdropdown}}Dropdown: {{var testdropdown}}{{/depend}} {{depend testtext}}Text: {{var testtext}}{{/depend}}
Open Storefront.
Create and Log in with a user.
Go to My Account > Address book , and add a new address (fill in the two custom attributes).
Add a product to the cart, and place an order.
On the order success page, click on the Order number link.
On the order details page, observe the Order Information section.
Go to Backend > Sales > Orders , click on the above order, and observe the Address information section.
Expected results :
On both frontend and backend, the billing and shipping address are displayed as expected.
Actual results :
On both frontend and backend, the billing address is not correctly displayed. The selected option of the dropdown attribute is missing, and the value of the input attribute contains the attribute code.
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:
For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.
Was this article helpful?
Yes
No
1 out of 1 found this helpful