#IF(#HaveProducts)
{HaveProducts}
{UseExtSearch}
#REM #ENDREM
#ELSIF(#DELETE)
{AcceptActionProductType}
#REM #ENDREM
#LOOP(#DeleteObjects)
#ENDLOOP
#ELSIF(#FeatureMaxValueReached)
{Notification}
{CouldNotCreateProductType}
{FeatureMaxValueProductType} #Shop.FeatureMaxValue.ProductTypes
#REM #ENDREM
#ELSIF(#Shop.FeatureCurrentValue.ProductTypes NGE #Shop.FeatureMaxValue.ProductTypes)
{Notification}
{MaxFeatureValueReachedProductType}
{FeatureMaxValueProductType} #Shop.FeatureMaxValue.ProductTypes
#REM #ENDREM
#ENDIF
#IF(NOT #DELETE)
{ProductTypesExplanation}
#REM #ENDREM
#SNIPPET("INC-BatchActions", "BatchActions", "BatchActions")
#IF(#FormError AND (FormError_Alias OR #FormError_Name))
#ENDIF
#ENDIF
#IF(#DELETE)
#ENDIF
#IF(NOT #DELETE)
#IF(#FUNCTION("FEATURED_MENU_COUNT", #Shop.Object, "RelatedTopic") > 0)