Support » Plugin: WooCommerce » Access Order Details outside of original loop

  • I recently posted (and had resolved) an issue regarding getting the product ID of a post, after submission.

    I have a secondary question: other then the ID, I can’t seem to access any other information in the array (it’s all returning 0.00 value).

    Essentially it works like this: after purchase a client is shown a specific page based on their purchase. They can opt in to an email chain or out, but I wanted it specifically based on a product purchased. I’d like to redirect them back to the normal “Order Details” screen after this, however I can’t seem to get it to print any data from the array, even if I access it on the same page.

    Does anyone have an idea how this could be done?

  • The topic ‘Access Order Details outside of original loop’ is closed to new replies.