Ordering product by stock status

Displaying in stock products first

  • On the General Options -> Ordering (step 1. & 2.) panel, select the Custom Field Ascending as the Primary ordering (step 3.).

  • As the custom field name enter _stock_status (step 4.)

  • ..and the custom field type should be string or date (step 5.)

Last updated

Copyright Ernest Marcinko