Product list sort products by stock

Hello,

I want sort product list by bringing first the in stock product and the outofstock last.

I tried a couple of custom filter/function in my child theme fuctions.php without luck.

Comments

  • Hi,

    You can see all sorting options available for WooCommerece in the following screenshot:

    Our theme does not add anything beyond that, and if you want to have different sorting, you must use an external plugin or modify the files, but we do not provide help with such customization.


    Best regards

  • Great! thanks for the feedback!

Sign In or Register to comment.