"日本にいたとき何のシャンプー使ってたの?" は英語で
- What shampoo did you use when you were in Japan?
- What shampoo were you using in Japan?
- When you were in Japan, what shampoo did you use?
といえます。
日本にいたとき
- When you were in Japan
- ...in Japan
何のシャンプー使ってたの
- What shampoo were you using?
- What shampoo did you use?
What shampoo were you using when you were in Japan?
日本にいたとき何のシャンプー使ってたの - What shampoo were you using when you were in Japan?
What's the name of the shampoo that you were using when you were in Japan?もしくは Can you tell me the name of the shampoo you were using when you were in Japan? も大丈夫です。