Try our conversational search powered by Generative AI!

how can i get CustomerName from Icart?


Hi Team,

How to get the customer name from Icart?

Current code is using carthelper => Cart.Cart.CustomerName

Advance Thanks,

Jul 18, 2018 17:33

Check the order objects diagram for the Commerce version you're at, there you can see the models and what they have!

IOrderGroup has CustomerId for example :)

Jul 18, 2018 17:58

As Joel said, you can get the customerid which is a guid, and then use CustomerContext to load the CustomerContact for the name.

Jul 18, 2018 18:25

Thanks Joel and quan.

Jul 18, 2018 19:32
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.