[Resolved] Pass Order Variable Post Submit
I’m attempting to make a page that comes up instead of order details, featuring a specific plugin I’ve created that puts information up based on the order.
My issue is as follows:
Based on everything I’ve seen, the cart is emptied after payment processing, however I’d like to hook into the Order (as order details itself does), and use the array from get_items, to get the product ID purchased, and suggest another product ID based on that.
My issue is that when using it in a plugin, outside of woocommerce itself, I seem to be completely unable to access the order.
So basically: does anyone know how to access the Order information outside of the Woocommerce loop?
- The topic ‘[Resolved] Pass Order Variable Post Submit’ is closed to new replies.