saleor-dashboard icon indicating copy to clipboard operation
saleor-dashboard copied to clipboard

Filter Products by Availability

Open simon-online opened this issue 2 years ago • 1 comments

It would be great to be able to filter products by Availability. This filter would also require the Channel filter to be set.

The Published filter options could be: Published - filter on Published Publish In Future - filter on "Publish on" with a future date Not published - filter on "Not published"

The Availability filter options could be: Available Now - filter on "Available for purchase" Available In Future - filter on "Available on" with a future date Unavailable - filter on "Unavailable for purchase"

The Listed filter options could be: Listed / Unlisted - filters on "Show in product listings" field

simon-online avatar Jul 11 '22 07:07 simon-online

Hello @simon-online 👋

Thank you for your contribution, I am seeing a lot of issues from you lately. That's excellent ⭐, and much appreciated.

There are two things here:

  1. The isPublished filter
  2. The rest of the filters you described

The first one is actually implemented in the API, we just need the UI for it. We created a ticket already.

The second one we need to turn into a core feature request. I published it already and mentioned this issue: https://github.com/saleor/saleor/issues/10370.

We will let you know as soon as both of those are resolved.

Please let us know if you have any questions.

peelar avatar Aug 12 '22 09:08 peelar

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 06 '22 12:12 stale[bot]

It would be great to keep this moving along now that the additional filters have been added to the core. https://github.com/saleor/saleor/issues/10370

simon-online avatar Dec 07 '22 22:12 simon-online

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 05 '23 23:02 stale[bot]

Keeping this one alive 🤞

simon-online avatar Feb 06 '23 12:02 simon-online

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 26 '23 13:05 stale[bot]

Keeping this one alive 🤞

simon-online avatar May 29 '23 02:05 simon-online

Is there any news? I'm especially interested in channel listing isPublished boolean filter.

gufio avatar Jun 19 '23 12:06 gufio

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 19 '23 02:08 stale[bot]

Keeping this one alive 🤞

simon-online avatar Aug 19 '23 05:08 simon-online

Sharing quick update:

Filters are re-implemented on product listing page. I think we still cannot filter everything you have mentioned, but allows to filter by availability.

Screenshot 2023-09-28 at 10 44 22

andrzejewsky avatar Sep 28 '23 08:09 andrzejewsky

What version of the dashboard will include this? v3.16.2?

Sharing quick update:

Filters are re-implemented on product listing page. I think we still cannot filter everything you have mentioned, but allows to filter by availability.

Screenshot 2023-09-28 at 10 44 22

simon-online avatar Oct 02 '23 19:10 simon-online

It's already available since 3.15, but it's under the preview - click on three dots on the left bottom corner (next to account name), open "features preview" then enable product filtering. In the upcoming versions we will enable it by default

andrzejewsky avatar Oct 03 '23 07:10 andrzejewsky

Oh right, when I enable the new product filtering in dashboard v3.16.1 / core v3.16.2 it works but then it doesn't let me go back and change "Is available" from Yes to No or No to Yes. I have to reset the filters and start again.

Also currently I can't find a way to filter by any of the product attributes fields like you can with the original product filtering.

@andrzejewsky

simon-online avatar Oct 03 '23 12:10 simon-online

it doesn't let me go back and change "Is available" from Yes to No or No to Yes. I have to reset the filters and start again.

Can't you change the value from "yes" to "no" and opposite? - can do it without any issue?

Also currently I can't find a way to filter by any of the product attributes fields like you can with the original product filtering.

The left input is autocomplete you can either type attribute name or just scroll down

andrzejewsky avatar Oct 04 '23 19:10 andrzejewsky

After I click the Save button and then go back to edit the filters the dropdown sits underneath the pop-up form so I can't click on it. You can see it happening better on the Where dropdown.

it doesn't let me go back and change "Is available" from Yes to No or No to Yes. I have to reset the filters and start again.

Can't you change the value from "yes" to "no" and opposite? - can do it without any issue?

simon-online avatar Oct 04 '23 20:10 simon-online

Could you share some screenshots or video? that will help us a lot. Also which version of the dashboard you have?

andrzejewsky avatar Oct 06 '23 06:10 andrzejewsky

After I click the Save button and then go back to edit the filters the dropdown sits underneath the pop-up form so I can't click on it.

Notice how the Product type option appears at the bottom because the dropdown is underneath the pop-up form.

Screen Shot 2023-10-07 at 3 51 52 pm

dashboard v3.16.1 / core v3.16.2

simon-online avatar Oct 07 '23 04:10 simon-online

Hey, ok now I know what you meant, we have fixed that in the latest release 3.17.1

andrzejewsky avatar Oct 12 '23 11:10 andrzejewsky

This issue is stale because it has been open 14 days with no activity.

github-actions[bot] avatar Nov 22 '23 01:11 github-actions[bot]

This issue was closed because it has been stalled for 2 days with no activity. You are still welcome to reopen it and continue from where you finished. Best regards Saleor team

github-actions[bot] avatar Nov 25 '23 01:11 github-actions[bot]