#REM #------------------------------------------------------------ # The following LOCAL-declarations define which fields from # the registration set are used for the extra customer # information. # If more fields are needed, define them before calling the # include in parent template! #------------------------------------------------------------ #ENDREM#LOCAL ("_Department",1)#LOCAL ("_JobTitle",1)#LOCAL ("_Phone",1)#LOCAL ("_PhoneBusiness",1)#LOCAL ("_PhonePrivate",1)#LOCAL ("_PhoneCell",1)#LOCAL ("_Fax",1)#LOCAL ("_EMail",1)#LOCAL ("_EMailBusiness",1)#LOCAL ("_EMailPrivate",1)#LOCAL ("_VATID",1)#REM #------------------------------------------------------------ # CustomerInfo is the store variable for the output #------------------------------------------------------------ #ENDREM#LOCAL ("CustomerInfo","")#REM #------------------------------------------------------------ # Loop over all entries in registration set. # #Attribute.Alias will be used as a key to compare with the # defined fields above and lookup in the address data for the value. # For each defined and visible field an html formatted entry in the # CustomerInfo variable will be stored #------------------------------------------------------------ #ENDREM#LOOP (#Shop.RegistrationSet)#LOCAL("Key", #GET("_".#Attribute.Alias))#IF(#Key AND #Attribute.IsVisible)#LOCAL("Value", #GET(#Attribute.Alias))#IF(#Value)#SET("CustomerInfo", #CustomerInfo . "
{FurtherInformation} |