Hello @cousinr,
This plugin only works with WooCommerce. If you want those fields to work with the Dokan product upload form then you may require custom development.
You have to add extra fields similar to WooCommerce FAQ plugin providing and then you have to save the field value with the same meta key as like WooCommerce FAQ plugin.
As this process require customization for that reason, I am unable to provide more instruction.
Thanks!
Hi,
Could you write in which files you will need to make changes? Please
@cousinr, You can check these files –
wp-content/plugins/dokan-lite/templates/products/tmpl-add-product-popup.php
wp-content/plugins/dokan-lite/templates/products/new-product.php
wp-content/plugins/dokan-lite/templates/products/new-product-single.php
Also, you can get some help from this post.
Thanks!
Hi @nazmulhassann20 thank you,
but if I make changes to these files, after the update everything is gone. How to avoid the problem?
Hi @cousinr
As I can see the above-mentioned directories are referring to some template files. Template files can be overridden easily using a child theme. If you are not familiar to overriding templates using a child theme then you can have a look at this blog.
Overriding a template using a child theme will not remove the changes with updating the plugin.
I hope this information helps.
Hi @cousinr,
Since we didn’t get any response from you in a while, so I’m going to mark this topic as resolved.
If you’ve any further queries, feel free to create a new thread.
Thank you!