-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Open
Labels
Adobe CommerceThe issue related to the Adobe Commerce(EE) or B2B functionalityThe issue related to the Adobe Commerce(EE) or B2B functionalityArea: B2BComponent: QuoteIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is 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.A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReported on 2.4.5-p2Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Description
Preconditions and environment
- Magento 2.4.5-p2
- Make Zip/Postal Code optional for your country
general/country/optional_zip_countries
Steps to reproduce
1- Enable B2B features
2-Create B2B account
3-Add default billing/shipping address (with empty post code)
4-Create negotiable quote
5-Check the Quote under my Account.
6-View Detail of selected Quote
7-Try to shipping address from Select Existing Address list/
Expected result
After setting shipping address,Quote's shipping address data must show selected address.
Actual result
After setting shipping address,Quote's shipping address still empty.
Additional information
we can see quote's address assignment at database level
but we cant render it because of postcode check.
\Magento\NegotiableQuote\Model\Customer\AddressProvider::getRenderedAddress
public function getRenderedAddress(\Magento\Quote\Api\Data\AddressInterface $address)
{
$flatAddressArray = $this->extensibleDataObjectConverter->toFlatArray(
$address,
[],
\Magento\Quote\Api\Data\AddressInterface::class
);
$flatAddressArray = $this->getFlatAddress($address, $flatAddressArray);
if (!empty($flatAddressArray[\Magento\Quote\Api\Data\AddressInterface::KEY_POSTCODE])) {
/** @var \Magento\Customer\Block\Address\Renderer\RendererInterface $renderer */
$renderer = $this->addressConfig->getFormatByCode('html')->getRenderer();
return $renderer->renderArray($flatAddressArray);
}
return '';
}
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
Labels
Adobe CommerceThe issue related to the Adobe Commerce(EE) or B2B functionalityThe issue related to the Adobe Commerce(EE) or B2B functionalityArea: B2BComponent: QuoteIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is 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.A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReported on 2.4.5-p2Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch