I will have multiple vendors, and they will create certain products from a pre-defined product line(category list)
for example T-shirts will have a base cost of $10 with a $5 commission and then the vendors markup
I figured out that it is possible to set the $5 fixed commision by modifying this file: Please open wp-content/plugins/wedevs-dokan-plugin/includes/theme-functions.php and find '($order->order_total * $percentage)/100,' . Here all calculations accomplished. It could be a hints for you.
can I set that commision to be specific per product?
For T-shirts that vendors post I would like to charge a $5 commision.
For posters I would like to charge a $3 commision
For hats I would like to place a $6 commision.