> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yayextra/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yayextra/how-it-works/add-conditional-actions.md).

# Add Conditional Actions

You can also use the **Actions** tab to apply **fees** or **discounts** using actions based on conditions.

For instance, as used in the GIF example, we use the IF-THEN condition to set this rule;&#x20;

**IF** the Delivery Date is selected for dates between **March 25, 2023,** and **March 27, 2023.**&#x20;

**THEN** add a **$10** **Express Delivery fee**.

<figure><img src="https://1017190968-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj2smJJDNU4M9yRHtLZ9O%2Fuploads%2F2lEQR3C8UBfstrnScyQr%2FYayExtra_How%20to%20apply%20action%20to%20Option%20sets.gif?alt=media&amp;token=9bf46bd8-f6c4-45f5-b08b-b5327f3f3c4f" alt=""><figcaption></figcaption></figure>
