Working in a studio is a great option for ecommerce, pack shot images, no distractions just a product image on a background
Most of my work today tends to favour photography on location. Hiring a location property, working in a clients premisis or just being outdoors where products are photographed in the enviroment they were designed for.
However that said, work in a studio is always a great option. Many items for ecommerce need to be captured in the studio, with endless opportunities to be creative with lighting.