By analyzing the characteristics of E-commerce course and the feasibility of its integration with ideological and political education, this paper explores the ideological and political elements in the course,analyzes the problems and causes existing in the implementation of ideological and political education in teaching, and proposes implementation approaches for ideological and political education in multiple aspects such as teaching content, teaching methods, the leading role of teachers, and the improvement of the evaluation system.