• Resolved ibrahimal3ed

    (@ibrahimal3ed)


    Hello,

    At first, I would like to say that really You’ve done a great job building such plugin ??.

    and if you allow, I want to show Order-Number instead of Order-ID in the table.

    is there are any possible way to achieve that.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ibrahimal3ed

    (@ibrahimal3ed)

    @mrebabi sorry for disturbing you . I hope that you have time to look @ this please.

    Plugin Author Eyup Gulsen

    (@mrebabi)

    Hello @ibrahimal3ed ,

    Sorry for replying you late. I could not understand what you mean by “Order-Number”. Can you send a screenshot to show & compare Order Number and Order ID please?

    Best regards

    Hello,

    I am facing the same issue and i could use some guidance.

    What he means is that you display the post id number instead of the actual order number.

    foreach ($recent_orders as $recent_order) {
            $order_id = $recent_order->get_id();
            $_order = wc_get_order($order_id); 
    --> we need order number https://woocommerce.com/document/sequential-order-numbers/
            $order_date = $_order->get_date_created();
            $order_status = $recent_order->get_status();
            $order_link = get_site_url();
            $order_link .= "/wp-admin/post.php?post=";
            $order_link .= $order_id;
     <strong>---> This is correct for editing(viewing) the order but it is confusing since the order number could be 12658 so what we need to be displayed is the order_number </strong><em>
            $order_link .= "&action=edit";

    Kind regards

    • This reply was modified 2 years, 11 months ago by roccinio.
    • This reply was modified 2 years, 11 months ago by roccinio.
    • This reply was modified 2 years, 11 months ago by roccinio.
    Plugin Author Eyup Gulsen

    (@mrebabi)

    Hello again,

    Beta version for a newly designed New Order Notification page is ready with plugin version 2.0.0. In this version, I also changed Order Id representation with Order Number.

    Hope you like it, best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Order Number instead on Order ID’ is closed to new replies.