• Resolved mosabua

    (@mosabua)


    Hello,

    how can I get the information of the checkout fields in a custom email template (php file)

    thanks
    werner

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author quadlayers

    (@quadlayers)

    Thread Starter mosabua

    (@mosabua)

    Hello @quadlayers

    thanks for your reply. I already found a way to access the data. I justed used the get_post_meta function :

    $objekt = get_post_meta($order->get_id(), '_shipping_address_2' ); 
    echo $objekt[0];

    Thanks for your time and your great plugin

    Hey There I don’t want to use the fields in emails, i need to pull these data to an other plugin’s register fields i tried mosabuas way ($objekt = get_post_meta($order_id, ‘additional_boy’ ); ) or like other fields $additional_boy = $order_data[‘additional_boy’];
    but non of em works
    Any one knows how can I get my custom fields from other php’s?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Access fields in php files’ is closed to new replies.