Add visibility attribute to Gutenberg Products block
Alex
There is no product visibility setting in the theme's Gutenberg block, and this setting is not available in standard WooCommerce Gutenberg blocks.
This leads to situations where if a product is hidden in the catalog (but is available simply from Google or via a link), it will not be in the block. And it cannot be displayed there using the standard settings.
Example,
the blog has articles that mention various products, including archived, discontinued products that should have links to them (for correct SEO), but they are not displayed because the product settings set: Visibility in the catalog: hidden.
Now they can only be displayed through a similar solution + preset settings for blog pages (to change the display design), for example:
[products ids="12345" limit="4" columns="4" orderby="id" order="DESC" visibility="hidden"]
Adding this option will make it easier to set up and display such products in all locations.