• Hello. Can anyone help solve this?
    I want to redirect user after login based on their street address to the proper online store. Is there a plugin to make this happen? I want to show a map that the stores are placed and after the user input his address then redirect him. Is it possible for this to execute. Thank you in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    Redirecting after login is simple enough with the “login_redirect” filter. There are plugins that do so on a basic level. The complication is destination based on user data. There are also store locator plugins, but I doubt they would redirect, they are typically a one page interactive solution. It might be possible to tie the two plugins together through some custom coding.

    Or maybe everyone is sent to the one locator page and the redirect URL is actually a form submit to the store locator page, sending the user’s address as though they had filled out the form themselves.

    Thread Starter halatsis

    (@halatsis)

    Thank you for your response.
    I thing its more complicated because firstly the site must verify that the address-user is actually in the delivery zone that is marked on the map. So the message will be -We can deliver to you- otherwise the message will be -We do not deliver in this area- and then after that must redirect user to the proper store.
    I though it might be some plugin but the solution is to make custom code!!

    Moderator bcworkz

    (@bcworkz)

    If you need delivery zone verification, I think that would require interaction with the delivery service’s address database, which in some cases have an API we can use to that end. Unless that service has been kind enough to develop their own WP plugin, you’re likely looking at a custom coded solution.

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

The topic ‘Redirect user’ is closed to new replies.