#WITH_ERROR(#FormError AND NOT #DEFINED(#FormErrors.Form.CSVImport)) #IF(#INPUT.Page) #ENDIF#IF(#INPUT.PageSize) #ENDIF #IF(#INPUT.OrderDesc) #ENDIF #IF(#FormError AND NOT #DEFINED(#FormErrors.Form.CSVImport))

{InputError}

#IF(#FormErrors.Reason.DoubleEMailInAddresseeList) {DoubleEMail} #ENDIF #IF(#FormErrors.Reason.NumberOfAddresseesExceeded) {AddresseesExceeded} #ENDIF #IF(#FormErrors.Reason.NoEMail) {NoEMail}: #LOOP(#FormErrors.Reason.NoEMail.Errors) #IF(#Reason EQ "NoEMail") #CustomerName[html](#CustomerNo) #IF(#ItemNo+1 < #FormErrors.Reason.NoEMail.ErrorCount), #ENDIF #ENDIF #ENDLOOP

({Summary}: #FormErrors.Reason.NoEMail.ErrorCount)

#ENDIF #IF(#FormErrors.Reason.InsertNotSuccessful) {InsertNotSuccessful}: #LOOP(#FormErrors.Reason.InsertNotSuccessful.Errors) #IF(#Reason EQ "InsertNotSuccessful") #CustomerName[html](#CustomerNo) #IF(#ItemNo+1 < #FormErrors.Reason.InsertNotSuccessful.ErrorCount), #ENDIF #ENDIF #ENDLOOP

({Summary}: #FormErrors.Reason.InsertNotSuccessful.ErrorCount)

#ENDIF #IF(#FormErrors.Reason.FORMAT_NOT_EMAILADDRESS) {FormatNotEMail}:

({Summary}: #FormErrors.Reason.FORMAT_NOT_EMAILADDRESS.ErrorCount)

    #LOOP(#FormErrors.Reason.FORMAT_NOT_EMAILADDRESS.Errors) #IF(#Reason EQ "FORMAT_NOT_EMAILADDRESS")
  • #Vars.Value
  • #ENDIF #ENDLOOP

#ENDIF #IF(#FormErrors.Reason.EMailFromTrayInAddresseeList) {DoubleEMailFromTray}: #LOOP(#FormErrors.Reason.EMailFromTrayInAddresseeList.Errors) #IF(#Reason EQ "EMailFromTrayInAddresseeList") #EMail #IF(#ItemNo+1 < #FormErrors.Reason.EMailFromTrayInAddresseeList.ErrorCount), #ENDIF #ENDIF #ENDLOOP

({Summary}: #FormErrors.Reason.EMailFromTrayInAddresseeList.ErrorCount)

#ENDIF #IF(NOT (#FormErrors.Reason.TOO_MANY_WARNINGS OR #FormErrors.Reason.EMailFromTrayInAddresseeList OR #FormErrors.Reason.DoubleEMailInAddresseeList OR #FormErrors.Reason.NoEMail OR #FormErrors.Reason.InsertNotSuccessful OR #FormErrors.Reason.NumberOfAddresseesExceeded) ) {PleaseCorrectErrors} #ENDIF #IF(#FormErrors.Reason.ERROR_INVALIDCUSTOMER) {InvalidCustomer} #ENDIF
#ENDIF #IF(#DELETE)

{AcceptAction}

{AcceptActionInfo}

#LOOP(#DeleteObjects)#ENDLOOP #ELSIF(#DELETEALL)

{AcceptActionAll}

{AcceptActionInfo}

#ENDIF #IF(NOT #DELETEALL) #IF(NOT #DELETE) #SNIPPET("INC-BatchActions", "BatchActions", "BatchActions") #ENDIF #INCLUDE("INC-PagerHeader") #IF(#DELETE) #ELSE #IF(#INPUT.OrderBy NE "Name") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#INPUT.OrderBy NE "EMail") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#INPUT.OrderBy NE "Unsubscribed") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #IF(#COUNT(#Pager.Items)) #LOOP(#Pager.Items) #ENDLOOP #ELSE #ENDIF #ENDIF #IF(NOT #DELETE) {BubbleHelpAddNewCustomer} #ENDIF
{Name} {EMail} {Status}{Name}{Name}{Name}{EMail}{EMail}{EMail}{Status}{Status}{Status}
#IF(NOT #DELETE)#INCLUDE("Pager")#ENDIF
#IF(#DEFINED(#User) AND NOT #User.IsAnonymous) #LOCAL("Customer", #FUNCTION("GetCustomerForUserID", #User.ID, #Shop.ID)) #IF(#Unsubscribed == 1) #ELSIF(#Unsubscribed == 2) #ELSIF(#Unsubscribed == 3) #ELSE #ENDIF #IF(#Customer)#IF(#Customer.BillingAddress.DisplayName)#Customer.BillingAddress.DisplayName#ELSE#User.Name#ENDIF (#Customer.Alias)#ELSE#User.Name#ENDIF #ENDLOCAL #ELSE #IF(#Unsubscribed == 1) #ELSIF(#Unsubscribed == 2) #ELSIF(#Unsubscribed == 3) #ELSE #ENDIF #Name #ENDIF #EMail #IF(#Unsubscribed == 1) {Unsubscribed} #ELSIF(#Unsubscribed == 2) {RequestSubscribe} #ELSIF(#Unsubscribed == 3) {RequestUnsubscribe} #ELSE {Subscribed} #ENDIF
#IF(#DEFINED(#User)) #LOCAL("Customer", #FUNCTION("GetCustomerForUserID", #User.ID, #Shop.ID)) #IF(#Unsubscribed == 1) #ELSIF(#Unsubscribed == 2) #ELSIF(#Unsubscribed == 3) #ELSE #ENDIF #IF(#Customer) #IF(#Customer.BillingAddress.DisplayName)#Customer.BillingAddress.DisplayName#ELSE#User.Name#ENDIF (#Customer.Alias) #ELSE #User.Name #ENDIF #ENDLOCAL #ELSE #IF(#Unsubscribed == 1) #ELSIF(#Unsubscribed == 2) #ELSIF(#Unsubscribed == 3) #ELSE #ENDIF #Name #ENDIF #IF(#User) #User.EMail #ELSE #EMail #ENDIF #IF(#Unsubscribed == 1) {Unsubscribed} #ELSIF(#Unsubscribed == 2) {RequestSubscribe} #ELSIF(#Unsubscribed == 3) {RequestUnsubscribe} #ELSE {Subscribed} #ENDIF
{NoAddresseesFound}
{BubbleHelpAddNewAddressee}
{BubbleHelpAddCustomerGroup}
{AddCustomerAndUserListFromTray}
#ENDIF
#IF(#DELETE) #ELSE #ENDIF
#ENDWITH_ERROR #IF(#RestrictedNumberOfAdressees AND NOT #DELETE AND NOT #DELETEALL)
{Notification}: {RestrictedNumberOfAdressees}#ENDIF
#IF(#DELETEALL)
#ELSE #IF(#Shop.FeatureMaxValue.CSVExportImport) #IF(#FUNCTION("MENU_COUNT", "RelatedTopic") > 0)

{RelatedTopics}

#ENDIF #ENDIF #ENDIF