The depletion of natural resources and the degradation of the ecosystem have led many countries to adopt closed-loop supply activities in both their industrial and service sectors. With the widespread use of Internet technology, these aspects motivate the incorporation of e-commerce with the classical closed-loop supply chain. This study suggests a novel mixed-integer linear programming (MILP) model that addresses the integration of e-commerce with a multi-echelon closed-loop supply chain with a multi-period planning time horizon by considering dual channels in manufacturing, and recovery facilities. To validate the model, we obtain optimal decision variables and examine the robustness and applicability of the model, and comprehensive computational experiments are performed. Moreover, sensitivity analysis is carried out to illustrate the efficacy of e-commerce integration by considering the two channels in the closed-loop supply chain. Accordingly, the total cost of the dual-channel CLSC decreases with an increase in customer demand via online retailers, the returned end of life (EOL) products, recycling ratio, and recovery ratio. Some useful managerial implications are provided based on the conducted analysis.