Conversation
supportHello, how are you? I couldn’t find a shortcode to place the change button in another location. I need this because I’m using Yith Customize My Account Page, and the button doesn’t appear with this plugin activated! Thank you
Hi @vitorcherulli , Thank you for reaching out! Could you please try to add the following snippet of code to your child theme’s functions.php file and let us know the result? function m3di4ticus_sfwc_change_user_switcher_position() { remove_action( 'woocommerce_before_account_navigation', 'sfwc_action_woocommerce_account_dashboard' ); add_action( 'woocommerce_account_navigation', 'sfwc_action_woocommerce_account_dashboard', 0 ); } add_action( 'init', 'm3di4ticus_sfwc_change_user_switcher_position' );
We haven’t heard from you in a while so I’m going to go ahead and mark this thread as resolved. If you have any other questions about the plugin, please start a new thread.
Hello, how are you? It didn’t actually work! And now there’s a bigger problem, because it doesn’t appear anywhere else! Do you have any shortcodes that I can use to place it in specific places? I’ve tried accessing it through subaccounts or subaccounts/add-subaccount/ and nothing I’ve tried everything!
Hi @vitorcherulli , Thanks for your update on this! I am sorry but unfortunately there is currently no shortcode for the User Switcher. If you want we can check your site, but we need you to contact us via: Dashboard → WooCommerce → Subaccounts → Contact Us.
Hi @vitorcherulli , Thank you for reaching out! Could you please try to add the following snippet of code to your child theme’s functions.php file and let us know the result? function m3di4ticus_sfwc_change_user_switcher_position() { remove_action( 'woocommerce_before_account_navigation', 'sfwc_action_woocommerce_account_dashboard' ); add_action( 'woocommerce_account_navigation', 'sfwc_action_woocommerce_account_dashboard', 0 ); } add_action( 'init', 'm3di4ticus_sfwc_change_user_switcher_position' );
We haven’t heard from you in a while so I’m going to go ahead and mark this thread as resolved. If you have any other questions about the plugin, please start a new thread.
Hello, how are you? It didn’t actually work! And now there’s a bigger problem, because it doesn’t appear anywhere else! Do you have any shortcodes that I can use to place it in specific places? I’ve tried accessing it through subaccounts or subaccounts/add-subaccount/ and nothing I’ve tried everything!
Hi @vitorcherulli , Thanks for your update on this! I am sorry but unfortunately there is currently no shortcode for the User Switcher. If you want we can check your site, but we need you to contact us via: Dashboard → WooCommerce → Subaccounts → Contact Us.