Hi
I facing the same issues , may i know where I should add this file ?
elseif ( class_exists( 'Wt_Advanced_Order_Number' ) ){
$args = array(
'post_type' => 'shop_order',
'post_status' => 'any',
'meta_query' => array(
array(
'key' => '_order_number',
'value' => $order_number, //here you pass the Order Number
'compare' => '=',
)
)
);
$query = new WP_Query( $args );
if ( !empty( $query->posts ) )
{
$order_id = $query->posts[ 0 ]->ID;
}
}
Kindly advice , thanks
-
This reply was modified 4 years, 8 months ago by TAN.
Hi
I without the GET Parameter Add-on also not working , when click Logout, it will redirect to error 404 page.
kindly advice
-
This reply was modified 6 years ago by TAN.