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

Style Book: Product Search block displays an upgrade notice #8180

Closed
Aljullu opened this issue Jan 13, 2023 · 3 comments · Fixed by #8309
Closed

Style Book: Product Search block displays an upgrade notice #8180

Aljullu opened this issue Jan 13, 2023 · 3 comments · Fixed by #8309
Labels
block: product search Issues related to the Product Search block. type: bug The issue/PR concerns a confirmed bug.
Milestone

Comments

@Aljullu
Copy link
Contributor

Aljullu commented Jan 13, 2023

To reproduce

  1. With WordPress 6.2 (or a previous version with GB installed) and a block theme like Twenty Twenty-Three enabled.
  2. Go to Appearance > Editor and edit a template.
  3. In the toolbar, select Styles (black and white circle) and then, Open Style Book (eye icon).
  4. Go to the WooCommerce tab.
  5. Notice the Product Search block displays an Upgrade block notice.

Product Search block in Style Book

Expected behavior

We should either:

  1. Hide the Product Search block from the Style Book given that now it's just a variation of the Gutenberg Search block.
  2. Fix the display so the Upgrade block notice is not shown and the new version of the block is displayed.
@Aljullu Aljullu added type: bug The issue/PR concerns a confirmed bug. block: product search Issues related to the Product Search block. labels Jan 13, 2023
@Aljullu Aljullu added this to the 9.6.0 milestone Jan 13, 2023
@gigitux
Copy link
Contributor

gigitux commented Jan 26, 2023

We should hide the Product Search block because we no longer support it. Unfortunately, at this stage, Style Book shows all the blocks even if they have inserter option set to false. I created an issue on Gutenberg WordPress/gutenberg#47440

@Aljullu
Copy link
Contributor Author

Aljullu commented Jan 26, 2023

@gigitux did you mean WordPress/gutenberg#47440 instead? 🙂

@gigitux
Copy link
Contributor

gigitux commented Jan 26, 2023

@Aljullu Yes!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: product search Issues related to the Product Search block. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants