Home Forums ACF PRO Add checkbox on back office order


Add checkbox on back office order

  • Hi everyone,

    I would like to know how can i do for display a chekbox on each line products in my BO, like that :Order

    I try to add on my functions.php something like that :

    add_action( 'woocommerce_before_order_itemmeta', 'storage_location_of_order_items', 10, 3 );
    function storage_location_of_order_items( $item_id, $item, $product ){
        // Only in backend Edit single Order pages
        if( current_user_can('edit_shop_orders') ):
        // The product ID (in WooCommerce 3+)
        $product_id = $product->get_id();

    but i don’t know how to insert my checkbox…

    Can you help me?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.