WooCommerce - excelling eCommerce
Out of stock products show at the end (2 posts)

  1. Joost23
    Posted 2 years ago #

    Is it possible to show out of products at the end of a category? So first the customer see the products that are available and after that the products that out of stock.


  2. jameskoster
    Plugin Author

    Posted 2 years ago #


    It depends. You could use pre_get_posts to order based on the stock, but then you'll lose your other sorting.

    I can't really think of a way to do this if you want to keep the standard sorting options available as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic