• Resolved Anandabrata Ghosh

    (@ananddevops)


    Hello,

    I am using the WC Marketplace plugin, and they have a Lost password functionality for their vendors. The Lost Password page, as confirmed by them, is the WooCommerce Lost password page.

    The Lost Password page that I see is the WP Lost Password page. Although the whole functionality works fine, I am trying to understand that doesn’t WooCommerce have a wrapper Lost Password page built over the WP Page?

    If the answer to above is yes –
    Woocomm plugin is ofcourse active, but I have NOT entirely configured it. Does a particular section needs to be configured for the password page to show?

    Thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter Anandabrata Ghosh

    (@ananddevops)

    Just to clarify, the Reset Password setting under
    WooComm –>> Setting — Emails is enabled. So there is no issue there.

    Plugin Contributor Gerhard Potgieter

    (@kloon)

    Have a look at the WooCommerce -> Settings -> Advanced tab, you can sepcify the endpoints for the lost password page there. Then assuming WC Vendors is not changing default WooCommerce behaviour you should be able to access the WooCommerce password reset page by going to yoururl.com/my-account/ there should be a link to the lost password page.

    A simple test you can do is to see if this is a conflict with your theme or with another plugin.
     
    The best way to determine this is to:
     

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Thread Starter Anandabrata Ghosh

    (@ananddevops)

    @kloon

    The conflict test gave me the same result. I checked the All Pages and I couldn’t find the Lost Password page there, not sure if it is supposed to be there. I am nit sure is it because I have just activated WooComm and not actually set it up that I am facing these issues.

    Infact I don’t see any of the WopComm pages. Just the Sample and Privacy Page under all pages.

    Plugin Contributor Gerhard Potgieter

    (@kloon)

    OK, if you cannot see any of the WooCommerce pages I suggest you do the following, in WP-Admin go to WooCommerce -> Status -> Tools tab, find the Create default WooCommerce pages option and click the button next to it. This will create all the pages, after that you should be able to access yoururl.com/my-account/lost-password/ which is the default lost password page for WooCommerce.

    Thread Starter Anandabrata Ghosh

    (@ananddevops)

    @kloon

    Sorry to digress, but before I started deactivating everything, I had a vendor dashboard page was clean for this setting.

    But since I need to carry the conflict test, I changed it back to normal.

    On changing it back, no sure for what reason, the sidebar just remained.

    Any clue/suggestions as to what might be going on?

    Thanks

    Thread Starter Anandabrata Ghosh

    (@ananddevops)

    Just to provide additional info, it seems some WooComm sidebar got activated during the changeover, not sure which one. Here is the detail for the same

    html body.home.page-template-default.page.page-id-6.custom-background.wp-custom-logo.woocommerce-js.right-sidebar.woocommerce-active div#page.hfeed.site div#content.site-content div.col-full div#secondary.widget-area

    Thanks

    Thread Starter Anandabrata Ghosh

    (@ananddevops)

    Simply removed the sidebar widgets. I simply want to understand that incase I have to redirect the lost password to WooComm page

    using somethinhg like this

    add_filter( 'lostpassword_redirect', 'my_redirect_home' );
    function my_redirect_home( $lostpassword_redirect ) {
    	return home_url();
    }

    The WooComm link would be ‘/my-account/lost-password/’ and for the above function use in functions.php

    add_filter( 'lostpassword_redirect', 'my_redirect_lostpass' );
    function my_redirect_lostpass( $lostpassword_redirect ) {
    	return home_url('/my-account/lost-password/');
    }

    I tried the same and it doesn’t work. Would you let me know the mistake I am making.

    Thanks

    Thread Starter Anandabrata Ghosh

    (@ananddevops)

    I also did look up this reference – woocommerce_lostpassword_form

    But I am not using it right.

    Kindly suggest.

    Thread Starter Anandabrata Ghosh

    (@ananddevops)

    I tried this code instead

    add_filter( 'lostpassword_url', 'my_lost_password_page', 10, 2 );
    function my_lost_password_page( $lostpassword_url, $redirect ) {
        return home_url( '/lostpassword/?redirect_to=' . '/my-account/lost-password/' );
    }

    And it gives me the page not found error. Then I realized that I had not created the pages for a reason for my application testing.

    Is there a way I can just generate that page and not any other?

    Thread Starter Anandabrata Ghosh

    (@ananddevops)

    @kloon

    This thread, I want to conclude by asking if –

    Pages can be added one by one while setting up WooComm, as per features?

    Thanks

    Plugin Support Ryan Ray, a11n

    (@ryanr14)

    Hi there,

    To answer your last reply, you can manually set these up one by one if you wanted. And to explain further as well WooCommerce technically creates three essential pages if you have it do that for you. The Shop, Cart, and Checkout pages.

    Other parts of WooCommerce that appear as pages are endpoints that use template files from within the plugin.

    Kenin

    (@kbassart)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    i dont undestard why this bug is not just fixed…..

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

The topic ‘Lost Password Page issue?’ is closed to new replies.