#IF(#FormError)

{InputError}

{PleaseCorrectErrors}
#ENDIF #IF(#SuperProduct) #LOCAL("SuperProductCategories", #SuperProduct.Categories) #LOCAL("CountSuperProductCategories", #COUNT(#SuperProductCategories)) #LOOP(#SuperProductCategories) #ENDLOOP #LOOP(#SubProductCategories) #ENDLOOP #IF(NOT #CountSuperProductCategories AND NOT #COUNT(#SubProductCategories)) #ENDIF #ENDLOCAL #ENDLOCAL #ELSE #LOOP(#Categories) #ENDLOOP #IF(NOT #COUNT(#Categories)) #ENDIF #ENDIF #IF(#Shop.CategoriesTotal < 51) #ENDIF
{AssignedCategories}
#IF(NOT #INPUT.PopUp) #IF(#IsVisible) #ELSE #ENDIF #JOIN("/", #PathFromSite)#NameOrAlias#ENDJOIN #ELSE #JOIN("/", #PathFromSite)#NameOrAlias#ENDJOIN #ENDIF
#IF(NOT #INPUT.PopUp) #IF(#IsVisible) #ELSE #ENDIF #JOIN("/", #PathFromSite)#NameOrAlias#ENDJOIN #ENDIF
{ProductNotAssigned}
#IF(#IsVisible) #ELSE #ENDIF #JOIN("/", #PathFromSite)#NameOrAlias#ENDJOIN
{ProductNotAssigned}
#IF(NOT (#Shop.CategoriesTotal >= 51))
#ELSE

{CategoryBrowser}


#LOCAL("TempCategoryObject",0) #LOCAL("ProductID", #ID) #IF(#DEFINED(#ActiveCategory))#SET("TempCategoryObject",#ActiveCategory) #ELSE#SET("TempCategoryObject",#Shop.Categories) #ENDIF #WITH(#TempCategoryObject)

{Path}: #JOIN("/", #PathFromSite) #NameOrAlias #ENDJOIN

#LOOP(#SubCategories) #ENDLOOP #IF(NOT #COUNT(#SubCategories)) #ENDIF
{Category}
{Category} ({StartPage})
#IF(#IsVisible) #ELSE #ENDIF #NameOrAlias
{NoSubCategories}
#ENDWITH
#ENDLOCAL #ENDLOCAL
#ENDIF #IF(#INPUT.PopUp)
#ENDIF