If you can't trade for full value of your items you can literally give them away if you really need something and don't have enough gold for it. That would make the merchants have a higher empathy towards you. Or you can store those items somewhere( you can make a mark on your map to remind you where you put them) and wait. There are more merchants later on.
The second set of numbers is the value of all your items, including gold.