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:
Related Articles
Can the module keep the set selection of the parts finder (i.e. brand/model/year) when switching a category?
Yes, Product Parts Finder provides the opportunity to apply certain filtering parameters that will not be reset when a customer browses different categories. To enable this functionality, navigate to Stores > Configuration > Amasty ...
I'd like to sort the search results, is it possible?
The Elastic Search extension provides the functionality to create relevance rules for moving the position of specific products in the search results. Please find the details about creating relevance rules in our guide. If our Improved Sorting ...
How to show locations on the product page?
With the Store Locator for Magento 2 extension, you may add the store locator section to any page of your site as a widget. 1. To create a widget, please go to Content > Widgets and add a new widget. The type should be set to Amasty ...
How does the Full Page Cache Warmer extension work with Varnish Cache?
The Full Page Cache Warmer doesn't handle the cache, it just warms the pages by imitating the entrance of the real person on the website. The Full Page Cache Warmer extension is compatible with the Varnish. By default, the extension works with the ...
How to add product attachments to a CMS page?
Product attachments can be added to CMS pages via Magento widgets, and there are two methods to do that. Method 1 1. At Magento admin → Content → Widgets, create a widget of the Amasty Attachments Block type, choose Design Theme and click ...
Announcements
Already Done in Q1'23
Brand new extensions We launched a coming soon page for the new Back Forward Cache extension. It restores the recently visited page when the customer clicks 'Back' or 'Forward' browser options, thus ensuring faster page load speed. Subscribe to the release
Roadmap | What to expect in Q1'23
New features and improvements Improved Layered Navigation generate SEO-friendly URLs for multi-select Category filter; better speed performance of the Apply filters button; improve Category list load time. Special Promotions Pro optimize data types in
Already Done in Q4'22
New Amasty services Make sure your site is well-performing with our E-commerce QA testing service. Let our specialists check various elements of your website and get the issues fixed. The service is available for any e-commerce platform (Magento, Shopify,
Roadmap | What to expect in Q4'22
New features and improvements Elastic Search better performance of synonyms; REST API support. Product Labels enhanced extension performance with a lot of products on the page. Blog Pro posts migration from one Magento instance to another; email notifications
Already done in Q3'22
New solutions Our new SaaS tool - Website SEO Health Check. Discover the most severe SEO mistakes which can damage your website. Available as part of Pro and Premium SEO Toolkit. New features and improvements Import and Export NEW we added the possibility