Access Order Details outside of original loop (1 post)

  1. NDabaz
    Posted 3 years ago #

    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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.