Marketing should come first? What are you going to market if you don't have anything to sell?
Agree to sell the "air" filed in the "beautiful wrapper", i.e. with good marketing is quite possible, but to sell the most ideal product with very bad marketing is unreal ...
How there is such a proverb that there are people who will sell the snow in winter! So if you try, you can sell the air !!!!