• Resolved redrobotsystems

    (@redrobotsystems)


    Hi there,

    So it needs I need to go down the custom plugin route, there doesn’t seem to be a plugin that is able to show WooCommerce Products when creating an auction so you can click one and have all the auction information filled in with the product information, can somebody tell me how I’d be able to get the product information of products that I have created in WooCommerce? I’d need to import things such as Product Name, Descriptions, Categories, Tags, Price etc.

    I need this information so I can create a custom plugin that allows users to create auctions from the front end without having to use dashboards etc which it seems you cannot do currently.

    If anyone know where this information is and how I can get it from the WooCommerce database I’d appriciate it ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    all information about finding product data can be found here

    1. You have access to $product
    2. You have access to $product_id
    3. You have access to the Order object or Order ID
    4. You have access to the Cart object

    Alternatively, you can declare the “global $product” inside your function.

    Thread Starter redrobotsystems

    (@redrobotsystems)

    Fantastic! Just what I was looking for! Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get Product Data’ is closed to new replies.