> For the complete documentation index, see [llms.txt](https://documents.risingbamboo.com/wp-botanica/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documents.risingbamboo.com/wp-botanica/ecommerce-settings/category-page-setting/product-category-operator.md).

# Product Category Operator

This option allows you to set the logic for the filter product by categories.

{% hint style="danger" %}
Reminder! You need to choose the correct option for the filter by category function to work correctly
{% endhint %}

From your **WP Dashboard,** Go to <mark style="color:green;">**Rising Bamboo**</mark> → <mark style="color:green;">**Settings**</mark> → <mark style="color:green;">**WooCommerce**</mark>

1. **AND**: Get products belonging to all selected categories
2. **OR**: Get products belonging to one of the selected categories

<figure><img src="https://2433441988-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6hZrhlnstiFKDurAWp2p%2Fuploads%2FemQUSHRA8hYxJJYpInXO%2Fimage.png?alt=media&amp;token=0a21b646-f9cd-4bec-a4b8-33fa59b65e20" alt=""><figcaption></figcaption></figure>
