Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all articles
Browse latest Browse all 104029

NDabaz on "[Plugin: WooCommerce - excelling eCommerce] Pass Order Variable Post Submit"

$
0
0

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?

http://wordpress.org/extend/plugins/woocommerce/


Viewing all articles
Browse latest Browse all 104029

Trending Articles