August 1, 2015 at 2:21 am 64626
|Simon||While I appreciate that WeDevs continues to update Dokan. It's very frustrating that you continue to fundamentally rewrite everything on nearly upgrade. First we had a theme, then a plugin and theme, then it's a plugin with free vs. pro, and now the structure of the plugin keeps changing. I'm trying to add/change the look and functionality, but every time I turn around I'm having to reverse engineer your changes. The latest being that you've moved the Product Edit templates into a class -- Dokan_Template_Products. This is causing me a ton of headaches trying to figure out how to override the templates by ones that I've edited and place in my child theme. Could you please help me with getting an edited new-product-single.php file that's in my child theme directory to work?|
August 1, 2015 at 6:49 pm 64756
To override any file you have to create folder with this serial Dokan/templates/products/ and then copy the entire file new-product-single.php file here. Now you can override it easily.
August 1, 2015 at 8:37 pm 64768
Hi Nayem, I have tried that. I have a child theme, and have created dokan/template/products but the file is not recognized.
I’m not sure if dokan_get_template_part or one of the other functions were written properly to look in the child theme.
August 2, 2015 at 6:11 pm 64870
I have to discuss with our developer about this. Please allow me some time.
August 4, 2015 at 8:27 pm 65283
August 6, 2015 at 11:27 pm 65801
August 7, 2015 at 6:53 pm 65861
Hi Nayem, please do the needful.
August 8, 2015 at 5:35 pm 65992
Please provide your login details by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.
Thank you 🙂
August 9, 2015 at 9:04 am 66051
I have corrected this by putting the template under my child theme at dokan/products/new-product-single.php
So the full path is /themes/dokan-child/dokan/products/new-product-single.php
August 9, 2015 at 11:26 am 66065
Is everything working now?
August 9, 2015 at 6:34 pm 66151