Custom Meta Fields - Multi criteria search
Custom meta tags can be used to allow searches based on specific criteria, similar to using categories but allowing for more customization. They are useful for web sites like e-commerce and real estate sites where searches will be based on specific criteria such as price, size, color, location or other defining features. By combining multiple search criteria it allows very specific searches to be made.
Custom meta field are available in V6 of Zoom. But not in earlier releases.
This tutorial references HTML pages that were developed for the Zoom fruit shop demo, a small web site based on a fruit shop selling different types of fruit and vegetables. There are two main steps to adding custom meta fields. The first is adding additional meta data to each HTML page in question, the second is configuring Zoom to use those new meta fields before indexing the site.
"ZOOMIMAGE" is the thumbnail image that is displayed in the search results for an item.
Meta fields can have any name. But the name must be used consistently throughout your web site. The content information is the value of this field on this page. Note that if a field has multiple values you can create a multi-select field and have the same field apear multiple times in the meta data (as is the case above with the AVAILABILITY field).
In the Zoom Indexer you will then need to go to the "Custom meta fields" option on the Configure tab. Use the Add button to create a new entry for each of the meta fields you have added to your pages. For each entry you will need to add the matching name of the meta tag, choose a type, enter how the field will appear in search results and on the search form and choose a method for matching results where required. The Zoom Indexer help file section "Custom meta search fields" details the different types and search methods that are available to use for each meta tag.
The images below detail the creation of the PRICE meta tag and the extra configuration option available for Money where you can choose the currency symbol.
The image below shows the custom meta fields after they have been entered into the indexer for the fruit shop demo; TYPE, PRICE, PRICEMETHOD, ORIGIN, ORGANIC and AVAILABILITY.