How can I get Address in CustomAttributes

Friday, December 27, 2024 8:04:27 PM
  • Posted: Tuesday, October 9, 2018 2:22 PM
  • 10
Hi,

How can i get value in ShippingAddress.CustomAttributes?

This is my record;
<Attributes>
  <AddressAttribute ID=\"5bbc9414e357560d7891f9ed\">
    <AddressAttributeValue>
      <Value>
        Resül Pusat
      </Value>
    </AddressAttributeValue>
  </AddressAttribute>
  <AddressAttribute ID=\"5bb726bb482f0c4904671a46\">
    <AddressAttributeValue>
      <Value>
        5bbc94d2e357560d78922a2e
      </Value>
    </AddressAttributeValue>
  </AddressAttribute>
</Attributes>

I try take is "Resül Pusat". But, I cannot get in value. Please help me?
0
  • Posted: Friday, October 19, 2018 3:17 PM
  • 10
I find solved this problem. Let me share what I might need.

_addressAttributeFormatter.FormatAttributesArray(p.ShippingAddress.CustomAttributes)[0])
_addressAttributeFormatter.FormatAttributesArray(p.ShippingAddress.CustomAttributes)[1])
_addressAttributeFormatter.FormatAttributesArray(p.ShippingAddress.CustomAttributes)[2])
...

Thanks for non-messages. :P :)
1
back to top
Filters