There is no right answer to this question. What is more important? You will see multiple examples of people who have not even finished their school and have achieved so much in life and are successful in their fields. But, you will also see people who have crushed their career opportunities for 'Love'.
The question is what is more important to you? To make a career or to have a love life? What do you want? And whatever you choose, do not regret your decisions. Whether it is to miss your important class to be with your partner or to go for that business trip and missing your partner's birthday. Life is too short to have any regrets. Live the life you want to live without caring about what others might think and how are they going to judge you. In the end your happiness is what counts.
Here is a quote from my most favorite classic of all times, 'Jane Eyre', "I'd rather be happy than dignified."
It is hard to say that we can have the best of both worlds. Yet there is a possibility. If only you learn the balance, and most importantly know what you want and when you want it. because if you quit studies for love at young age, then it will be hard for you to get back there. And trust me, it can be vice versa. Life is very unpredictable. So listen to your heart and what it wants, where you want to see yourself in next 10 years.