• Resolved shereew

    (@shereewalker)


    Hi there

    When I import my products, the ID’s do not match, which I need them too.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @shereewalker,

    Newly imported posts are considered new posts in WordPress, so a new, unique, ID will be generated for them. It works the same way as manually creating a post.

    That said, you can attempt to keep the old IDs using a custom workaround like this: https://www.wpallimport.com/documentation/code-snippets/#keep-old-ids-when-migrating-products, though it is not guaranteed to work. The only way to be sure to keep old IDs is to do a complete database migration.

    Thread Starter shereew

    (@shereewalker)

    Hi there

    thanks for your reply – I will try the workaround.

    Do you happen to know – considering the product ID’s have changed, when I then import the customers, will their purchases align up to their accounts, given that the products they previously bought, now have these new IDS.

    This is my main concern as I am dealing with products, subscriptions and memberhships

    I hope that makes sense!

    Thanks

    Plugin Author WP All Import

    (@wpallimport)

    Hi @shereewalker,

    As long as the customers and products are assigned to the purchases, the IDs of the products in the purchase shouldn’t matter.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘IDs not matching’ is closed to new replies.