• Resolved icaro56

    (@icaro56)


    Hi,

    How can I create a black list with forbidden store names? I need that certain words do not be eligible for chosen.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey @icaro56 ,

    Currently, any default option is unavailable to blacklist a few store names. However, this requirement can handle in different ways. The Dokan plugin offer Enable Selling option. While Admin turns on this setting, the vendor needs approval from an admin before starting selling in the marketplace. So, the admin can enable the selling option for any specific vendor after verifying the store name. If an admin has any issue with the store name then the admin can decline the selling option for that specific vendor and ask the vendor to change the name.

    I hope this information will help.

    Thanks!

    Thread Starter icaro56

    (@icaro56)

    Isn’t there a filter via script that I can do this blocking? I need to at least block my website name as a store name.

    Hey @icaro56,

    A hook or filter is currently unavailable to do so. It requires a JS script to add such an option. To add the JS script you can have a look to wp-content/plugins/dokan-lite/assets/js/vendor-registration.js?this file.

    Anyways, let me share some additional information with you. I believe this information will be helpful to customize the plugin as per your preference. Like, the store name is saved database’s?_usermeta?table’s?dokan_store_name?and?dokan_profile_settings?meta key. The Store URL of a store is created from the value of the user’s?nicename?using?dokan_get_store_url?this function.

    I hope this information will be a help.

    Thanks!

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @icaro56

    Due to inactivity, we are marking this topic as resolved. Feel free to open a new one if you face any further issues.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Store name black list’ is closed to new replies.