• Resolved e dev

    (@efishinsea)


    Hi. I inherited Development for a site using your plugin and see a login page on the site with only a shortcode

    [c7wp type='loginform' data='/collection/']

    I’m not sure what the data-redirect is routing to, or if there are options for that – I couldn’t find any in the CF7 docs,

    The problem we are having is when a user attempts to use “Forgot your Password” and then “Reset Password” below the login form, the email is generated from Commerce7, but clicking on the “Reset Password” link in the email sends them to a customer registration form as if they aren’t already a customer.

    I didn’t see that path handled in the Custom Front-end Routes list, but are there any options we have to correct this issue?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Michael Bourne

    (@michaelbourne)

    The login form shortcode is not meant to be used on the login page, it’s meant for custom landing pages. Your /profile/ route page should only have the standard c7 content div. With that in place, the email links will work.

    Thread Starter e dev

    (@efishinsea)

    Ok. Do you mean that instead of the shortcode we should be instead using: this:

    <div id="c7-account"></div> 
    or 
    <div id="c7-content"></div>

    ?? If so, I think these are only for v2 and doesn’t produce a login form on our site.

    If not, please explain a little more as I don’t have much background with CF7 and the docs mostly seem to be oriented for V2.

    thank you.

    • This reply was modified 1 year, 8 months ago by e dev.
    Plugin Author Michael Bourne

    (@michaelbourne)

    Yes, <div id="c7-content"></div>

    All default routes (profile, cart, collection, checkout, club, product) should have that div in place for C7 to inject content properly.

    If you want a custom login page, you have to build it on a different slug. But most of us would recommend against that, just use the /profile page.

    Thread Starter e dev

    (@efishinsea)

    The site currently has a /profile page that also has a shortcode:

    [c7wp type='createaccount' data='/profile']

    I thought these <div id=”c7-content”></div> were for the v2 platform, no?

    Regardless, either on that page shows the same “registration” type form we can’t seem to get away from, and nothing shows a password reset form.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Login / Password Reset’ is closed to new replies.