Feature Requests
Share ideas, discuss and vote on requests from other users in community
 

Add a gender field to the client fields

Telforce shared this idea 3 weeks ago
Already Possible

Right now when a client signs up there is no gender field. So when sending out an email you can't address the recipient with "Dear sir lastname" or Dear madam lastname".

So this is a very simple request to add a gender field to the clients as well as contacts.

Comments (2)

photo
1

Hi there,

This could be achieved today with a Custom Client Field to obtain the client's gender, then in your email template, use some conditional logic to display the appropriate salutation based upon their selection, eg:

  1. {if $client_custom_field_gender eq 'Male'}
  2. Dear Mr {$client_last_name},
  3. {elseif $client_custom_field_gender eq 'Female'}
  4. Dear Ms {$client_last_name},
  5. {else}
  6. Dear Mx {$client_last_name}
  7. {/if}

Alternatively, create the custom client field for "Salutation" and ask the customer to choose their preferred option; Mr, Mrs, Miss, Ms, Mx etc, and just include that directly in email tempaltes, EG:

  1. Dear {$client_custom_field_salutation} {$client_last_name},

photo
1

Thanks for your response. But a custom field like that is hard to integrate with the cart order form. When a client signs up and fills out his details i don't want a blank gender field.