#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)

{DoubleObject}

#ENDIF #IF(#DELETE OR #ASSIGN_CUSTOMERS_TO_GROUP) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#CustomerGroups) #BLOCK("WITH_FORM_ERROR", #FormError) #ENDBLOCK #ENDLOOP #ENDIF
{CustomerGroup} {IsDefault}
{NewMember}
{IsDefault}
{NonMember}
#NameOrAlias
#NameOrAlias #IF(#DELETE)#IF(#Shop.NonMemberCustomerGroup.ID NEQ #ObjectID)#ENDIF #ENDIF
#ENDLOCAL #REM - DeleteObjectsList - #ENDREM #IF(#DELETE OR #ASSIGN_CUSTOMERS_TO_GROUP) #ELSE #ENDIF

{RelatedTopics}