Home Forums Theme Support Dokan Change Button Text in Dokan Plugin

This topic is: resolved

This topic contains 11 replies, has 3 voices, and was last updated by  Nayem 4 years, 3 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #35114

    Adarsh
    Member
    Post count: 13

    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?

    #35115

    Nayem
    Moderator
    Post count: 6480

    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 ๐Ÿ™‚

    #35125

    Anas Basalamah
    Member
    Post count: 160

    what if I want to change something in the /plugin/includes I also put it in dokan folder??

    #35171

    Nayem
    Moderator
    Post count: 6480

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

    #35311

    Adarsh
    Member
    Post count: 13

    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.

    #35313

    Nayem
    Moderator
    Post count: 6480

    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 ๐Ÿ™‚

    #35321

    Adarsh
    Member
    Post count: 13

    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.

    #35323

    Nayem
    Moderator
    Post count: 6480

    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 ๐Ÿ™‚

    #35364

    Adarsh
    Member
    Post count: 13

    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.

    #35406

    Nayem
    Moderator
    Post count: 6480

    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 ๐Ÿ™‚

    #35947

    Adarsh
    Member
    Post count: 13

    Hi Nayeem,

    I still await your reply. Its been a week now. ๐Ÿ™‚

    #36018

    Nayem
    Moderator
    Post count: 6480

    Hello Adarsh,

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

    Thank you ๐Ÿ™‚

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Change Button Text in Dokan Plugin’ is closed to new replies.