After vendor registration redirect to another site

WCMp Vendor Staff

After vendor registration redirect to another site Resolved

Viewing 6 reply threads
  • Author
    Posts
    • #92236
      itunes_schreiber
      Participant

      Hi,
      there is no need (at least at the moment) to approve vendors on my site.
      So after using the registration formula, they will directly forwarded to the vendor dashboard.

      I would like to change this. So for the first time, when they submitting as a vendor via the registration formula they should be redirected to another site / URL.
      I found only posts how they will be redirected always after login or something else…

      Can you please assist with some code here?

      Thank you.

    • #92341
      itunes_schreiber
      Participant
      This reply has been marked as private.
    • #92429
      itunes_schreiber
      Participant

      Finally I was able to resolve this by myself.
      It was quite more simple as thought:

      add_filter('wcmp_vendor_login_redirect', 'redirect_to_submit_deal');
      function redirect_to_submit_deal($redirect)
      {
      return 'my-url-here';
      }
      Copy

      Thought that I have already tried this code – but there was may just a litte issue inside.
      Now it’s working. 🙂

      Can you please additional tell my, how I can customize this so that the submitted vendor will be logged out?
      So this would be a kind of email verification:
      The vendor needs access to this mail account to login with the password which will be generated automatically and sent him to his mail account.
      This would be awesome.

      Thanks.

    • #92752
      itunes_schreiber
      Participant

      Hi,
      any updates here?

      Regards,
      Lukas

    • #92309
      itunes_schreiber
      Participant

      Hi, just an update:
      I have tried to use the code from this guy:
      https://wc-marketplace.com/support-forum/topic/vendor-registration-re-direct/#post-66651

      And I have also tried to use this code:
      https://wc-marketplace.com/support-forum/topic/vendor-registration-re-direct/#post-68166

      But both did not the job. I’m always will be redirected to the dashboard and not to another site / URL.
      Could you please assist with the code?
      Do I need to customize something?

      Regards.

    • #94971
    • #98485

      I presume that your issue is resolved, since, we haven’t heard back from you.
      We are marking this thread as resolved.
      Kindly open a new thread if you face any further query.

Viewing 6 reply threads

The topic ‘After vendor registration redirect to another site’ is closed to new replies.

Buy all Marketplace addons together, check out our Bundle

Buy at Slashed Price