# How to configure dynamic rules for each steps in Doko Builder (PRO) ?

In order to create a new bundle, access your WordPress dashboard and head to the **Bundle Rules** menu.

<figure><img src="/files/4mLl2I5w8Y038mBVsFQl" alt=""><figcaption><p>submenu doko bundle rule</p></figcaption></figure>

Then clicks **New Bundle Rule** and you will be redirected to this this page :&#x20;

<figure><img src="/files/JsrB1I15p5MhTSTRSImv" alt=""><figcaption><p>new bundle rule creation</p></figcaption></figure>

The page shows many fields that must be filled so the rules be applied smoothly : &#x20;

* **Bundle Rule Name :** Give the bundle rule you're creating a name that only you will see.
* **Bundle where this rule will apply :** Specify the bundle to which this rule applies, you can only apply it to one bundle at a time.&#x20;

Once you have selected the bundle,  click **Add Rule** to specify the rules you want for this bundle.

<figure><img src="/files/gRpvEv7Vb3XESdEVBPyc" alt=""><figcaption><p>define-rule</p></figcaption></figure>

Once the rule is added, customize-it the way you would like by filling the various field or options present there :&#x20;

* **Step Name :** Choose the step where this rule must be applied,
* **Rules :** Specify the trigger of the rules, you can say if a specific product or a group of products are the ones that trigger these rules.<br>

  <figure><img src="/files/i7Eq3J5IRXG827Ax6tdZ" alt=""><figcaption><p>rules-for-bundle-rules</p></figcaption></figure>
* **Action :** Specify the action to execute once the rule has been triggered. The available action are listed below :<br>

  <figure><img src="/files/LjmxtrQ5oh7URTXpvLGd" alt=""><figcaption></figcaption></figure>

  &#x20;

  * **Limit product in next step :** This restrict the numbers of products users will be able to add to their bundle in the next step,
  * **Limit product in current step :** This restrict the numbers of products users will be able to add to their bundle in the current step,
  * **Limit amount in current step :** This restrict the product amount users should be able to add to their bundle in the current step,
  * **Limit amount in next step :** This restrict the product amount users should be able to add to their bundle in the next step,
  * **Go to step :** This redirect the user to the step defined if the rule is triggered.

Find below, a tutorial video showing how to configure the dynamic rules for each steps in Doko Builder plugin :

{% embed url="<https://youtu.be/zZJ4flUC04g>" %}


---

# 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://docs.homescriptone.com/wordpress-plugins/doko-bundle-builder-the-ultimate-dynamic-bundle-builder-for-woocommerce/configuration/how-to-configure-dynamic-rules-for-each-steps-in-doko-builder-pro.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.
