The answer in this question is not black or white but it depends on many parameters,
for example there are many eCommerce solutions such as Magento - Prestashop - WooCommerce etc,
self hosted providers and each one has pros and cons. First you have to define your needs
and goals so to choose the right solution that is best fit for you, such size of catalog, ux and easy to use,
level of difficulty in customization and change behaviors on features, server resources, plugin ecosystem.