Added conditions check joined with backend settings, normalized and formatted code
Fixed typo
Added s_name to be exported as not-custom property, so customers' full name can be used in email headers for better conversions.