Purpose
This study aims to establish the link between business ethics and brand loyalty and to investigate the mediating role of corporate social responsibility (CSR) and United Nations Sustainable Development Goals (SDGs) such as green marketing.
Design/methodology/approach
Using the purposive sampling technique, data were obtained from 622 middle-income city dwellers who shop at leading retail malls. Data were analyzed with partial least square–structural equation model.
Findings
The study found a positive and significant relationship between business ethics, CSR, green marketing and business loyalty. Both CSR and green marketing mediate between perceived firm ethicality and brand loyalty.
Research limitations/implications
This research was done based on general knowledge of business ethics, CSR and green marketing from the consumers’ perspective. Future studies can avoid this limitation.
Practical implications
By ensuring ethical codes, CSR and green marketing, firms can contribute to promoting the SDGs, and at the same time, achieving customer loyalty. Brand loyalty is further enhanced if customers see a firm to be practicing CSR.
Social implications
The SDGs of sustainable production patterns, climate change and its impacts, and sustainably using water resources must become the focus of companies as they ultimately yield loyalty. Policymakers and society can design a policy to facilitate adoption of better ethical behavior and green marketing by firms as a way of promoting SDGs.
Originality/value
To the best of the authors’ knowledge, this study is the first to test the mediation effect of green marketing and CSR on how ethical behavior leads to brand loyalty. It is also one of the few papers to examine how SDGs can be promoted by businesses as stakeholders.