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

Dedicated block for featured products grid #3466

Closed
danielcharrua opened this issue Nov 25, 2020 · 14 comments
Closed

Dedicated block for featured products grid #3466

danielcharrua opened this issue Nov 25, 2020 · 14 comments
Labels
focus: blocks Specific work involving or impacting how blocks behave. priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. status: stale Stale issues and PRs have had no updates for 60 days. type: enhancement The issue is a request for an enhancement.

Comments

@danielcharrua
Copy link

Is your feature request related to a problem? Please describe.

I'm always frustrated when trying to add a grid of featured products block using Gutenberg (there is no such block).

Describe the solution you'd like

I think that would be great for you to add a dedicated featured product(S) block grid to list ONLY featured products .

Describe alternatives you've considered

I usually ended up using the old shortcode, but it will not render on the backend.
[products limit="4" columns="2" visibility="featured" ]

@danielcharrua danielcharrua added the type: enhancement The issue is a request for an enhancement. label Nov 25, 2020
@mikejolley
Copy link
Member

As a workaround, you could create a featured category and use the "Products by Category" block instead. This renders a grid.

I'm not sure if the concept of "featured products" is something that will be supported forever @nerrad? I've not seen much mention of that attribute in designs and such. Seems like it could quite easily be replaced by taxonomies.

@mikejolley mikejolley added action: needs feedback focus: blocks Specific work involving or impacting how blocks behave. labels Nov 26, 2020
@nerrad
Copy link
Contributor

nerrad commented Nov 26, 2020

To make sure I'm on the same page about what's being talked about here, when we refer to "featured products" we're talking about products that have this checkbox checked right?

Image 2020-11-26 at 1 31 57 PM

While I agree it could be replaced by taxonomies, it's also likely something that would have value in remaining a standard flag for products that is a known meta value across all products. Of course, this could also be accomplished by simply having a protected term for a taxonomy as well.

I don't feel that this is something I can weigh in on it's potential future application. cc @gary or @LevinMedia do you have additional thoughts on whether this product option is something we plan to support long term and develop for or not?

@danielcharrua
Copy link
Author

Thank you both for your thoughts, I agree that I can manage this trough categories, but as a standard WooCommerce feature I think that would be great to have a product grid block just for showing featured products.

@nerrad I’m talking exactly of the screenshot you’ve posted. This also can be selected when listing all products and select the star icon.

As I see it from now, the featured product capability would be useless on building an e-commerce website using blocks, so why have this feature if is not supported by blocks? Just for backward compatibility?

@github-actions
Copy link
Contributor

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Jan 31, 2021
@nerrad nerrad added priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. and removed status: stale Stale issues and PRs have had no updates for 60 days. labels Feb 2, 2021
@garymurray
Copy link

@peterfabian can you provide any insights into what the purpose of this option is (other than to mark the product as featured) i.e. is this used in any other way by WooCommerce core itself - or is this something that themes can hook into for showcasing featured products?

To add to that - do we have any way of telling how many products are created that make use of this option?

Ultimately I'd just like to understand if this is something that we'll be keeping in Core and as a result - should we be looking to create a block that makes use of this option and/or add it to our Featured Product Block as an option perhaps.

@peterfabian
Copy link

Apologies for missing the ping. As far as I know, tagging products as featured is just a way to include them in the featured products shortcode. As far as I know, and judging by a quick search over the codebase, it serves no other purpose. There is also a related styling class, so people can make these products stand out more easily in their theme if they wish so.

As for removing it--it's not really an easy option, as we need to remain backward compatible, but we can potentially deprecate it. However, I'm not aware of any data showing if people are using this feature or not, so maybe we could add it to the tracker if we want to get some insights? Another option would be to just see if people are requesting this block and add it if it's high on the list of requested items.

@github-actions
Copy link
Contributor

github-actions bot commented May 5, 2021

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label May 5, 2021
@nerrad nerrad removed needs feedback status: stale Stale issues and PRs have had no updates for 60 days. labels May 11, 2021
@github-actions
Copy link
Contributor

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Jul 11, 2021
@nerrad nerrad removed the status: stale Stale issues and PRs have had no updates for 60 days. label Jul 12, 2021
@github-actions
Copy link
Contributor

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Sep 11, 2021
@nerrad nerrad reopened this Sep 22, 2021
@nerrad nerrad removed the status: stale Stale issues and PRs have had no updates for 60 days. label Sep 22, 2021
@github-actions
Copy link
Contributor

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Nov 22, 2021
@nerrad nerrad removed the status: stale Stale issues and PRs have had no updates for 60 days. label Nov 24, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2022

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Feb 6, 2022
@RavanH
Copy link

RavanH commented Dec 12, 2022

Yes please. The shortcode [products visibility="featured"] works and even [featured_products] still does the trick but it's not ideal for the block editor. Why is this not treated the same as the On Sale block for [sale_products] and [products on_sale=true] shortcodes?

@nerrad
Copy link
Contributor

nerrad commented Dec 12, 2022

Just highlighting that the new Products Block will have support for restricting the results to featured products.. I'm going to leave this issue closed because it will be handled by woocommerce/woocommerce#42539.

@RavanH
Copy link

RavanH commented Dec 12, 2022

Excellent news! Thanks @nerrad :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
focus: blocks Specific work involving or impacting how blocks behave. priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. status: stale Stale issues and PRs have had no updates for 60 days. type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

No branches or pull requests

6 participants