• I want to create a list of products whose actual inventory is lower than the warning inventory.

    WP_List_Table can make the inventory field editable, like a input number element?

    It can add a custom buttom to save the data?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I see you added “woocommerce” tag to your post.

    If you’re using the WooCommerce plugin for these “products”, kindly ask your question in the WooCommerce plugin’s own support forum — so the plugin’s developers and user community can help you.

    https://www.ads-software.com/support/plugin/woocommerce/

    Good luck!

    Moderator bcworkz

    (@bcworkz)

    The following is generally speaking. For aspects specific to WooCommerce, George’s recommendation is a good one.

    The List Table cells are not editable on their own, you’d need to customize cell content to appear as a text input field and implement some kind of mechanism to update the DB when there is a change.

    Instead of that, consider implementing a modal form like the Quick Edit on post and page list tables.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[WP_List_Table] set data to a text input element’ is closed to new replies.