• Hello, is it in any way possible to create a separate “Products” admin list? For example for a specific product type? A direct link like “Products” from the admin navigation. But that I can rename to for example “Events”.

    I’m a developer so I’m thinking about finding a way doing this from code, not by installing an existing plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Peter Westerlund

    (@peter-westerlund)

    Hmm yes, yeah I mean I guess that’s an option. But I have hoped there was a way just making use of that code that already exist in the woocommerce plugin. Like just making a new instance of the product table that already exist. I wanna use hooks as much as possible. And keep everything the “WordPress” and “Woocommerce” way.

    So, if I would go that more free way that you suggest, I would at least make use of WordPress table list class and don’t mark up the table myself with HTML.

    But I would hope there maybe would be a Woocommerce table list I could use. Maybe I have to dig into woocommerce’s codes to search for that or something. But would have saved a lot of time of someone knew if it’s possible to do it this way that I want.

    Thread Starter Peter Westerlund

    (@peter-westerlund)

    Yea, I’ve found that file too. That’s a good start.

    But I can’t find how WooCommerce prints out the table. They don’t have a display() like WordPress’s table list class has.

    In the file class-wc-admin-post-types.php on line 101 there is a $wc_list_table = new WC_Admin_List_Table_Products();.

    But the $wc_list_table variable is never used again in the whole plugin, even though it’s set as a global variable. It’s a little mysterious.

    I feel like it’s something I’m missing here?

    Thread Starter Peter Westerlund

    (@peter-westerlund)

    Does anyone know how to do? I was thinking about asking on Stack Overflow or WordPress Stack Exchange but earlier when I asked question there about problems with WooCommerce or any other plugin I have been downvoted for asking about plugins. That should be asked in the plugin’s support forum. It’s just too bad that there’s not the same activity and code knowledge here.

    Is there any other WooCommerce-forum where there are more developers I can ask?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Separate admin product list?’ is closed to new replies.