Translation of "想要买什么东西吗？"
The 吗 is a modal to make the question more polite. Its also grammatically correct to say just 你要买什么? which directly translates as What do you want to buy? But it is a bit brusque.