Frankly I will say both are important for any website not for only E-Commerce. Without SMO, SEO is like handicapped. For example if you create good quality content then how to share and pramote without SMO, how to build Social media representation, user engagements and branding. These days SMO is most Important part, because day by day Google updating its own algorithm frequently.
I Hope so my answer will help you