# WooCommerce

- [Displaying On Sale products only in WooCommerce](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/displaying-on-sale-products-only-in-woocommerce.md): How to display WooCommerce products, which are on sale, and exclude the ones which are not
- [Ordering product by stock status](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/ordering-product-by-stock-status.md)
- [Making a product in-stock & out of stock filter](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/making-a-product-in-stock-and-out-of-stock-filter.md): WooCommerce product stock filter tutorial
- [Add to cart button for Vertical and Horizontal results](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/add-to-cart-button-for-vertical-and-horizontal-results.md): WooCommerce - Add to cart button for Vertical and Horizontal results
- [Get formatted price in result title or in content](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/get-formatted-price-in-result-title-or-in-content.md): WooCommerce - Get formatted price in result title or in content
- [Showing products in-stock only](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/showing-products-in-stock-only.md): WooCommerce - Showing products in-stock only
- [Showing in-stock and backorder products only](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/showing-in-stock-and-backorder-products-only.md): Excluding out of stock, but including instock and onbackorder products
- [Excluding hidden catalog products](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/excluding-hidden-catalog-products.md): WooCommerce - Excluding hidden catalog products
- [Showing featured products first](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/showing-featured-products-first.md): Displaying featured products first in search results
- [How to search products & product SKU?](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/how-to-search-products-and-product-sku.md): WooCommerce - How to search products & product SKU
- [How to search Products by variation SKUs?](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/how-to-search-products-by-variation-skus.md): Indexing variation SKUs to the parent product
- [Search product attributes](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/search-product-attributes.md): WooCommerce - Search product attributes
- [How to search users by city, state, zip code… ?](https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce/how-to-search-users-by-city-state-zip-code....md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.ajaxsearchpro.com/miscellaneous/woocommerce.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
