• I have created a acf field group form which I have managed to display inside Woocommerce order line item.

    However I can’t seem to save data to it, and in once instance it looks like the data is attached to the order id, not the line_item.

    Any suggestions for how to remedy this?

    function display_acf_video_upload ( $item_id, $item, $product ){  
       if( ! ( is_admin() && $item->is_type('line_item') ) ) return;
               // display upload form
            acfe_form('video-upload');
             // display acf fields if entered
            the_field( 'video_order_number' );
            the_field( 'video_upload' ); 
    
    }
    add_action( 'woocommerce_before_order_itemmeta', 'display_acf_video_upload', 10, 3 );
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello!

    I haven’t got the time to get into Woocommerce integration for now. But I have some planned features for that in the future.

    I’m very busy with ACF Extended right now, and don’t have much time for extra research, so I can’t really help. Hope a dev will come by!

    Regards.

    Thread Starter steadynow

    (@steadynow)

    No problem thanks for the response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ACF – Woocommerce Order line item’ is closed to new replies.