• Resolved jtsn21

    (@jtsn21)


    Hi,

    Is there a way to retain the User ID, Product ID and Order ID when migrating to a new site? We are using these ID values and export them in an external system (using another plugin) so we’d like to keep using the old ID values when we switch to a new site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @jtsn21,

    Thank you for reaching out to us.

    In WordPress, everything is considered a post (products, orders, users, etc.). WordPress does not allow multiple posts to have the same ID. Therefore, when importing, if a post ID present in the import file is vacant, It will import the post with the same post ID. However If the specified ID is taken, the imported item (user, product, or order) will be assigned a new ID to ensure there are no conflicts.

    Thread Starter jtsn21

    (@jtsn21)

    Hi,

    Is user also in the wp_post table? I tried checking but I didn’t saw any user there (I have 3 users) but I saw products and product_variations.

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @jtsn21,

    The user will be present in the wp_users table. If there is a conflict with the user ID while importing, the user will be imported with a new user ID. If you have any further questions, please let us know.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Retain User ID, Product ID and Order ID’ is closed to new replies.