The problem
New URL structures can orphan established collection and product addresses.
What to do
Export indexed and commercially important URLs, map each old URL to a relevant destination, and test 301 redirects. Then monitor canonicals, sitemaps, and Search Console errors for several weeks.
Practical example
An old espresso accessories collection should redirect to its corresponding new collection, not automatically to the home page.