The correct option is B I am going to get five onions, six potatoes, and ten peas at the store.
Here, the error is a missing punctuation mark: a comma is missing after "five onions". Only option C rectifies this without adding any further mistakes: option D makes the statement too informal with the use of "gonna". So, C is the answer.