#BLOCK("WITH_FORM_ERROR",#FormError)
#IF(#HaveProducts)

{Notification}

{HaveProducts}
{Tip}: {UseExtSearch}

#REM #ENDREM #ELSIF(#DELETE)

{AcceptActionProductType}

#REM #ENDREM #LOOP(#DeleteObjects)#ENDLOOP #ELSIF(#FeatureMaxValueReached)

{Notification}

{CouldNotCreateProductType}
{FeatureMaxValueProductType} #Shop.FeatureMaxValue.ProductTypes #INCLUDE("FeaturePromotion")
#REM #ENDREM #ELSIF(#Shop.FeatureCurrentValue.ProductTypes NGE #Shop.FeatureMaxValue.ProductTypes)

{Notification}

{MaxFeatureValueReachedProductType}
{FeatureMaxValueProductType} #Shop.FeatureMaxValue.ProductTypes #INCLUDE("FeaturePromotion")
#REM #ENDREM #ENDIF #IF(NOT #DELETE)
#SNIPPET("INC-BatchActions", "BatchActions", "BatchActions")
#IF(#FormError AND (FormError_Alias OR #FormError_Name)) #ENDIF #ENDIF #IF(NOT #DELETE) #WITH(#Shop.ProductClass) #ENDWITH #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#ChildObjects) #IF(#Class.Alias EQ "ProductType") #ENDIF #ENDLOOP #ENDIF
{Alias} {Name}
 
#Alias #Name {Explanation}
#Alias #IF(#HaveProducts)(#NumberOfProducts {Products})#ENDIF #Name
#Alias #Name
#IF(#DELETE) #ENDIF
#IF(NOT #DELETE) #IF(#FUNCTION("FEATURED_MENU_COUNT", #Shop.Object, "RelatedTopic") > 0)

{RelatedTopics}

#ENDIF #ENDIF #ENDBLOCK