• Resolved vasudevb

    (@vasudevb)


    There are two problems.

    1. Despite having restricted visibility of vendor’s email address in their store, they are still able to do so.

    2. I want to remove the “i am customer” and “i am vendor” radio buttons and maintain customer as the only unseen default option.

    Can anyone help?

    • This topic was modified 5 years, 11 months ago by vasudevb.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @vasudevb ,

    Thanks for reaching out.

    1. You might see the option in Vendor dashboard > settings page that the vendor can enable the settings to show the email but it will not show in the store if admin has disabled it.

    Please check if you have a custom store-header.php file in your themes /dokan/ folder. If you have then update the file with the latest version. If you do not have the custom file and the settings to hide the email address is not working contact us through our support with your site details.

    2. It looks like you only want to keep the customer registration form. Use this code to remove the vendor registration part from your my-account page –

    remove_action( 'woocommerce_register_form', 'dokan_seller_reg_form_fields', 100 );

    Thank you 🙂

    Thread Starter vasudevb

    (@vasudevb)

    Thank you for responding.

    1. I have the facility of hiding from the admin end. So unless there is any improvement, like the vendor not seeing it at all, I think we are set. Also I could not find the file you specified. I found themes in wpcontent folder but it only has hever, storefronchild, storefront and twentytwenty and varia folders. [i got the file in the plug-in editor.]

    If there is anything I missing out please inform me. Also I am using a child theme which I downloaded today(before posting the query).

    2. Where am I supposed to use the code?

    Hello @vasudevb ,

    1. I believe you have everything working now. The folder I mentioned should not be there by default. Some themes include new template files for Dokan so I mentioned that to check. From your description, you are all set.

    2. I am sorry to include that information. Use that code in your theme’s functions.php file.

    Thank you 🙂

    Thread Starter vasudevb

    (@vasudevb)

    Thank you so much

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hide vendor and vendor email problem’ is closed to new replies.