If your product did not do well in the market there are probably many ways you can make things work out. First of all you have to find out why your product did not sell well, then make proper research and seek opinion of your potential customers and understand what they want in that particular product.