Support

Account

Home Forums ACF PRO Add checkbox on back office order

Unread

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)

The topic ‘Add checkbox on back office order’ is closed to new replies.