
Creating Merchandising Zones |
|
Adding all types of Merchandising Zones (excl. Search) Inserting a merchandising zone is a straightforward process and can be added to individual pages or to a master template if the zone is required to appear on all pages. All zones are simply div tags with an extra property called lmzone. lmzone must correspond to a zone ID created within the Locayta ESP Control Panel. Below is an example of inserting a zone:
Adding Search zones We recommend that the search box is part of the 3rd party site template. The text box should be named “q”. This does require an “empty” search page to be created, within which the Locayta ESP Search Zones can be added. The two important features of the search form are that the Method must be Get and the name of the search text box must be “q” |
Below is an example of how a search box should be setup: <form action="/search.aspx" method="get"> <div><input name="q" /></div> </form> Div tags for Search Zones Div tags for Search Zones contains an extra parameter called Facetdomid which identifies the ID of the div which contains the Facet Navigation Zone. The Facet Navigation Zone is a special case as it is considered to be a child of it’s Search Zone and does not have any attributes of its own. Below is an example of inserting a Search Zone and its related Facet Navigation Zone: </div> <div id="Facets"> </div>
|
| << Back to Implementing Locayta ESP |