July 18, 2014 at 2:43 pm #292977
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.
RJuly 19, 2014 at 6:20 am #293252
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();
IsmaelJuly 19, 2014 at 8:03 pm #293448
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 ?July 20, 2014 at 6:20 am #293525
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.
IsmaelJuly 22, 2014 at 9:38 am #294239July 23, 2014 at 7:23 am #294794
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/
IsmaelAugust 8, 2014 at 1:07 pm #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.
August 12, 2014 at 11:36 am #303113
- This reply was modified 9 months, 2 weeks ago by radugidei. Reason: kriesi user elevated to administrator status
You must be logged in to reply to this topic.