-
Notifications
You must be signed in to change notification settings - Fork 219
Product Collection block: "No results" msg not displayed #10082
Comments
Hi there @Marc-pi, thank you for reporting this issue! I confirm that I can reproduce this issue on my end as well! The Product Collection block is currently experimental and its development is still in progress. If you'd like to check the progress, you can visit the Epic for this block) At the moment, I would not recommend replacing the Products (Beta) block with the Product Collection block. I'm not sure if @kmanijak or @imanish003 have a different opinion on this matter. |
Hi @thealexandrelara, 👋 From the provided screenshot, it seems @Marc-pi is discussing an issue with the
Regarding the |
Hi, my colleagues provided great responses and addressed my observations. I'd like to only add that both Products (Beta) and Product Collection work correctly in terms of the lack of products. These blocks have an inner block placeholder called "No Results": where you can put any content you'd like to be displayed on the frontend in case there are no products available. If that placeholder is empty no content will be displayed, which is exactly what you experienced. In the example below I added a paragraph displaying there's no content:
@Marc-pi, please let me know if that answers your concern. However, I agree that block structure may be confusing and it may not be the best UX. If you have an idea how to improve this journey, please let us know! 🙌 |
yep, i suggest to add systematicaly in the pattern this fallout block, within the pattern group, to enhance pattern adoption. |
Hi @Marc-pi, In PR #11783, we've introduced a default UI for the 'No results' block in the Product Collection block, as illustrated in the screenshot below: You're now able to swap out the “Products (Beta)” block for the “Product Collection (Beta)” to leverage this new default UI. I'll be closing this issue for now, but we're open to revisiting it if necessary. |
Describe the bug
The "No result found" is not displayed on front side, only on backoffice
Ping @albarin
To reproduce
Add the Production Collection block within a Page.
Expected behavior
Screenshots
front Editor side
On front
Environment
WooCommerce 7.8.1
Woo Blocks 10.5.0
WP 6.2.2.
Gutenberg 16.1.0
The text was updated successfully, but these errors were encountered: