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
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.