I figured out that on the shop page, the footer menu and the main menu were being combined into the main menu. Deleting the footer menu fixed it.