• Resolved stoelwinder

    (@stoelwinder)


    I want to use YITH Woocommerce Affiliates plugin to only manually create approved affiliates. As such, I would like to disable affiliate registrations altogether. How do I disable the “Become and Affiliate” link on the Affiliate Dashboard page and prevent new registrations?

    This should also take care of the immediate registration spam I received after enabling your plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter stoelwinder

    (@stoelwinder)

    YITH? Any advice?

    Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    hope you are doing well 🙂

    In this case, to achieve what you need, you will need to override a plugin template into your theme. We will give you all the steps you have to do to achieve what you need:

    1. Copy the registration-form.php template, found in yith-woocommerce-affiliates/templates/shortcodes into your active theme folder in the following path: wp-content/themes/your_active_theme/woocommerce/shortcodes. If you don’t have the woocommerce and shortcodes folders you have to create them.
    2. Open this template from your theme folder and delete the code included between lines 76 and 166, both included.
    3. Enable “Show Login form” option in plugin settings, so your users will be able to login to your site in the affiliate dashboard page.

    Please, try it and let us know any news, please.

    Have a nice day!

    Plugin Author YITHEMES

    (@yithemes)

    Hello there,

    We hope you’re doing well 🙂

    We are setting this topic to solved for now as we have no more news from you, but please feel free to open a new one at any time to receive additional support on this issue.

    Have a good day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable registration’ is closed to new replies.