In the Order-details.php, lines 48 and so on we have include 'order-item-html.php';
Now, if I don't customize Order-details.php but i do customize oder-item-html.php creating a new one in wp-content/themes/mytheme/dokan/orders my custom file doesn't get loaded because i didn't customize order-details.
Here like everywhere else instead of “include” there should be a function “dokan_include_template” or something similar that first checks my custom theme, then checks the dokan file.
I'm saying that instead of using the regular include method from php, you should use a custom include function which checks first in the current theme folder, and then in the dokan folder, when including anything.
Otherwise everytime somebody has to extend a functionality of dokan, he also has to rewrite the include path manually.
Is it more clear? Thank you for your interest