@jaepereira I know I'm not @Jake-Parker but I have a response all the same...
This sounds very similar to my first con experience. I made a book and had prints. I printed 500, yes..... 5 stinking hundred copies of my book. and I sold maybe five of them. The table was $300 and that coupled with all my other upfront costs I was an easy $K in the toilet. But that was just the first of many a con I have attended since. I would have loved for someone to tell me to not buy 500 copies of my book but also the lesson is much stronger in my head since I learned it. Like being told fire is hot versus sticking your hand in. (but seriously don't stick your hand in the fire and order 500 copies of anything without a demand!)
One thing is to try to focus on a connection with people over your art. for example I now have a comic called Fear Hunters and when someone starts to pause at my table I ask them "What is your greatest phobia?" and then we get talking and I have a chance to connect then I pitch them my book and often they like the idea and buy it. Focus on connection more than a sale, obviously, you are there to make a sale, but they know that. just be nice.
It also helps a ton to have free stuff at your table, business cards or simple small prints.
I hope that helps, I'd love to hear more about your experience.