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.
ThanksTheme version: 5.3 WooCommerce version: Newest
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.
thanks a lot, worked like charm.
You are welcome!
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Seems you did not register purchase code for XStore WordPress Support Forum to be able to create a topic on this forum.