Hello @omarmasrur,
As you have created the custom product type for that reason, you need to modify on dokan plugin’s file. Please open dokan-lite/templates/products/new-product.php, new-product-single.php and tmpl-add-product-popup.php file 🙂
Now, you need to define the new product type in each file which I have mentioned.
Thanks!
Hello @razapo,
Yes, she was right! You are unable to use the latest dokan-lite with your current pro version. So, it’s better to downgrade the dokan-lite version to get it fixed. We are unable to discuss anything about pro here. So, it’s better to discuss with angelica!
Thank you.
I have a child theme.
Is it possible these changes are made in child theme directory so that upgrading is preserved. In that case, can you please tell me where these files should be copied to?
[child-theme] / [path]
tks
Hello @omarmasrur,
Yes, if you add the customization in your child theme, you will not lose it when your plugin gets update. So the directory where you should save your custom code is:
wp-content/themes/child theme/dokan/your customized files[within the required folder].
Thanks!