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

Domains Dashboard Card: Hide for P2 (WP for teams) #18293

Closed
staskus opened this issue Apr 20, 2023 · 2 comments · Fixed by #18313
Closed

Domains Dashboard Card: Hide for P2 (WP for teams) #18293

staskus opened this issue Apr 20, 2023 · 2 comments · Fixed by #18313
Assignees
Milestone

Comments

@staskus
Copy link
Contributor

staskus commented Apr 20, 2023

Project Specs: pc8eDl-LC-p2

Description

Add additional criteria to Domains Dashboard Card Presentation: hide the card for P2 (WP for teams) sites

The site is identified by is_wpforteams_site Blog option.

@ravishanker
Copy link
Contributor

@staskus Should this be disabled for all P2s or just the a8c P2s?

If only for a8c P2s then, it can be done using condition like site.organizationId != Organization.A8C.orgId

@staskus
Copy link
Contributor Author

staskus commented Apr 24, 2023

@staskus Should this be disabled for all P2s or just the a8c P2s?

If only for a8c P2s then, it can be done using condition like site.organizationId != Organization.A8C.orgId

@ravishanker, thanks for sharing this additional approach, I didn't know about it! I think we can disable all P2s (is_wpforteams_site), the same as it's on the web for domain upsells.

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

Successfully merging a pull request may close this issue.

2 participants