R
R
Roman Govorov2019-09-03 15:18:53
WooCommerce
Roman Govorov, 2019-09-03 15:18:53

How to get custom field value from Woocommerce ORDER page?

I send an order confirmation letter, you need to send the address of the pick-up point to the client by mail.
5d6e5a0a448b0376594969.jpeg
The next option doesn't work!

$metas = get_post_meta( $post->ID );
        if( isset($metas['boxberry_address']) ){
            echo 'Мета поле "boxberry_address" существует, не важно какое там значение.';
            echo $metas['boxberry_address'];
        }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question