Introduction

In China, with the progress of science & technology and the improvement of people's living standards, people's views on food consumption have changed. Consumers pay more and more attention to corporate social responsibility (CSR) in environment and product safety (Ge 2018). In 2008, for example, China's Sanlu Group received repeated complaints from consumers that its milk powder contained substances that were harmful to human health. Later, Government Quality Inspection Department found that the company's milk powder contained "melamine" which was harmful to the child. The 'melamine' incident which fermented in September 2008 was a food safety scandal that shocked both at home and abroad. In the same way, public health events such as SARS in 2003 and the current COVID-19 epidemic in the world have made enterprises and consumers pay more and more attention to environmental protection, food safety and health. Therefore, studying the impact of social responsibility in the food industry on customer loyalty, and whether public health events play a moderating role in this impact, it is very necessary to understand the characteristics of consumer behaviors and CSR.

The purpose of this paper is to take China's food company as an example to study the impact of CSR on customer loyalty. The research literature on the relationship between customer loyalty and CSR is rich, and most of them believe that CSR has a significant impact on customer loyalty (Osakwe and Yusuf 2020). However, although different scholars have studied different industries, there are few studies on China's food industry. Moreover, due to the global COVID-19 epidemic in 2020, this public health event has changed people's consumption patterns and views on CSR, so the innovation of this paper is to pay attention to China's food companies and the moderating role of COVID-19. The second part is a literature review and hypotheses, the third part is model and variable description, the fourth part is questionnaire design and data analysis. Finally, the conclusion is given.

Literature Review

CSR, Customer Loyalty, Corporate Image and Customer Satisfaction

CSR

Ever since Sheldon (1924) first defined CSR, many scholars have discussed it from different views. From the enterprises’ perspective, Sheldon argues that enterprises should bear all kinds of social influence from the perspective of ethical events. According to the Council of Europe (2011), CSR is a social influence, an important enterprise resource considered to affect customers’ perception of the enterprise (Yuen et al. 2016). Frederick (1983) put forward spontaneous and compulsory social responsibility. Spontaneous social responsibility tends to charity donation, while compulsory social responsibility refers to the responsibility stipulated by laws and regulations. Carroll (1991) expanded the above contents, dividing the CSR from low to high into four aspects, namely, economic responsibility, legal responsibility, ethical responsibility and charitable responsibility, and describing them in the form of CSR pyramids. By synthesizing concepts of CSR, (Yang and Guo 2014) argue that social responsibility has evolved from ethical philosophy, corporate sustainability, ethics and values to religion.

From the stakeholder’s perspective, (Brown and Dacin 1997) argue that although enterprises still have the responsibility to shareholders in the past, more attention needs to be paid to social responsibility to other stakeholders, including employees, consumers, communities, customers, governments, etc. (Sarkar and Searcy 2016) divide CSR into three stages by analysing the evolution process and synthesizing the research contents of the three stages. They believe that CSR includes economic responsibility, social responsibility, ethical responsibility, stakeholder responsibility, sustainability and so on. According to Han et al. (2020)’s analysis, CSR is a comprehensive concept, including active social responsibility activities, passive social response, and some contributions beneficial to society.

Customer Loyalty

Customer loyalty is a stable and lasting relationship (Singh and Sirdeshmukh 2000) between the customer and the product or service provider. For customers, customer loyalty is a persistent commitment for the customer to form a positive word of mouth after multiple purchases of the product or service (Chanu et al. 2009). Kim (2011) believes that the company's loyal customers generally have a feeling of love or attachment to the company's products. The external performance of loyalty includes the size of purchase share, repeat purchase behaviour and so on, but scholars prefer to use behaviour scale to evaluate customer loyalty, such as how environmental changes affect customer behaviour loyalty (Jarideh 2016 Aghamolaei et al. 2014).

From the perspective of corporate development, customer loyalty is an important factor affecting corporate success and profitability, so enterprises often regard customer loyalty as a critial goal of their long-term development (Srivastava and Rai 2014). In other words, customer loyalty seems to be invisible, but it has great commercial value. Especially when enterprises are faced with the external adverse environment such as buyer's market, loose customer relationship and increased competitive pressure, customer loyalty will show an important strategic position (Srivastava and Rai 2018). For an enterprise, once customer recognizes their product or service and has certain psychological dependence (Cui 2014), they will also actively recommend trusted products and do free word-of-mouth publicity for the enterprise (Liu 2015). Therefore, repeated purchase and word of mouth recommendations become an important index to measure customer loyalty (Zhang 2019).

Corporate Image

Corporate image is an abstract concept, which reflects the public's overall evaluation of the enterprise (Guo and Liu 2004). As the concept of corporate image is very broad, there are some differences for different scholars. From the perspective of stakeholders, the corporate image is the stakeholders' perception of corporate social concerns (Lai et al. 2010). As an intangible resource, corporate image can strengthen consumers' attitudes and behaviour (Perez and Rodriguez del Bosque 2015b). From the perspective of corporate marketing, marketing strategy is a potential resource method that includes opportunities and threats in the decision-making process, which is mainly used to achieve effective marketing goals (Pribadi and Rivai 2020). Therefore, to achieve consumer satisfaction and improve corporate image, the corporate marketing strategy will focus on all kinds of CSR-related public relations activities or emotional marketing activities. (Mukonza and Swarts 2020) studied the impact of green marketing strategy on corporate performance and corporate image and found that it can effectively improve the image of the company, and promote more consumers to buy green products (Yunus and Rahman 2014). Therefore, the company image is the index that the enterprise pays close attention to in the marketing process. It is used to describe, remember and contact the company, and it is the final result of customer experience, impression, belief, feeling and knowledge (Copley 2004).

Customer Satisfaction

Satisfaction is an individual's response to feeling, which is the degree to which consumers perceive the expectations of a product and service (Sangadji and dan Sopiah. 2013). When customers' expectations of products or services match reality, they will feel satisfied, otherwise, they will feel disappointed (Oktareza et al. 2020). For the perception in the process of consumption, the different consumer has different experiences, and different satisfaction rates are generated (Oliver 1997). During the marketing process, customer satisfaction is often the focus of the company strategy.

Relations and Hypothesis

Customers, as important stakeholders of enterprises, are concerned by enterprises. Customer loyalty is one of the most basic behaviours that enterprises hope to influence customers by using CSR as a marketing tool. Although some researchers question the direct relationship between CSR actions and loyalty or consumers' future behaviour intention (Lombart and Louis 2014), most scholars argue that there is a positive correlation between CSR and loyalty (Mohr and Webb 2005). For example, (Servera-Francés and Piqueras-Tomás 2019) found that CSR has a positive impact on consumer loyalty through consumers' perceived value. Zhang (2019) found that charitable responsibility and customer responsibility have a positive impact on customer loyalty. From an industry point of view, taking retail banks as an example, Osakwe and Yusuf (2020) study the roadmap of customer loyalty, take reputation and trust as intermediary variables, and find that CSR has a positive impact on customer loyalty. Other scholars analyse the positive impact of CSR on customer loyalty from the perspective of the real estate industry (Sun 2018), hotel industry (Latif et al. 2020), bank industry (Perez and Rodriguez del Bosque 2015a) and dairy industry (Chen 2014).

Generally speaking, corporate image originates from the performance of CSR, and it is also a tool to create a good corporate image (Martinez et al. 2014). From the perspective of CSR, CSR can not only improve the positive image of the enterprise but also help the enterprise to resist the negative influence (Ge 2018). (Rowley and Berman 2000) believe that corporate investment in CSR can enhance corporate reputation and brand image. Kim et al. (2020) found that CSR (economic, ethical, legal, and philanthropic) has a positive impact on corporate image and customer citizen behaviour.

CSR not only affects the image of the company, but it will also directly affect customer satisfaction. Many scholars believe that companies that take on CSR positively contribute to customer satisfaction (Rowley and Berman 2000, Jayachandran et al. 2005, He and Li 2011, Hsu 2012). The main reason is that a good record of CSR improves customers' evaluation of the company, and customers will get higher satisfaction from responsible company products (Luo and Bhattacharya 2006).

So, the first hypothesis is,

  • H1: CSR has a positive impact on customer loyalty, corporate image and customer satisfaction.

Corporate image shows two kinds of characteristics (Dowling 2004). One is the ability and financial performance of the company, the other is the more emotional drive, such as social responsibility and the unique personality of the organization. As a company shows a strong and convincing good image of the company through marketing, it will attract more attention and psychological needs of customers, thus achieving customer satisfaction (Kotler and Keller 2012). Moreover, satisfied customers tend to spread positive word of mouth (Anderson 1998) and purchase intention (Anserson and Mittal 2000), and further achieve customer loyalty. In addition, the company image is a mirror of the enterprise, loyal customers are willing to buy the same product again and again, showing high customer loyalty (Yazid et al. 2020). So, the second and third hypotheses are,

  • H2: Company image has a positive impact on customer satisfaction and customer loyalty.

  • H3: Customer satisfaction has a positive impact on customer loyalty.

Further analysis in Chinese food market

The food industry is special, and the protection of food safety is the basic social and legal responsibility that enterprises should bear first. According to the China Food Industry Social Responsibility Research and Analysis Report (2020), with the increasing improvement of China's food safety laws and regulations and the strengthening of food safety supervision, many food enterprises actively issue annual social responsibility reports, disclose CSR activities. However, the main problem of social responsibility in China's food industry is that it is difficult to manage the supply chain. Mainly because the food industry involves many industries and links, such as agriculture, animal husbandry, fishery, food processing, packaging and transportation, it is difficult to comprehensively manage the food safety problems arising from each link. Once a food company violates social responsibility, it will affect the corporate image and customer loyalty of the whole supply chain (Liu et al. 2015a, b).

There are three main aspects of CSR research on Chinese food enterprises. One is the research on the relationship between CSR and corporate performance. It is considered that enterprises that actively assume social responsibility will improve financial performance (Chen and Liu 2020, Niu and Zhou 2021). The second is about the impact of CSR information disclosure on corporate social reputation, that the more adequate CSR information disclosure, the higher corporate image and customer satisfaction will be (Zhong 2020, Gong 2020). The third is the case study on the crisis of social responsibility of food enterprises, including the scandal of Sanlu, the financial fraud of rising Coffee, etc. (Wang 2017, Dai, 2019). The case study found that there is an obvious positive relationship between CSR and corporate customer loyalty (Hu et al. 2012). So, the above hypothesizes are applied to the food industry in China.

The moderating role of COVID-19

Since the end of 2019, the COVID-19 epidemic has had a devastating impact on the world economy and has also triggered some scholars' discussions on the relation between the COVID-19 epidemic and CSR. Qiu et al. (2021) (Ding et al. 2020) studied the impact of CSR on corporate performance under the COVID-19 epidemic and found that CSR activities help attract the attention of stakeholders such as customers. In order to improve the return of corporate stocks or slow down the decline of corporate stocks, (Manuel and Herron 2020)’s research found that firms were involved in a wide range of charitable CSR actions during the pandemic, possibly out of utilitarian and moral factors to meet the needs of internal and external stakeholders. (Bae et al. 2021) believe that if the CSR rating is out of line with actual action, companies that are open to social responsibility are not immune to the adverse effects of the crisis under the COVID-19 epidemic. By the study of hotel CSR marketing, Huang and Liu (2020) argue that the donation appeal under the COVID-19 epidemic environment has a positive impact on the brand loyalty of enterprises. (Cui and Guo 2020) argue that consumers' perception of dairy CSR during the period of COVID-19 will produce internal responses such as identity emotion, consumer trust, corporate reputation, product quality perception, and external responses such as purchase intention. Based on this literature, it can be found that public health events such as COVID-19 will strengthen customers' understanding of CSR and brand loyalty. In summary, COVID-19 strengthen all hypotheses above.

  • H41: COVID-19 positively moderate the impact of CSR on corporate image.

  • H42: COVID-19 positively moderate the impact of CSR on customer satisfaction.

  • H43: COVID-19 positively moderate the impact of CSR on customer loyalty.

Model, questionnaire and variables

Model

According to the above hypothesis, Fig. 1 shows the model. CSR is an independent variable, customer loyalty (CL) is a dependent variable. Corporate Image (CI) and customer satisfaction (CS) play a mediating role, while COVID-19 play a moderating role.

Fig. 1
figure 1

Research Model

Questionnaire and variables

The survey object of the questionnaire is the largest meat company in China. A self-administered questionnaire was used in this research. The questionnaire involved five sorts of scales: CSR, company image, customer satisfaction, customer loyalty and public health events. When designing the scale of CSR, scholars mostly pay attention to the economic responsibilities, legal responsibilities, ethical responsibilities and discretionary responsibilities (Carroll 1979). Discretionary responsibilities mainly refer to the voluntary charitable responsibility of the enterprise. This study combined with the research of Carroll (1979) and Sandhu & Kapoor (2010) to design the scale. According to the research of Ishaq (2012) and Yeo et al. (2011), the questionnaire of company image is set up, the questionnaire of customer satisfaction is set up according to the study of (Kaur and Soch 2012), and the questionnaire of customer loyalty is set up according to the study of Ishaq (2012). According to the study of (Manuel and Herron 2020), Huang and Liu (2020) and (Cui and Guo 2020), the scale of COVID-19 is set up.

The questionnaire mainly aims at five kinds of questions. The first question is CSR, including economic responsibility (CSRE), legal responsibility (CSRL), ethical responsibility (CSRM), charitable responsibility (CSRC) and environmental responsibility (CSRG). The second is the corporate image (CI). The third is customer satisfaction (CS). The fourth is customer loyalty (CL). The fifth category is COVID-19. At the end of the questionnaire, there are demographic questions, including Gender, Age, an education level (Edu), profession (Prof) and Income (Table 1).

Table 1 Measurement Items

The calculation relationship between variables is shown in Table 2:

Table 2 Calculation relationship between variables

Data Analysis

Demographic analysis

This survey sends out 265 electronic questionnaires, including 247 valid questionnaires and 18 invalid questionnaires. The demographic information includes gender, age and income. According to the one-way ANOVA of CSR by gender, it is found that the corresponding P-value is higher than the significant level of 0.05. That is to say, CSR is not affected by gender. But in the one-way ANOVA of CSR by age and income, it is found that the corresponding P values is less than 0.05 and 0.1 respectively, CSR is affected by them (Table 3).

Table 3 One-way ANOVA CSR by gender, age and income

According to the mean map of age and income group, it can be found that the respondents aged between 31 and 41 have the highest CSR score, while the younger and older respondents score lower and pay less attention to CSR. And with the increase of income, the respondents have the highest score on CSR, that is, the attention to CSR increases with the increase of income (Fig. 2).

Fig. 2
figure 2

Mean Graph by Age and Income Group

Reliability and Validity tests

The reliability test mainly focuses on the Cronbach coefficient based on the standardization term, which ranges from 0 to 1, and the closer it is to 1, the higher the reliability. As can be seen from Table 4 below, the reliability analysis of all the dimensions of the five measures of CSR, corporate image, customer satisfaction, customer loyalty and COVID-19 show that the value of the index Cronbach's Alpha is greater than 0.5, indicating that the questionnaire is reliable (Streiner 2003; Ekolu and Quainoo 2019).

Table 4 Reliability Statistics

As for validity analysis, this paper mainly focuses on KMO and Bartlett's Test. As can be seen from Table 5 below, the KMO coefficient is 0.908, which is very close to the significance level of 0.000, less than 0.05 for the test of Sphericity of the Personality Bartlettings. So, the questionnaire passed the validity test (Shrestha 2021, Tabachnick and Fidell 2013).

Table 5 KMO and Bartlett's Test

Mediating and moderating effects

The mediator variable explains the relationship between an independent variable and a dependent variable, exhibiting indirect causation, connection, or relation. The moderator variable alters the relation between two variables, and thus modifies the form or strength of the relationship between an independent and dependent variable (Gómez et al. 2020).

Model description

In the analysis of mediating effect, moderating effect and conditional process in Hayes (2017), 92 models are given. In this paper, the model 85th in the process is adopted according to the problem studied, and the process program in SPSS software is used for analysis. The corresponding relationship between model variables and research variables is shown in Fig. 1 above. In addition, age, education, and profession are taken as control variables.

Result analysis

According to the above model, the variables are standardized and analyzed by process program in SPSS. There are three equations (Table 6) which show the causal relationships among variables and the moderating effect of COVID-19. The effects of CSR on CI, CSR and CI on CS, CSR, CI and CS on CL, are all significant. The moderating effect of COVID-19 is significant in Eq. 2, not significant in Eq. 1 and Eq. 3.

Table 6 Moderated mediation model test

To more clearly explain the nature of the interaction effects between CSR and COVID-19, COVID-19 was grouped by the value of the mean plus or minus one standard deviation, a simple slope test was performed, and a simple effect analysis diagram was plotted (Fig. 3).The results shows that CSR has a positive predictive effect on CS for low group (β = 0.36, t = 5.13, p < 0.001) and high group (β = 0.52, t = 7.23, p < 0.001), and the positive predictive effect of CSR on CS are strengthened in high group.

Fig. 3
figure 3

The moderating effects of COVID-19 between CSR and CS

Therefore, according to the above analysis of the mediating effect of CI and CS and the moderating effect of COVID-19, the test results of the five basic hypotheses are as follows (Table 7):

Table 7 Results of test

Discussion

According to geographic analysis (Table 3), age and income rather than gender affected perceptions of CSR. This is mainly because working middle-aged people are more likely to feel the importance of CSR. In addition, since the quality of consumers is positively correlated with their income, with the increase of income and consumers’ quality, consumers pay more attention to CSR.

According to mediating analysis (Table 6), H1, H2 and H3 are tested. These conclusions are consistent with most scholars. For mediating analysis, H42 is tested, but H41 and H43 are not tested. This conclusion is new because COVID-19 is a worldwide public health event that reinforces the positive impact of CSR on customer satisfaction. However, its influence on customer loyalty and corporate image has not been strengthened. The main reason is that during COVID-19, consumers, as the victim of Coronavirus, were in a nervous state for a long time. Customers believed that CSR was what enterprises should do, which could only make consumers more satisfied but could not make consumers more loyal to the company.

Limitations and further research

The limitations of the paper are mainly shown in the following aspects. First of all, the selection of variable dimensions is not comprehensive. For example, in the dimension selection analysis of CSR, only six dimensions are selected, while CSR contains many dimensions of responsibility in reality. Secondly, this paper refers to the 82nd model of Hayes (2017) and makes an empirical analysis, and doesn’t expand the model meaningfully from different angles. Finally, in issuing a questionnaire, it is unable to control the identity of the respondents, they will face the respondents' lack of understanding of the concept of CSR in the process of collection, which has an impact on the quality of the data to some extent.

It is hoped that there will be some development and breakthroughs in the following aspects in the future. Firstly, in the future, according to the characteristics of different industries, this paper can design targeted models to give guidance to various industries in the implementation of CSR other than the food industry. Secondly, we can choose a specific consumer group to carry out analysis in the future and to further enrich the study of CSR. Finally, other stakeholders can be studied. CSR affects not only consumers but also other stakeholders. Therefore, future research can be carried out from the perspective of different stakeholders.

Conclusions

According to the above empirical analysis, three conclusions can be drawn. (1) CSR is not affected by gender but is affected by age and income level. Middle-aged people aged between 31 and 41 pay the highest attention to CSR. With the increase of income, consumers' attention to CSR is increasing. (2) CSR has a positive impact on customer loyalty, corporate image and customer satisfaction. Company image and customer satisfaction have significant mediating effects. (3) COVID-19 positively moderate the impact of CSR on customer satisfaction, but no positively moderation for the impact of CSR on customer loyalty and corporate image.