ACF Retreive custom filed data on Order Details Woocommerce
-
Hi, I have created a field called link, and want to show the value once user completes woocommerce checkout.
I tried the code on Product single page, its working..
but not working on Order Details page.add_action( ‘woocommerce_after_single_product_summary’, ‘display_link’, 1 );
function display_link( $order ) {
echo ‘<div> Link : ‘;
echo the_field(‘assesment_link’).'</div>’;
}
- The topic ‘ACF Retreive custom filed data on Order Details Woocommerce’ is closed to new replies.