Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.
    Cheers,
    R

    #293252

    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();

    `

    Regards,
    Ismael

    #293448

    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
    wc_lostpassword_url();
    as per woo commerce codex, but this does not work either.
    Other ideas ?

    #293525

    Hi!

    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.

    Cheers!
    Ismael

    #294239
    This reply has been marked as private.
    #294794

    Hi!

    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: http://www.kriesi.at/support/topic/woocommerce-pages-missing-enpoints/

    Best regards,
    Ismael

    #301610

    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 4 months, 2 weeks ago by  radugidei. Reason: kriesi user elevated to administrator status
    #303113

    Hi!

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

    Best regards,
    Devin

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

You must be logged in to reply to this topic.