replaced get_order by wc_get_order