Was this always in the game or was it (secretly) added with one of the patches?
I feel like I've seen a lot of posts complaining about there being a lack of a "sell-wares" button, and I certainly didn't find such a button during my playthroughs...
The "sell all wares" option was newly added in Patch 4. It was not an option prior.
To be clear though before patch 4 you could still mark inventory items as wares but there was not a sell all wares button before.