Fast Australian Shipping 6 days a week... Thank you for your purchase

[insert_php]
echo “
This is ” . date(“Y-m-d”) . ” day”;
echo “
The rest Var is this ” . $_REQUEST[testvar] . ” It worked?”;
echo “
“;

if ( is_checkout() && ! empty( $wp->query_vars[‘order-received’] ) ) {
wp_redirect( ‘http://www.yoururl.com/your-page/’ );
exit;
}

$this_is = $wp->query_vars[‘order-received’];
echo $this_is;

global $woocommerce;
$order = new WC_Order( $order_id );
//This two lines above should already exist, but I have them here so you can see where I put my code

foreach($order->get_items() as $item) {
$_product = get_product($item[‘product_id’]);

echo “The product codes ordered are: ” . $item[‘product_id’] . “”;

if ($item[‘product_id’]==154) {
// Do what you want here..replace the product ID with your product ID
}
}

[/insert_php]

Remember to enter your coupon code at check out. For 5% off store wide enter "5off" at checkout. For Help Call 0881201220 Dismiss


Refunds & Returns | Shipping