Lostpassword Woocommerce | WordPress.org

[ad_1]

Hi @dceranic ,

I understand that you’re having trouble getting the lost password link to work correctly on your WooCommerce site. I get how frustrating this must be when you’re trying to provide a smooth experience for your customers.

I would suggest checking any plugins could be interfering with the process. Since you’re using Wordfence and WP Fastest Cache, try temporarily deactivating them and see if the problem persists. Also, ensure that your custom code in functions.php is error-free and properly hooked.

However, if you need further help with any custom code, please note that this falls outside our scope of support, in this case we recommend asking your development questions in the  WooCommerce Community Slack . Many of our developers are active there and can help. You can also get help from Codeable.io or WooExperts.

If you’re still stuck, I’d would like to look into your site further, can you please share a copy of your site’s System Status Report so we can check your site’s current setup? You can find it by going to WooCommerce → Status, then selecting “Get system report” and clicking “Copy for Support.”

Once you’ve done that, you can paste the text in here using the “<code>” block.

Keep us posted on your progress.

Hello

Resolved. I check previous posts in forums. Well I resolved by putting in Woocommerce advanced tab. Put in blank field lost-password. This force password changes with wordpress process. I added some code in function.php to redirect the user to myaccount page when done.

add_action( ‘after_password_reset’, ‘redirect_after_password_reset_wp’ );

function redirect_after_password_reset_wp() {
    // Redirection vers la page Mon Compte de WooCommerce
    wp_safe_redirect( wc_get_page_permalink( ‘myaccount’ ) );
    exit;
}

Not the best way. I would have prefer to stay with woocommerce functionality (XStore makes html remplacements.) but I now works.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer