Change Button Text in Dokan Plugin
Author | Posts |
---|---|
January 27, 2015 at 4:48 pm 35114 | |
Nayem | We would like to change the button which appears in the Seller Dashboard (Product Edit). In the Attributes tab, the button title to add attributes is "+ Add a catgeory". We want to change it to "+ Add an Attribute". This can be done from Plugins/dokan/templates/edit/attributes.php. But we want to do it from the dokan-child theme as any changes made directly to the plugin will be lost in case of updates. So, how can it be done? |
January 27, 2015 at 5:09 pm 35115 | |
Nayem | Hello Adarsh, You have to make a folder “Dokan” in your child theme. In this folder you have to also create a folder “edit”. Then you have to copy the file attributes.php into the edit folder. Now you can customize this file. Thank you 🙂 |
January 27, 2015 at 8:08 pm 35125 | |
Anas Basalamah | what if I want to change something in the /plugin/includes I also put it in dokan folder?? |
January 28, 2015 at 12:23 pm 35171 | |
Nayem | Yes, You have to put that file in the Dokan folder. |
January 29, 2015 at 5:25 pm 35311 | |
Adarsh | Thank you for the prompt reply. The attributes.php file is working from child theme. I have tried changing the template-settings.php file from the child theme as mentioned by you above. But its not working. I have tried putting it in dokan-child/dokan/classes and dokan-child/dokan too. But its not working. Please let me know how can it be done. |
January 29, 2015 at 5:41 pm 35313 | |
Nayem | Hello Adarsh, I am really sorry for the misunderstanding. You can only customize your templates file in the dokan folder. If you want to customize any template file then you have to insert that file in the Dokan folder as i have mentioned. But for others file or if you want to customize any function then you have to do this change in the function.php file of child theme. Thank you 🙂 |
January 29, 2015 at 7:20 pm 35321 | |
Adarsh | We tried to change the function in template-settings.php in plugins\dokan\classes We added the changed functions in functions.php of childtheme but its not working. How can it be incorporated through functions.php in child theme. |
January 29, 2015 at 7:28 pm 35323 | |
Nayem | Hello Adarsh, If you want to customize any function through child theme then you have to add a remove_action to remove all the action of that function. In the child theme’s function.php file you have to write this following step to customize- I am really sorry to say that i am not able to help you anymore about customization. Because we do not provide support for customization. Thank you 🙂 |
January 30, 2015 at 6:44 pm 35364 | |
Adarsh | HI Nayeem.. thank you. We are looking to buy Woocommerce Currency Switcher From Aelia for multi currency support in the shop.` Does that plugin have any issues with dokan. Please confirm at the earliest. P.S: Why am I not able to create new Topics? Regards. |
January 31, 2015 at 11:21 am 35406 | |
Nayem | Hello Adarsh, I have checked this multiple currency switcher but seems like it is not supporting with Dokan. P.S : I have to discuss with the site admin about this. Please keep patience. Thank you 🙂 |
February 6, 2015 at 3:43 pm 35947 | |
Adarsh | Hi Nayeem, I still await your reply. Its been a week now. 🙂 |
February 7, 2015 at 2:13 pm 36018 | |
Nayem | Hello Adarsh, I am very sorry for being late. Please try again now. Hope it will be work fine. Thank you 🙂 |