With the widget rules applied, you can change the widget type i.e., the algorithm type. By changing the widget type you can easily reuse existing widgets.
Go to **Pathways and Recommendations** > **Widget Configurator**.
Select the widget you wish to modify and select the **Manage** button.
Click **Widget Global Settings** > **Edit Rule**.
Go to the **Primary Algorithm** and select an option from the drop-down menu.

Choose the **Secondary Algorithm **for the changed Primary algorithm by selecting from the drop-down menu.
Click **Save**.
# Secondary Algorithm Selection
Refer the table to understand how to select the secondary algorithm and what combinations work:
**Primary Algorithm** | **Can be Switched To** | **Allowed Secondary <br>Algorithm types** |
Frequently Bought Together | Frequently Viewed Together, <br>Similar Products | Frequently Viewed Together, <br>Similar Products |
Frequently Viewed Together | Frequently Bought Together <br>Similar Products | Similar Products |
Similar Products | Frequently Bought Together, Frequently Viewed Together | None |
Search | NA | None |
Category | NA | None |
Visit [this](🔗) article to learn about the available widget algorithms.