> ## Documentation Index
> Fetch the complete documentation index at: https://developer.couponsplus.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Filter Groups

here an image of the components and an outline over each of them : filters (A), contexts (B) and groups (C)

## AND

* each context must return different products
  (here an image of (clothing + qty 1) + (hoodies + qty 1))

| cart | context 1 | context 2 |
| - | - | - |
| 2 x red hoodie | 1 x red hoodie | 1 x red hoodie |
| 1 x red hoodie  1 x blue hoodie | 1 x red hoodie | 1 x blue t-shirt |
| 1 x red hoodie  1 x white t-shirt | 1 x red hoodie | 1 x blue t-shirt |

* the order of the contexts in the group do not matter, each context will select different items and when constrained by a quantity, items will be prioritized by cheapest or most exp. depending on the offer.

***

Stuck? Have a question? We're here to help!

Ask for help in the official support forums!

[Open](https://wordpress.org/support/plugin/coupons-plus-for-woocommerce/)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.