• Resolved chtoma27587

    (@chtoma27587)


    Hi,

    ist it possible to retrieve the id of suborders whenever someone completes an order?

    I added a snippet for the woocommerce_thankyou hook to automatically set the status ‘completed’ for the order. When Dokan builds suborders out of the products in the main order, they won’t get updated. Therefore I need to get the id of all suborders. Is this possible?

    Additionally, in the dashboard of a customer he only sees the main order under the tab “orders”. He has to click on the main order to get to the suborders. Is it possible to move the suborders directly to the “orders” overview? In general it would be nice to have a hook or something like that so that I can retrieve data of suborders.

    Many thanks in advance!

    Best regards

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

    Thank you for your inquiry regarding the retrieval of suborder IDs and the organization of suborders within the dashboard.

    To achieve the functionalities you’ve described, which involve retrieving data and potentially moving suborders directly to the “orders” overview, custom customization is indeed necessary. While WooCommerce and Dokan offer a wide range of hooks and filters for customization, your specific requirements fall into the realm of more advanced and tailor-made development.

    We recommend consulting with a professional developer or a WordPress customization expert who can assess your needs and create a solution tailored to your exact specifications. They can help you retrieve suborder IDs and adjust the organization of suborders to align with your preferences.

    Thanks!

    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @chtoma27587,

    Due to inactivity, we are marking this topic as resolved. Feel free to open a new one if you face any further issues.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Get suborder ID programmatically’ is closed to new replies.