Transaction Fee Per Item Not Per Order

Hi guys,

I found the way to calculate Income for Vendors, however the default calculations is not suits me. I would like to charge: Transaction fee be calculated per item, not per order. Do you have idea how to adjust calculations?