Hi @hazim0505,
By default, adding a new template/form for a different category product is unavailable in Dokan. But you can achieve it with proper customization.
Currently, there is no documentation to create a new form for a different category product. In that case, you need to find a way by yourself to achieve your requirement.
Here I’m providing files locations. You can try to achieve your requirement by investigating the following action/filter hooks.
- File:
Dashboard.php
- Path:
wp-content\plugins\dokan-lite\includes\Shortcodes
- Action Hook:
do_action( 'dokan_render_new_product_template', $wp->query_vars );
- File:
Products.php
- Path:
wp-content\plugins\dokan-lite\includes\Dashboard\Templates
- Function:
render_new_product_template
- File:
Rewrites.php
- Path:
wp-content\plugins\dokan-lite\includes
- Filter Hook:
dokan_query_var_filter
Thank you,