This is a refactoring task to get rid of accessing details.products[0] to store the id of the template selected for a new project. It is also storing wrong value (project template key instead of product id) in this field which is causing projects created via logged out flow to fail to load.
fyi @maxceem @RishiRajSahu
Aha! Link: https://topcoder.aha.io/features/TCCONNECT-366