China's flower industry is developing rapidly, and the size of the retail market is increasing year by year. Studying the factors influencing residents' flower purchasing behavior and understanding their flower needs can help promote the sustainable development of the flower industry. Based on customer satisfaction theory, this paper uses 838 consumer research questionnaires from 15 districts in Shanghai to analyze the influence of customer satisfaction on residents' flower purchasing behavior by conducting a binary logit model and to investigate the moderating effect of flower purchasing purpose on the influence of satisfaction. The results show that price satisfaction and satisfaction with promotional methods have a significant negative effect on flower purchasing behavior, service satisfaction has a significant positive effect on purchasing behavior, and different customer purchase purposes lead to different intensities of the effect of satisfaction on purchasing behavior. According to the conclusion of the study, three countermeasures are proposed: to popularize the knowledge of flower culture, guide the concept of flower consumption, and promote the transformation of flower consumption to daily consumption; to conduct regular research on consumers by flower merchants to clarify consumers' needs and improve their satisfaction; to clarify consumers' purchase intention, increase the investment in the research and development and cultivation of flower products, and improve the supply level of flowers.