• Resolved ans11

    (@ans11)


    Hi,

    I want to ask how can we assign a store name of vendor as soon as they have been created. And how can we set the display name as store name? There are two sub questions in this. But I am more interested in first one that how I should give the store name to the vendor as soon as they have been created. For example I want to give “test” to a vendor. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Yeasin Arafat

    (@yeasinarafathridoy)

    Hi ans11,

    To assign a store name to a vendor as soon as they are created using the Dokan plugin in a WordPress environment, you need to hook into the action that is triggered after a new vendor is created. You can do this by adding custom code to your theme’s functions.php file or a custom plugin.

    The hook generated when the vendor registers on the Dokan marketplace is dokan_new_vendor.

    Thanks!

    Thread Starter ans11

    (@ans11)

    Hi Yeasin Arafat,

    Thank your reply. Yes I have developed a functions.php file in my child theme. I will use your suggested hook. But can you also please share some documentation or a code snippet that can help me get started. I will then manage the code snippet according to my needs. Thank you.

    Plugin Support Mobin Chowdhury

    (@mobin210385)

    Hi?@ans11,

    We regret to inform you that we are unable to provide specific guidance on the customization of the Dokan plugin.

    For detailed customization of the Dokan plugin, we recommend consulting with an experienced WordPress developer or expert. They will be better equipped to assist you in locating and modifying the specific actions and hooks you are interested in.

    Thanks!

    Plugin Support sazdhossain

    (@sazdhossain)

    Hi @ans11,

    <span style=”background-color: rgb(251, 251, 251); color: rgb(50, 55, 60); font-family: "Open Sans", sans-serif; font-size: 14.4px; white-space-collapse: collapse;”>Due to inactivity, this topic is now being closed. If you have any further concerns or queries, please don’t hesitate to start a new topic.</span>

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to assign store name of a vendor as soon as it has been created’ is closed to new replies.