Hmm, maybe "This shampoo is for cleaning hair" would be better. At least get rid of the "the".
I'd argue that in English we use the verb 'wash' for body parts and hair, not 'clean'.
This shampoo is for washing hair/this shampoo is to wash hair with.
I would argue that
"Sampo ini untuk membersihkan rambut." is better translated to "This shampoo is to clean hair."
"Sampo ini untuk mencucikan rambut." is better translated to "This shampoo is to wash hair."
Shampoo manufacturers would tell you that there is a difference.
I got this wrong for choosing the word "clean", when it said it should have been "wash", but "wash" wasn't even an option!! :(