• Resolved archfabricationandmachine

    (@archfabricationandmachine)


    Hello, im migrating a WooCommerce instance. I exported all orders using the WebToffee Import/Export Plugin. The orders are exported to a CSV spreadsheet and includes both order number and ID.

    When importing these orders, the order ID is displayed in woocommerce, not the order number.

    Is there a way to have woocommerce recognize the order NUMBER that was imported?

Viewing 1 replies (of 1 total)
  • Plugin Author tychesoftwares

    (@tychesoftwares)

    Hi @archfabricationandmachine,

    Sorry for my delayed response as I was on leave these days.

    In the Database, we do not change the original order id created by the WooCommerce because that order id is used for many core functions and also by multiple plugins and themes, so what you will have to do is, you will have to contact to support team of the WebToffee Import/Export Plugin and ask them to change the code where Order ID is been fetched to import the orders and have to use the below code for Custom Order Number instead of the code used for WooCommerce Order ID:

    $custom_order_number = $order->get_order_number(); //where $order is an order object

    They will definitely help you with this. Ask me if you need any help.

    Regards,
    Chetna Bhutka

Viewing 1 replies (of 1 total)
  • The topic ‘Imported Orders Shows ID not Number’ is closed to new replies.