Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #292977

    Hi guys,
    Whenever i click on the link to change the password, it just redirects to the my-account page. I have tried with both default and custom endpoint for change password in WooCommerce settings.
    This used to work in a previous version of Replete i had, I’m now using the latest.


    Hey there!

    Thank you for using the theme.

    Please find this code on config-woocommerce > config.php, line 318:

    $url['account_edit_adress']	= get_permalink(get_option('woocommerce_edit_address_page_id'));
    	$url['account_view_order']	= get_permalink(get_option('woocommerce_view_order_page_id'));
    	$url['account_change_pw'] 	= get_permalink(get_option('woocommerce_change_password_page_id'));

    Replace it with:

    $order = new WC_Order();
    		$url['account_edit_adress']	= wc_get_endpoint_url( 'edit-address', '', get_permalink( wc_get_page_id( 'myaccount' ) ) );
    		$url['account_view_order']	= $order->get_view_order_url() . $order->get_order_number();
    		$url['account_change_pw'] 	= wc_customer_edit_account_url();




    Hi Ismael,

    Thanks for the solution, but it doesn’t work, the lost password link still redirects to the ‘my account’ page.
    Any other ideas ?

    this last line of code
    $url['account_change_pw'] = wc_customer_edit_account_url();
    should not work anyway, as it would redirect to my account page.
    tried it with
    as per woo commerce codex, but this does not work either.
    Other ideas ?



    Thank you for the update.

    Please give us a temporary login details and post the link of the actual website here. We would like to check it.


    This reply has been marked as private.


    Did you create the My Account menu on Appearance > Menus panel? I would like to check but I can’t access the Menus panel.

    Another user is using Enfold and he fixed it. Please refer to this link:

    Best regards,


    Hi Ismael, i have elevated your credentials so you can check.
    Making pages with shortcodes should not be required any more in the new version of WooCommerce.

    • This reply was modified 1 year, 3 months ago by  radugidei. Reason: kriesi user elevated to administrator status


    Try switching to one of the twenty something themes and see if it works there.

    Best regards,

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.