No matching results code template | Description |
$(S_NORESFND2)<br/><br/> $(site_av_preview) | This displays the message “Sorry, no results matching your search criteria were found”. You could of course write these words into the template directly but this wouldn’t be translated into other languages in case the customer chooses another language. Then the template displays the availability preview so the customer can quickly check the other dates when resources can be available |
No results matching your search criteria were found. Below are our suggestions for similar dates.<br/><br/> $(search.type=periods_day_range_ext7) $(retry_search) | This template first informs the customer that no results were found according to their criteria (if you wish to have such custom message appear in different languages you’ll need to use conditional tags in connection with the $(language) tag (more about this here). Then the template changes the search criteria in two ways using the $(search.type=...) tag. First it changes the search mode into a mode where the search also finds shorter available periods within the search period and it also extends the searched period by 7 days (before the start date and after the end date). For example if the customer searches for availability between Feb 10 and Feb 15, this will retry the search between Feb 3 and Feb 22 but will also find availability, say between Feb 13 and Feb 16. In fact this retried search will list all available periods, not just one (as long as $(available_time_ranges) is used in the resource result code template). |
No results matching your search criteria were found. $(if) $(result_count) greater than 0 $(then)Below are our suggestions for similar dates.<br/><br/>$(endif) $(search.type=periods_day_range_ext7) $(retry_search) |
This is a small variation of the previous template. Here the text "Below are our suggestions for similar dates" will be displayed only if the retried (broader) search actually manages to find any results. Otherwise only "No results matching your search criteria" will be displayed. A conditional statement was used to accomplish this (more here). Please note that the tag $(result_count) used in this template always corresponds to the number of results in the retried search. The original search is known to have zero results. |