November Happy Hour will be moved to Thursday December 5th.

OrderGroupAddressEx Additional Meta Field Always Comes Out As Null

Vote:
 

Hi,

I have added new meta field (Suburb) in OrderGroupAddressEx

I can set field value and it saves in OrderGroupAddressEx table. However, when i try to retrive it again it always comes out as null.

I am using below code to retrieve the order address

var orderAddress = CartHelper.OrderAddresses.First();

orderAddress["Suburb"] // is always null even though database contains value

Any suggestin to retrive custom meta field value?

Cheers

#173332
Dec 21, 2016 6:42
Vote:
 

Does your metafield support multiple languages? multiple languages metafields are not well supported by order system and those fields will not be loaded.

Otherwise it should work fine - I just checked - which version are you using?

/Q

#173338
Dec 21, 2016 10:31
Vote:
 

Hi Quan,

You are right the multilanguage was enabled and it was saving in OrderGroupAddressEx_Localizatoin table. I removed the multilanguage setting and now it works. 

I dont need multilanguage at this point so all good.

The version is 9.15

#173408
Edited, Dec 23, 2016 0:11
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.