#IF(#ID != #Shop.Categories.ID)
#LOCAL("ExternalSearchContent","") #REM Check if menu "CategorySearchForm" has any templates, if not show default else load "CategorySearchForm" #ENDREM #MENU("CategorySearchForm") #SET( "ExternalSearchContent", #ExternalSearchContent."". #INCLUDE(#Template) ) #ENDMENU #IF(#IsEmpty(#ExternalSearchContent))
#WITH_ERROR(#FormError) #ENDWITH_ERROR
#IF(NOT #Coverflow)
#LOCAL("PageSize", #INPUT.PageSize)#IF(NOT #DEFINED(#PageSize))#SET("PageSize", #ShopDefaultPageSize)#ENDIF #ENDLOCAL
#ENDIF
#ELSE #ExternalSearchContent[0] #ENDIF #ENDLOCAL
#ENDIF