Hey Daniel,
I can definitely help you in modifying your cart functionality to include portfolio cart. I need a little more details about your 2nd requirement that is about database. What are you trying to accomplish there? Are you facing any issues right now?
Well, Lets discuss all the details via chat now and later you can call me for status updates or further discussions. I am Florida, USA (eastern time zone)
Thanks,
Muhammad