K
K
Knowledge Base - Ajax Search Pro for WordPress
Buy Ajax Search Pro!
Documentation
Get Support
Search
⌃K
Links
Knowledge Base
Safe Coding Guideline
Hooks
Filters
Templating
Constants
Frontend Filters
Taxonomy Filters
Frontend filters API
Tips & Miscellaneous
Tutorials
Post Types
Taxonomy Terms
WooCommerce
Ordering product by stock status
Making a product in-stock & out of stock filter
Add to cart button for Vertical and Horizontal results
Get formatted price in result title or in content
Showing products in-stock only
Showing in-stock and backorder products only
Excluding hidden catalog products
How to search products & product SKU?
How to search Products by variation SKUs?
Search product attributes
How to search users by city, state, zip code… ?
Compatibility
Other
Other
ASP_Query
REST API
Building a custom REST API
Javascript API
Javascript Hooks
Theme Functions
Powered By
GitBook
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.)
Tips & Miscellaneous - Previous
WooCommerce
Next
Making a product in-stock & out of stock filter
Last modified
1yr ago