As more and more people pay attention to food safety, the research on food traceability is becoming popular. The information traceability of the food supply chain is made more difficult by the fact that the online shopping platform comprises not only a big number of merchants, but also a high number of users, raising the chance of misunderstanding between different parties. To ensure food safety, this article proposes and analyzes a commercial IoT-based food supply chain information traceability system. Users need just to scan the traceability source code with the APP device to acquire information about the food's origin, processing, and merchants. They can also order uniform food ingredients for dispersed small merchants to assure food safety. The developed system consists of two components: a purchase system for food and a processing system for food. A database connects the two systems, and they are then incorporated into the food traceability system. The numerical results reveal that our proposed system has a more than 90% accuracy rate for source code traceability as well as a satisfying performance robustness with a large number of concurrently logged-in users.