You can fix  can't connect to app store MacBook by deleting cache files, change DNS on your mac, update your MacBook, sign out and sign in again and other methods explained in this article.