Support » Plugin: Stock Locations for WooCommerce » Hide Stock Locations column from order in admin

  • Resolved bbceg

    (@bbceg)


    Hi,

    Is it possible to hide/override the Stock Locations column (header and input fields) from the order page in the admin? In my case these are not required (although the chosen location alone might be helpful).

    I had hoped to use the following…

    remove_action('woocommerce_admin_order_item_headers', array('SlwOrderItem', 'add_stock_location_column_wc_order', 10));

    Unfortunately this doesn’t do the trick.

    Any guidance appreciated.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @bbceg you will get this option in next version on settings page as a checkbox item.

    Display stock location under:

    Cart Page
    Checkout Page
    Order Received Page
    Order Email
    Products List (New Option)

    Thread Starter bbceg

    (@bbceg)

    Thanks very much for the swift response @fahadmahmood although this sounds like it might be slightly different. I’m happy for the information to appear under WooCommerce > Products as we can use this to verify stock levels.

    We’re only looking to hide the fields from individual orders as we’ll be syncing stock levels via a 3rd party ERP system much of the time.

    Unless I’ve misunderstood the new option…

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @bbceg so the upcoming version will have two new options as follows:

    Display stock location under:

    Cart Page
    Checkout Page
    Order Received Page
    Order Email
    Products List (New Option)
    Edit Order Page (New Option)

    Thread Starter bbceg

    (@bbceg)

    Thanks very much for sorting this so promptly @fahadmahmood and for the credit!

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Thank you so much, I thought you will give a nice review 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.