Competition now covers the geographical distances and stretches to customers irrespective of region, locality, and country. Cloud computing technology has sustained the E-commerce sector with speed, efficacy, and maintaining and serving the extensive customer database. However, speed, data maintenance, and security have become pertinent questions in the e-commerce business and the role of cloud computing. In this work, an E-commerce framework based on Fog-enable cloud computing is proposed, which is helpful to speed up the communication between customers and E-commerce companies due to the involvement of edge nodes as well as fog nodes. The elements, challenges, and role of cloud computing technology in upholding and fulfilling the requirements of e-commerce are also explored and discussed. The proposed E-commerce framework based on Fog-enable cloud computing would enhance the ecommerce business with better customer satisfaction, minimal cost, enhanced security, and easy and secure data maintenance.