I wanted to make her happy, so I bought her a nice present.

Literal

Her please wanted [because-ので], nice present [object-を] bought.

喜ばせたかったので — the causative ~させる plus ~たい ('want to') plus ~ので ('because'). A layered expression of motivation.