And also how can i give this from
blueprint without selecting it
manually
You can store class variables in the same way you store any other variables.
You can have a shop that keeps track of available Actor Classes for sale in an array. The shop shows the list in a widget, the Player buys an item and the Child Actor Component attached to the head socket Sets the Class - and a Helmet actor is spawned.