No, guinea pigs do not have two stomachs. They have a single stomach like most mammals.
However, guinea pigs have a complex digestive system with several chambers in their stomach that help them digest food, especially their high-fiber diet. These chambers are not separate stomachs, but rather specialized parts of the same stomach.