跳到主要内容
版本:0.4.x

Searching and Filtering

With WooCommerce POS you can search for product by title and also by attribute. For example, on the demo site a search for woo will filter by title, a search for cat:posters will filter products by the Posters category and a search for cat:posters woo will filter products by Posters category with 'woo' in the title. If you wanted to select the Movie Posters category you could use cat:"movie posters".

Below is a list of some currently supported search filters.

Search phraseResult
Searches only the product title
Filters products by SKU
Filters products by id, eg: selects product id 99
Filters products by category, eg: Posters
Filters products by category, eg: Posters AND searches title for 'woo'
Filters products by a two word category, eg: Movie Posters
Filters products by category, eg: Posters. Equivalent to cat:posters
Filters products by type, eg: Simple or Variable
Filters downloadable products, eg: True or False
Filters virtual products, eg: True or False
Filters taxable products, eg: True or False
Filters in-stock products, eg: True or False
Filters backordered products, eg: True or False
Filters featured products, eg: True or False
Filters on-sale products, eg: True or False