Profile: eliharel


User posts

4 years ago

We have a need to access a custom attribute of a customer and pass it to Salesforce
in the CustomerContactTypeConverter class (in the sevenapikes plugin)

we added a few custom attributes in the following manner through Nop

Menu - Configuration->Setting-->Customer Setting
Customer Form Fields Tab
and than new custom Attribute.

So is there a way to access those attribute and get their value by name ? or any other way ?

hoping for a sample code if possible.

Many thanks 

4 years ago

Thank you very much ! Helped

4 years ago


for example 

How can I enable logging in the class : CustomerContactTypeConverter ? 

I want to be able to do : Logger.Error("Message"); but Logger isn't familier there.

Thank you for any help