• Resolved SpeakOut!

    (@123host)


    This looks like a great plugin to do exactly what I am after. But when I add a billing_title field to collect Dr or Ms or whatever on the cart page, it doesn’t seem to be passed in the data array.

    I would expect to get it in $data['billing']['title'] just like I get $data['billing']['first_name'] etc. but it is empty.

    What am I wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ThemeHigh

    (@themehigh)

    Your issue needs a detailed check. Can you please raise a ticket through our website? We hope our technical team will be able to help you.

    Thank you!

    Thread Starter SpeakOut!

    (@123host)

    Thanks, but I actually resolved it after a lot of digging

    To access the value it is something like $data['meta_data'][0]->value

    I have no idea why the rest of the billing data is accessible as an array e.g. $data['billing']['first_name'], but this is an object.

    I hope this helps someone else.

    Plugin Author ThemeHigh

    (@themehigh)

    Great!

    there should be some documentation about it.

    I also had to dig quite a while to find that custom data are accessible via $order->get_meta();

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Additional field value not being passed in data?’ is closed to new replies.