Hello Team,
I’m using XStore Header Builder + WooCommerce and wanted some guidance on the recommended XStore-side approach for a login flow.
Current Setup
WooCommerce is used as the main user/account system
The My Account page is a standard WooCommerce page ([woocommerce_my_account])
Header uses XStore “My Account” element
Logged out → shows Sign In
Logged in → shows My Account
This part works as expected
Requirement
Instead of:
Showing inline login on the My Account page
or
Redirecting to a separate login page
I want to:
Show only a “Sign In” link / button in the header
On click, open a custom login popup (handled by a third-party plugin – implementation details out of scope)
After successful login, redirect user to WooCommerce My Account
Keep WooCommerce as the single source of truth for:
Account
Addresses
Orders
Challenge
The XStore My Account header element already has built-in click behavior (inline login / redirect), so when using a popup-based login, the click is effectively handled twice.
I would like to know:
Is there a recommended way in XStore to:
Render the My Account element as a plain link / button
Disable or bypass the default inline login behavior