woocommerce-blocks icon indicating copy to clipboard operation
woocommerce-blocks copied to clipboard

Hand picked product ordering / sort

Open WiredWonder opened this issue 3 years ago • 12 comments

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

When choosing items for the Hand Picked Product block, they are sorted by the default Woocommerce sort order options (name, newness, etc).

Describe the solution you'd like

It would be amazing if the Hand Picked Product block allowed the author to custom sort the order order of the products in the widget, ideally through something like drag and drop of the items in the selector.

Describe alternatives you've considered

na

Additional context

na

WiredWonder avatar Sep 17 '21 01:09 WiredWonder

Thanks for opening this issue @galapogos01. While the Hand-picked Products block doesn't allow ordering products right inside the block, you can tweak the order products are shown as follows:

  1. In the Hand-pick Products block, select the Order products by: Menu order option.
Order products by: Menu order option
  1. Now, in wp-admin, go to Products.
  2. There, switch to the Sorting tab:
Sorting products
  1. You will be able to reorder the products there using drag and drop. That order will be honored in the Hand-picked Products block you just added, as well as other parts of WooCommerce like the Shop page.

You can read more on how to do it from this page:

https://docs.woocommerce.com/document/managing-products/#sorting-products

Hope it helps! I will proceed closing this issue, but feel free to comment again if needed.

Aljullu avatar Sep 20 '21 07:09 Aljullu

@Aljullu can you please re-open the ticket? The proposed solution changes the global product sort order everywhere, and is not a viable solution for an actual store with 4500 products.

Thanks, Jason

WiredWonder avatar Sep 20 '21 07:09 WiredWonder

Fair enough. I will keep this issue open, but to make expectations clear, we don't have plans to implement something like this directly in the block in the short-term.

Aljullu avatar Sep 21 '21 08:09 Aljullu

@Aljullu Would love to see this implemented, too.

onthisearth avatar Oct 06 '21 07:10 onthisearth

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[bot] avatar Dec 05 '21 09:12 github-actions[bot]

Please don't close this, I'm not the only person asking for it :)

WiredWonder avatar Dec 05 '21 10:12 WiredWonder

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[bot] avatar Feb 04 '22 09:02 github-actions[bot]

I definitely feel like this should be a feature. Why hand-pick products without hand-picking order? As it is I'm gonna have to try to find a workaround, and for reasons mentioned above, menu order is not a viable solution.

ijgeoffrey avatar Mar 30 '22 23:03 ijgeoffrey

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[bot] avatar Jun 01 '22 09:06 github-actions[bot]

Adding a +1 as we ran into this on a Team 51 partner site. We were able to work around it with the menu order, but it would be nice to be able to set the order explicitly in the block without impacting the other areas of the site, similar to changing the order of images in a gallery.

katiebethbrown avatar Jun 30 '22 16:06 katiebethbrown

@Aljullu I have added a PR that adds basic sorting abilities to this block #6666 to assist with the partner site mentioned by @katiebethbrown

tommusrhodus avatar Jul 08 '22 10:07 tommusrhodus

Whilst my PR above would not work with the direction that WooCommerce Blocks is heading in, I have added my Proof of Concept to a seperate repo that can be used by anyone to allow sorting this block as a stop-gap until future updates to the core plugin:

https://github.com/Automattic/handpicked-products-order

Note: This stop-gap is exactly that, it just fills a need for now, this plugin will become obsolete in future WooCommerce Blocks updates.

tommusrhodus avatar Aug 08 '22 13:08 tommusrhodus