Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide Address Tab When Adding New Customer In Admin #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

floorz
Copy link

@floorz floorz commented Jun 10, 2021

- Add Core Magento change to check if a child component is an instance of `\Magento\Framework\View\Element\ComponentVisibilityInterface` and whether it should be visible by calling `ComponentVisibilityInterface::isComponentVisible()`
- Magento reference: https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Ui/Component/Layout/Tabs.php#L91-L93
@virtual97
Copy link
Contributor

Hello @floorz ,

We have created a ticket based on your report.
AVASUP-1120: Hide Address Tab When Adding New Customer In Admin
We keep you posted.

Thank you.

@brunogemelli
Copy link

Was it fixed in the module?
I just got the same issue for one client running with Magento 2.4.5-p1 and module version 2.4.2

@CHallski
Copy link

CHallski commented Nov 3, 2023

We just had to patch this as well in 2.4.6-p3. Same fix: without this the new address tab shows up when creating a customer in admin before saving the customer.

Because it's possible to select it and try to add addresses before saving the customer, you run into errors because there is no customer ID to reference yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants