#IF(#FormError)

{InputError}

{PleaseCorrectErrors}
#ENDIF #LOCAL("ViewProductsAvailable", #FeaturedActionAvailable(#Shop.Object, "MBO-ViewProducts", "Products")) #LOCAL("ViewChildObjectsAvailable", #FeaturedActionAvailable(#Shop.Object, "MBO-ViewChildObjects", "Subcategories")) #SNIPPET("INC-BatchActions", "BatchActions", "BatchActions") #LOCAL("Sum", 0) #IF(#SuperProduct) #LOCAL("SuperProductCategories", #SuperProduct.CategoryProductMaps) #LOCAL("CountSuperProductCategories", #COUNT(#SuperProductCategories)) #LOOP(#SuperProductCategories)#SET("Sum", #Sum+1) #WITH(#Category) #ENDWITH #ENDLOOP #LOCAL("ProductID", #ID)#LOOP(#CategoryProductMaps)#IF(#Product.ID == #ProductID)#SET("Sum", #Sum+1) #WITH(#Category) #ENDWITH #ENDIF#ENDLOOP#ENDLOCAL #IF(NOT #CountSuperProductCategories AND NOT #COUNT(#SubProductCategories)) #ENDIF #ENDLOCAL #ENDLOCAL #ELSE #LOOP(#CategoryProductMaps)#SET("Sum", #Sum+1) #WITH(#Category) #ENDWITH #ENDLOOP #IF(NOT #COUNT(#Categories)) #ENDIF #ENDIF #IF(#Sum==1)#ENDIF #ENDLOCAL
{AssignedCategories} {Position}
#IF(NOT #INPUT.PopUp) #IF(#IsVisible) #ELSE #ENDIF #JOIN("/", #PathFromSite)#NameOrAlias#ENDJOIN #ELSE #JOIN("/", #PathFromSite)#NameOrAlias#ENDJOIN #ENDIF #IF(#ViewProductsAvailable EQ "NotAssigned" OR #ViewProductsAvailable EQ "Allowed") #ENDIF #IF(#ViewChildObjectsAvailable EQ "NotAssigned" OR #ViewChildObjectsAvailable EQ "Allowed" AND #COUNT(#CONTENT_CHILD_CLASSES(#Shop.Object,#Class.Object,#Object))) #ENDIF #IF(#ItemNo == 0)({DisplayInBradcrumb})#ENDIF
#IF(NOT #INPUT.PopUp) #IF(#IsVisible) #ELSE #ENDIF #JOIN("/", #PathFromSite)#NameOrAlias#ENDJOIN #ENDIF #IF(#ViewProductsAvailable EQ "NotAssigned" OR #ViewProductsAvailable EQ "Allowed") #ENDIF #IF(#ViewChildObjectsAvailable EQ "NotAssigned" OR #ViewChildObjectsAvailable EQ "Allowed" AND #COUNT(#CONTENT_CHILD_CLASSES(#Shop.Object,#Class.Object,#Object))) #ENDIF #IF((#ItemNo + #CountSuperProductCategories) == 0)({DisplayInBradcrumb})#ENDIF #BLOCK("WITH_FORM_ERROR", #FormError) #ENDBLOCK
{ProductNotAssigned}
#IF(#IsVisible) #ELSE #ENDIF #JOIN("/", #PathFromSite)#NameOrAlias#ENDJOIN #IF(#ViewProductsAvailable EQ "NotAssigned" OR #ViewProductsAvailable EQ "Allowed") #ENDIF #IF(#ViewChildObjectsAvailable EQ "NotAssigned" OR #ViewChildObjectsAvailable EQ "Allowed" AND #COUNT(#CONTENT_CHILD_CLASSES(#Shop.Object,#Class.Object,#Object))) #ENDIF #IF(#ItemNo == 0)({DisplayInBradcrumb})#ENDIF #BLOCK("WITH_FORM_ERROR", #FormError) #ENDBLOCK
#IF(#IsAppointment) {ServiceNotAssigned} #ELSE {ProductNotAssigned} #ENDIF
#ENDLOCAL #ENDLOCAL

{TipsAndTricks}

{SortOrderInfo0}