Change Button Text in Dokan Plugin

This topic contains 11 reply and 3 voices, and was last updated by Nayem 9 years, 2 months ago
Viewing 11 Posts - 1 through 11 (of 11 total)
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 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 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 Nayem

Yes, You have to put that file in the Dokan folder.

January 29, 2015 at 5:25 pm 35311
Adarsh 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 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 Adarsh

We tried to change the function in template-settings.php in plugins\dokan\classes
–> function setting_field( $validate = ” )
–> function insert_settings_info()

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 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-
– First of all you have to use remove_action.
– Then you have to create your own function name which should be different from the core file.
– Then you have to use add_action.

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 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 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 Adarsh

Hi Nayeem,

I still await your reply. Its been a week now. 🙂

February 7, 2015 at 2:13 pm 36018
Nayem Nayem

Hello Adarsh,

I am very sorry for being late. Please try again now. Hope it will be work fine.

Thank you 🙂

Viewing 11 Posts - 1 through 11 (of 11 total)