Okay
  Public Ticket #2919074
Creating product table
Closed

Comments

  • Dean Loh started the conversation

    When I saw https://wpdatatables.com/documentation/table-examples/products-table/ I was under the impression that I could use this plugin to display products in Woocommerce? Tell me if I was right? Because now that I have installed the plugin I couldn't figure out how to. Would be great if you can show me a guide on how to create a table that shows all products in Woocommerce, data to display includes

    1. Product name
    2. Category
    3. Stock quantity
    4. Price
    5. Buy now
  • [deleted] replied

    Hi Dean

    Thank you for reaching out to us.

    At the moment, we don't have a native WooCommerce integration, so pulling data from WooCommerce's database can only be achieved using MySQL query-based tables. If you're not that good with MySQL, you can try using our Query Constructor, but please note that this constructor is just a helper - it's not an ultimate query generator.

    It constructs a suggestion of a query, that you often need to modify to get the data you need. Included support for the plugin doesn't cover writing custom queries, so we wouldn't be able to help you with that.