Some of the main cost factors related to an ecommerce site include website design and development, website hosting and maintenance, payment gateway fees, and marketing and advertising. But website design and development can be the most expensive part, especially for custom eCommerce websites with advanced features and functionalities.