For more details see the Product Parts Finder extension page.
Open the following file:
This will add finder with ID=1 to a top of a category page. If you want to place here the finder with a different ID simply replace the 1 inside id tag with the ID of your finder. You can check finder IDs on the Parts Finder grid:
Save changes and flush Magento cache. Done!
In the same exact file as before:
This is where we define the place for the Finder block on the page by changing the content.
Since we're using catalog_category_layered we should look for it in the theme files. In case it's RWD, here: /app/design/frontend/rwd/default/layout/catalog.xml
To add the Finder block to a sidebar we need to change the reference value to left_first. Also, we want to place the Finder before the navigation block. Since from the look of catalog.xml we know that navigation's block name is catalog.leftnav all we need to do is to mark that we want the Finder block to be placed before catalog.leftnav.
1. To manage compatibility with Smartwave Ajaxcatalog, find and edit a file: app/code/local/Smartwave/Ajaxcatalog/controllers/Catalog/CategoryController.php
2. After a line
$this->generateLayoutXml()->generateLayoutBlocks(); /*Generate new blocks*/
/*compatibility with Amasty Finder*/ $html = $this->getLayout()->createBlock('cms/block') ->setBlockId(Mage::registry('current_category')->getLandingPage()) ->toHtml();
Using this guide you will learn how to set up very basic Finder instance quickly.
Let's say I'm selling car parts. I have a store with a wide variety of products and I want my customers to be able to find the part they need faster. For now, I want to start with my wheels collection.
Wheels in many cases are not interchangeable between different cars so it will be a good idea to filter the wheels collection to display only the wheel which will fit a particular car.
I can do this using the Finder. I will configure the Finder to filter Wheels category to display wheels for a selected car only.
Luckily, all my wheels are already in the same category so I can start configuring the Finder. But if in your store wheels are distributed among different categories, you should set the Anchor on a parent category.
Since I want to filter wheels I've considered three most important variables for my Finder: car make, car model and wheel diameter. So I'm going to create a Finder using these three variables as my dropdowns.
Second important setting there is Custom Destination URL. There you set the page to which the Finder block will redirect you after you hit the Find button. This setting can be changed at any time. Since I want to filter only the Wheels category I've set “wheels.html” there to redirect me to example.com/wheels.html where my Wheels category is.
Hit Save to proceed.
The easiest way to fill up Finder with products is to utilize a CSV import feature. For this, I will need to compile a CSV file with the data containing all the variations for Make, Model and Diameter and assign these variations to the products in my Magento Catalog.
Deciding on CSV format is very simple: count the number of dropdowns you have and add one more for a SKU column. In my case there are three dropdowns, adding one makes it four-column CSV.
Open the Import tab, drag and drop the CSV and hit Import. After the import is done hit the Save button.
Open the Finder you've just created and navigate to the Get Finder Code tab.
Then I open Catalog > Manage Categories, select the Wheels category, navigate to Custom Design tab and look for Custom Layout Update. This is where I'll insert the code I got from the Get Finder Code tab
Hit Save Category and it's done.
When opening the Wheels category in the store front I can see the Finder block.
And that is it, I have working Finder filter on my Wheels category now.
You can import records in finder in two formats: CSV and XLS (XLSX).
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. The same goes for XLS format.
There are two ways to import files into the Finder: manually from the Finder page or by uploading the file to the specific folder in the Magento directory. The latter is useful when you want to import a large file which your web-server might not allow to upload due to size restrictions.
To import files from the Folder in Magento you should put the file to the following directory: /magento_folder/media/amfinder/ftp_import/finder_id/
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 Finder and hit Load Files Uploaded by FTP in the Import tab and the file you've uploaded will appear ready to import.
If certain selection can output multiple different SKUs in the result, you can bundle these SKUs and import the whole thing in one line. Here's the example: Make1,Model1,Year1,“sku1,sku2,sku3,sku4,sku5,sku6” Make1,Model2,Year2,“sku3,sku4,sku5,sku6,sku7,sku8”
With these two lines Finder will generate twelve unique records, one for each Make-Model-Year-SKU combination.
By enabling Range in dropdown settings you'll be able to automatically generate records for numeric data, like a list of years.
Now, when you import a CSV or XLS 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.