I'm currently doing a registering service for products with wordpress and woocommerce. All products that customers can register will be in woocommerce database, but not visible on frontend.
Here is my goal : make a form with a dropdown list (items inside it will be all my woocommerce products), where user can pick his product. He will then write when he bought his product, name, address, etc.
The path will be : get all informations I want from product database of woocommerce before using it later -> get personal info written inside form on frontend -> write all that data inside a table in mySQL.
I tried with
wc_get_products(); but I do not know how to get specific information (name, url of photo, SKU, and some specific information like warranty period), it returns some weird array.
I already mapped my table for mySQL, I just need to know how to get info and send it into it.
Thanks to anyone who can help me.