You should definitely not be switching back and forth. Pick a tense and stick to it.
Past tense: "Hi, Mary," Joe said. He opened the door and held it while she walked into the store. "Thank you," she said.
Present tense: "Hi, Mary," Joe says. He opens the door and holds it while she walks...