Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Hide Product Tag Cloud from being available in the Widgets screen from classic themes #6088

Closed
Aljullu opened this issue Mar 23, 2022 · 0 comments · Fixed by #6327
Closed
Assignees
Labels
focus: FSE Work related to prepare WooCommerce for FSE. type: enhancement The issue is a request for an enhancement. type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team.

Comments

@Aljullu
Copy link
Contributor

Aljullu commented Mar 23, 2022

Describe the bug

We want to hide the Product Tag Cloud widget from the Widgets screen so users use the Tag Cloud block from Gutenberg instead.

To reproduce

  1. With a classic theme (ie: Storefront), go to Apperance > Widgets.
  2. Open the block inserter and notice there is Tag Cloud (block from Gutenberg) and Product Tag Cloud (widget from WooCommerce).

imatge

Expected behavior

Given that the block from Gutenberg allows specifying the taxonomy to use, it can in fact be used as a Product Tag Cloud block. So we would like the widget from WooCommerce not to appear in the inserter.

Relevant lines of code

https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/58915aee04d01dbc66e0237fe94fda18a8b90d88/src/BlockTypesController.php#L133-L143

@Aljullu Aljullu added type: enhancement The issue is a request for an enhancement. type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team. focus: FSE Work related to prepare WooCommerce for FSE. labels Mar 23, 2022
@danieldudzic danieldudzic self-assigned this Apr 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
focus: FSE Work related to prepare WooCommerce for FSE. type: enhancement The issue is a request for an enhancement. type: good first issue The issue is a good candidate for the first community contribution/for a newcomer to the team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants