dokan
dokan copied to clipboard
Refund template doesn't allow child theme override (load_order_items() - ajax.php)
In load_order_items() in ajax.php, there is this line
include( DOKAN_PRO_DIR . '/templates/orders/views/html-order-items.php' );
This means when there is a refund, it forces the use of dokan's template rather than the child theme's. In my case this results in incorrect maths.
Can you please make it such that the line checks for the child theme's version of the template.
You can use dokan_get_template() part instead of include()