A lot of factors are important.
Your product must suit the market, your product should actually solve a problem and not add another problem. It should be catered to the target audience too but unless it makes a solution for them, it will not sell. Costing is also another factor.
Pinpointing one factor to be most important in business is punitive in my opinion.