• Resolved ans11

    (@ans11)


    Hi,

    I want to remove the shop name from the required list and want to make it optional. I tried to comment out the shopname and store_name on the following file:
    dokan-lite/includes/Registration.php but when I tried to update the “Edit Profile/Personal” in vendor dashboard, it gives me error and says “Store name required”

    Please help me in this regard. Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @ans11,

    It seems to be related to this topic. Please follow that. Thanks!

    Thread Starter ans11

    (@ans11)

    Thank you @@jahidulhassan. Yes that is similar to what I want but can you also provide a code snippet that will make it optional so that we can poste the code snippet to the child theme’s function.php

    Thank you.

    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @ans11,

    A sample code for that is given below that will make the shop name to be non-required.

    function seller_registration_required_fields($required_fields){
      unset($required_fields['shopname']);
      return $required_fields;
    }
    add_filter('dokan_seller_registration_required_fields', 'seller_registration_required_fields');
    

    Thanks!

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @ans11

    As we haven’t heard back from you for a while, we’ll consider this topic resolved. If you encounter any further issues, please don’t hesitate to open a new topic.

    Thanks!

    Thread Starter ans11

    (@ans11)

    Hi @jahidulhassan,

    I have used your above code, but the storename is still not removed from the required fields. When I tried to update the Edit Profile > Personal it is saying that Store name required. Can you please help me regarding this. Thank you.

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @ans11,

    The code provided by @jahidulhassan primarily focuses on removing the store name requirement from the vendor registration form. If you are encountering issues with the store name still being required in the Edit Profile > Personal section, please note that modifying this specific functionality may involve more advanced customization within the Dokan and WordPress core codebase.

    For customization beyond the vendor registration form, especially in the Edit Profile section, we recommend seeking the assistance of a professional WordPress customization expert. They can provide a tailored solution and ensure that any changes align with the overall functionality of your website.

    Thanks!

    Thread Starter ans11

    (@ans11)

    Hi @tanvirh,

    Thank you for your reply. I myself is also a wordpress developer and working on a project. Though, I am not a highly expert but still I believe I can handle it if you can provide me some more guidance regarding this. So as your team is developed this so can you please provide me little more information about this so that I can go in the right direction. Thank you.

    Plugin Support Mobin Chowdhury

    (@mobin210385)

    Hello @ans11,

    As per our support policy, we are unable to provide support for extensive customization or modifications, especially within the Dokan and WordPress core codebase. The changes you’re looking to make involve more advanced customization.

    For detailed customization beyond the vendor registration form, particularly in the Edit Profile section, we recommend consulting with a professional WordPress customization expert.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to remove shop name from required list’ is closed to new replies.