Hi team,
We want to let both customers and sellers log in only through Google or Facebook.
Here’s what we’re trying to do:
- Use a custom /login page with only Google/Facebook buttons (no password form).
- When users log in:
- If they are vendors, redirect them to /vendor-dashboard/.
- If they are not vendors, redirect them to /become-a-seller/ or My Account.
- Right now, MarketKing seems to override the My Account page, so our login page doesn’t show up correctly.
Can you please tell us:
- How to disable or bypass MarketKing’s My Account override, so we can use our own /login page?
- What is the official way to detect vendor users (function or hook)?
- Is there a way to prefill the vendor application form with data from WordPress user meta (name, email, phone)?
- And what’s the recommended hook to redirect vendors vs. customers after login?
We just want to make the login and seller onboarding as smooth as possible.