When you wanted to shop, you went to the mall and confined your search to the stores you found there.
You went shopping at store in the mall.
The mall was only one of many places you ended up shopping at.