When we say "but", it's like crossing out everything that we say in front of it.
How much should you spend for marketing?
How much you can or should invest in marketing is primarily a numbers game. Instead of thinking "how can we minimize marketing costs?", think "what marketing costs are necessary to dominate our market or to generate a desired level of profitability?"