Support » Plugin: WooCommerce » orderby problem

  • Resolved rateiogratis

    (@rateiogratis)


    Problem:

    by selecting the sorting options in Woocommerce -> Sort by Price (ASC), the system can not filter correctly and the results do not appear.

    Try to do this link:

    https://rateiogratisbr.org/cursos/?orderby=price-desc

    Woocommerce is not correctly processing the orderby filters.

    It stopped working when I upgraded to version 3.6 of woocommerce, version 3.5 worked perfectly.

    Even doing in the admin area does not work, so it’s no problem related to the theme.

    wp-admin/edit.php?post_type=product&orderby=price&order=asc

    I’m waiting for an update to run again.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi There,

    I can confirm that WooCommerce 3.6.2 does not have any such bugs, at least sorting works fine for me, I have tested with multiple themes.

    Have you checked for plugin conflicts? try to deactivate all your plugins and see how it works. It would be also wise to confirm it is not theme related, temporarily switch to a default theme like Storefront and see how it goes.

    I disabled the other plugins and it still did not work.

    I’ll show you inside the admin area.
    Click on products.
    All the products.
    /wp-admin/edit.php?post_type=product

    Select to sort by price:
    /wp-admin/edit.php?post_type=product&orderby=price&order=asc

    And it does not work.
    I have more than 3,000 products, and used to work with woocommerce 3.5.

    Hi again,

    I’m unable to replicate the issue on my installations, Product sorting does work fine on the admin area as well, with the latest version of WooCommerce and WordPress
    https://take.ms/AR8P9U
    https://take.ms/6kny3

    So the issue is something specific to your site. Can you please share your system status report from WooCommerce > Status?

    • This reply was modified 5 months, 3 weeks ago by  Safeer.

    I looked at the picture.
    and I verified that it is not ordering correctly.

    Plugin Support Andrew

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    Were you able to test this using a default theme such as Storefront? That would make sure it’s not the theme, as that seems to be a likely culprit at this time.

    Hopefully that helps! Have a great one!

    I tested with the Storefront theme and did not sort correctly by price, follow image:

    https://imgur.com/a/Fms8G52

    To replicate and test the error, do the following:
    Click on products.
    All the products.
    /wp-admin/edit.php?post_type=product

    Select to sort by price:
    /wp-admin/edit.php?post_type=product&orderby=price&order=asc

    In version 3.5.8, I clicked and sorted correctly, those that were priced 0,00 would appear first and then I would order by price.

    But now, version 3.6.2, I do not order anymore for the price.

    torvec

    (@torvec)

    This should help you:

    WooCommerce > Status > Tools > Product lookup tables > click Regenerate button

    Plugin Support EtienneP

    (@etiennep)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    I have exactly the same problem. all plugins deactivated, changed to storefront, problem still there. regenerated product lookup tables also did not help. any idea what else to try?

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.