WordPress.org

Forums

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

  1. Joost23
    Member
    Posted 3 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.

    http://wordpress.org/extend/plugins/woocommerce/

  2. James Koster
    Member
    Plugin Author

    Posted 3 years ago #

    Hey,

    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
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic