How to move to Google Analytics 4 while still retaining Enhanced Ecommerce?

To understand everything you need to do a clean UA and GA4 setup, and how each work (or don’t work) together, you refer to https://www.digitaldarts.com.au/google-analytics-shopify