[ad_1]
Hi,
I need to get the _order_key (like _order_key array ( 0 => ‘wc_order_MQeJJG9ltgmvr‘, ) as a custom field to use the ‘wc_order_XXXXXX….’. How can I do it? If I use the “Open Custom Field Wizard” I can’t find it in the order, but of course is there.
I have try this: return (new CSimpleField(‘normal’,’meta_key’,’_order_key’,null,null))->GetHtml(); but it didn’t worked.
Can you help me?
Thanks a lot!
