Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST API - Order products by price. Still not possible? #23762

Closed
steffanhalv opened this issue May 19, 2019 · 2 comments
Closed

REST API - Order products by price. Still not possible? #23762

steffanhalv opened this issue May 19, 2019 · 2 comments
Labels
type: enhancement The issue is a request for an enhancement.

Comments

@steffanhalv
Copy link

steffanhalv commented May 19, 2019

Is your feature request related to a problem? Please describe.
Is it still not possible to sort products by price using Woo Rest API? ->
#16215

Describe the solution you'd like
If this is possible now, could you please provide an example?

Describe alternatives you've considered
Only alternative is to create extra plugins which we are trying to avoid if possible.

Additional context
@mikejolley

@kloon kloon added api type: enhancement The issue is a request for an enhancement. labels May 20, 2019
@kloon
Copy link
Member

kloon commented May 20, 2019

Hi @steffanhalv I have forwarded the request to the team currently working on the next iteration of the API. Hopefully, we can get this included in the next API version.

@mbs1337
Copy link

mbs1337 commented Oct 2, 2020

Hmm. Is this bug open, or closed? Because i’m having the same problem on some Woocommerce sites.
Here is a test with Twenty Twenty theme, and Woocommerce activated as the only plugin.

The price sorting is not working. Here is the test, with default Woocommerce sample products. https://www.mbstech.dk/test/shop/?orderby=price

UPDATE:

Find a solution from this thread: https://wordpress.org/support/topic/sort-by-price-cart-problem/

Also you can regenerate the loopkup table, look for “Product lookup tables” in “WooCommerce” > “Status” > “Tools” and click in “Regenerate”, this should fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

No branches or pull requests

3 participants