This topic has 4 replies, 2 voices, and was last updated 5 years, 6 months ago ago by Olga Barlow
When customer tries to logout she/he is directed to customer page and asked Are you sure?
Can I disable it? I just want them to be able to logout with one simple logout click.
Thanks
Hello,
Edit the xstore/framework/theme-fuctions.php and find etheme_sign_link function add the following code as mentioned on screenshot http://prntscr.com/nwxmzo
$url = ( $endpoint == 'customer-logout' ) ? wc_logout_url( wc_get_page_permalink( 'myaccount' ) ) : $url;
We’ll fix it in next theme update.
Regards
thanks a lot, worked like charm.
You are welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up