For more details see how the Product Parts Finder for Magento 2 extension works.
Enhance your store with the extended search options:
To create a new product parts' Finder, navigate to in Catalog → Product Finders → Press Add New Item Button
Specify Title and a Number of Dropdowns.
Hit Save and Continue Edit to proceed.
In Magento 2.3.4, there is no more the Layout Update XML field in the admin panel. Instead of it, you will find the Custom Layout Update dropdown on the CMS Page Edit, Category Edit, and Product Edit pages. It was done to increase the security level of the system.
Now, to make a custom layout, you need to create a file and place it on the server in the module or theme folder, for example, app/design/frontend/THEME/LOCALE/layout. Then you will be able to choose its name from the list in the admin panel. Magento loads all layouts and looks for those among them that meet the following conditions:
1) For product pages: catalog_product_view_selectable_PRODUCT_SKU_ANYNAME.xml
For example catalog_product_view_selectable_24-MB01_CUSTOM.xml
Check vendor/magento/module-catalog/Model/Product/Attribute/LayoutUpdateManager.php to get additional data.
2) For category pages: catalog_category_view_selectable_CATEGORYID_ANYNAME.xml
For example catalog_category_view_selectable_5_CUSTOM.xml
Go to vendor/magento/module-catalog/Model/Category/Attribute/LayoutUpdateManager.php for more details.
If you already had some Layout Update on the previous Magento version, you will see the Use existing option. It means your previous layout was saved, and you can use it on the frontend. If you try to add or change this Layout Update, you will get the following error:
“Custom layout update text cannot be changed, only removed”
Check the official documentation to learn about other Magento 2.3.4 changes.
There is no limit to the number of dropdowns in a single Finder block. To configure the display of the dropdown please navigate to Catalog → Product Finders → Choose any finder → Dropdowns
By enabling Range in the dropdown settings you'll be able to automatically generate records for numeric data, like a list of years.
Now, when you import a CSV file you can simply define a range like “2001-2017” and it will generate 17 records automatically when the file is imported.
Here's how the CSV example may look like: Make1,Model1,“2001-2017”,SKU1
The example above will create 17 records in the Finder database which will differ only by the Year value.
There are three ways to add products to a Finder:
Click Add New Product button to fulfill a product form.
With Image field, that follows each option, upload images if it is needed.
You can import records to the finder with CSV files.
Deciding on CSV format is very simple: count the number of dropdowns you have and add one more for the SKU column. For example, if you have three dropdowns, adding one makes it four-column CSV.
Open the Import tab, drag and drop the CSV file and hit Import. After the import is done, hit the Save and Continue Edit button.
Also, you can import Universal products for each product finder by uploading a CSV file. To do so, please navigate to Catalog → Product Finders → Edit Finder → Universal Products Import:
This variant is useful when you want to import a large file which your web-server might not allow to upload due to size restrictions.
Please note that the finder_id part in the path should be replaced with the ID of the Finder you want to import the file into. After the file upload is done, open the Import tab and the file you've uploaded will appear ready to import.
You can upload images for the options either manually or by uploading a CSV file. For the image upload, please navigate to Catalog → Product Finders → Edit Finder → Add Images To The Filter Options:
You will find the settings menu at Stores → Configuration → Amasty Extensions → Product Parts Finder
API support implies that you can utilize Magento web API functionality. You can find more information on Magento site.
DropdownRepositoryInterface
FinderRepositoryInterface
MapRepositoryInterface
UniversalRepositoryInterface
ValueRepositoryInterface
ProductRepositoryInterface
POST (/V1/amasty_finder/product/find) - gets the products collection by the finder options.
The format values are sent in the request body is:
{ "finderOptions": [ { "dropdown_id": 1, "value": "1" } , { "dropdown_id": 2, "value": "2" } , { "dropdown_id": 3, "value": "3" } ] }
Magento 2 Product Parts Finder extension is preintegrated with Cron Tasks List to provide store owners with an opportunity to track and manage all cron tasks running in the website background.
To view all scheduled and executed cron tasks, go to System → Cron Tasks List
Run all cron tasks and generate their schedule by clicking the ‘Run Cron’ button. Also you can delete separate tasks in bulk, apply filtering and sorting options when it is needed.