#LOCAL("DeleteObjectsList", "") #LOOP(#DeleteObjects) #SET("DeleteObjectsList", #DeleteObjectsList . " " . #ID)#ENDLOOP #IF(#DELETE OR #ASSIGN_CUSTOMERS_TO_GROUP) #IF(#DELETE AND NOT #ASSIGN_CUSTOMERS_TO_GROUP)

{AcceptAction}

{AssignCustomersToNoGroup}
#ELSE

{Warning}

{AcceptActionExt}

#ENDIF #ELSIF(#FeatureMaxValueReached)

{Notification}

{CouldNotCreateCustomerGroup}
{FeatureMaxValue} #Shop.FeatureMaxValue.CustomerGroups #INCLUDE("FeaturePromotion")
#ELSIF(#Shop.FeatureCurrentValue.CustomerGroups EQ #Shop.FeatureMaxValue.CustomerGroups)

{Notification}

{MaxFeatureValueReached}
{FeatureMaxValue} #Shop.FeatureMaxValue.CustomerGroups #INCLUDE("FeaturePromotion")
#ENDIF #IF(#DOUBLE_NEW_OBJECT OR #DOUBLE_OBJECT)

{InputError}

{DoubleObject}
#ENDIF #IF(#DELETE OR #ASSIGN_CUSTOMERS_TO_GROUP) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#CustomerGroups) #BLOCK("WITH_FORM_ERROR", #FormError) #ENDBLOCK #ENDLOOP #ENDIF
{Alias} {Name} {IsDefault}
{NewMember}
{IsDefault}
{NonMember}
#Alias #LOOP(#Languages)#BLOCK("WITH_LANGUAGE", #LanguageID)#IF(#DEFINED(#ErrorItemNo))#SET("ErrorItemNo", #ErrorItemNo + 1)#ENDIF #ENDBLOCK#ENDLOOP
#Alias #LOOP(#Languages)#BLOCK("WITH_LANGUAGE", #LanguageID)#IF(#DEFINED(#ErrorItemNo))#SET("ErrorItemNo", #ErrorItemNo + 1)#ENDIF #ENDBLOCK#ENDLOOP
#IF(#DELETE)#IF(#Shop.NonMemberCustomerGroup.ID NEQ #ObjectID)#ENDIF #ENDIF
#LOOP(#Languages)#WITH_ERROR(#FormError) #ENDWITH_ERROR#ENDLOOP
#Native
#ENDLOCAL#REM - DeleteObjectsList - #ENDREM #IF(#DELETE OR #ASSIGN_CUSTOMERS_TO_GROUP) #ELSE #ENDIF

{RelatedTopics}