• Hi,

    It may be a bit of an unusual question for the packing slip.
    1. Would it be possible to get the order information (the order table) of an order with meta data that is the same as in the current order?
    2. And would it be possible to get the order information (the order table) of an order the ordernumber that is the same as the meta data in the current order?

    I will explain my case and the reason why.
    We are using an order splitter plugin to split items, that are not yet shipped, from the main order #3456 to a suborder. Now this suborder is getting the following meta data: “cloned_from: 3456”.
    So I would like to get the order data of all the other orders that have this same meta data. (preferably only the orders that are not the current one, or orders that have the order status “complete”)
    And I would like to display the order items from the order that has the ordernumber that is stored in the meta data.

    I hope you can help.
    Best regards,
    Olga

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hello Olga,
    Technically this is certainly possible, but I’m afraid this is beyond what we can provide as part of support for the free plugin.

    One tip: If the order splitter plugin keeps a parent-child relationship you could also see if that helps you find the siblings of a sub order more quickly. The order splitter plugin developers may also be able to help you with that query

    Good luck!

    Thread Starter oberning

    (@oberning)

    Hi Ewout,

    I understand. I am planning to buy the “Premium Templates” plugin, also to be able to change the template more easily of course.
    In that case, could you help me with a code snippet to add this information to my template?
    I asked the developers of the order splitter plugin wether meta data is stored in the order, so that should be able to help me indeed.

    Best regards,
    Olga

    Plugin Contributor Ewout

    (@pomegranate)

    In that case, could you help me with a code snippet to add this information to my template?

    That depends on the details, but if you send an email to [email protected] with more specific details (perhaps an example situation + mockup if possible) that will allow us to see what’s possible

    I asked the developers of the order splitter plugin wether meta data is stored in the order, so that should be able to help me indeed.

    I was actually wondering about specific parent/child relation between the orders, this is not stored in meta but a wordpress relationship between data. Just like a refund order is a child of a regular shop order.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘add information from another order’ is closed to new replies.