How to define which finder shows the product results on a .phtml page?

How to define which finder shows the product results on a .phtml page?

If there are several Product Parts Finder blocks on a .phtml page, you may differentiate the results by the Finder ID value. When the needed finder is used, the \Amasty\Finder\Controller\Index\Search::execute controller receives the request with the needed ID of the finder. 

Let's imagine we have 2 finders on a page. Once the search is triggered by Finder 2: 



 the \Amasty\Finder\Controller\Index\Search::execute controller will receive the value of '2' for the $finderId variable: 



You can also check each finder's ID in the Admin Panel → Amasty → Product Parts Finder → Product Finders.