Symptoms
- A widget you placed with Page Builder shows on
/login.phpbut is missing on/login.php?action=reset_passwordor on other sign-in and account URLs that carry a query string. - On those URLs, Page Builder does not let you edit the page or drop a widget into the region.
- The same widget renders everywhere once you move it into a global region, so the widget itself is not broken.
- The report describes no error message. The widget is simply not rendered on the affected URLs.
Cause
In a public report, a non-global region was declared in the header component, which the base layout includes on every page. Widgets in that region rendered on the login page but not on account and auth URLs with a query string. Many account routes, including signed-in account pages, use query strings, so the region was missing on most of them.
A reply on that thread from a BigCommerce team member said it looked like a side effect of a bug, possibly matching an internal ticket, and recommended reporting it to technical support. No public fix has been documented, so treat the exact cause as unknown.
One contributing factor is worth checking. BigCommerce's regions documentation says regions can only be added to files under templates/pages, including its subfolders. The one exception the same page shows is a global region, header_bottom--global, in templates/components/common/header.html. A standard (non-global) region declared in a shared component sits outside that documented pattern, and how it should behave there is not documented.
Resolution
Work on a copy of your live theme and test before you apply it.
Confirm which template each URL renders. Run
stencil startlocally and append?debug=contextto the storefront URL (add it with&when the URL already has a query string). The context is printed as JSON. Check thetemplate_fileandpage_typevalues. BigCommerce documents both as global context objects, andpage_typehas distinct values such aslogin,forgotpassword,getnewpasswordandeditaccount.Try a standard region in the page template itself. Move the region out of the header component and into the specific files under
templates/pages/authortemplates/pages/account, for example{{{region name="auth_below_form"}}}. The Widgets API accepts placements for templates such aspages/auth/login,pages/auth/forgot-password,pages/auth/new-passwordandpages/account/edit, per the placements documentation. Test whether the widget now survives the query string.If it still disappears, use the reported workaround. Declare a global region (the name ends in
--global) and render it only when the template path is an auth or account template. BigCommerce's helper reference lists String as an accepted collection type for thecontainshelper:{{#contains template_file "pages/auth/"}} {{{region name="account_notice--global"}}} {{/contains}} {{#contains template_file "pages/account/"}} {{{region name="account_notice--global"}}} {{/contains}}Check the exact
template_filevalues from step 1 first, and confirm on the local preview that the block renders where you expect. The trade-off is that a global region shows the same widget on every page where it is rendered, so you cannot vary it per account page.Verify. Push the theme to a non-active copy and preview it. Load the login page, the password reset link, a signed-in account page such as order history, and one unrelated public page. The widget should appear on the first three and not on the last. Then open each page in Page Builder and confirm you can edit the region.
If none of this works, contact BigCommerce support with the store URL, the theme name and version, the region name, the template file, and the exact URLs that fail.
How to prevent it
- Declare standard regions in page templates, not in shared components, unless the region is meant to be global.
- Give regions descriptive names so you can tell later which template owns each one.
- After a theme upgrade, retest account and sign-in URLs with query strings, since those pages are easy to miss in a quick check.
- Keep in mind the documented limits of 75 placements per template file and 10,000 placements per store if apps or scripts create placements for you.
B2B and ERP notes
B2B stores often use account pages for notices about credit terms, order approval or invoice access. If a connector or app creates widget placements through the API, check which template_file and region it targets, because a placement aimed at a region that does not render on that URL will silently show nothing. On multi-storefront setups, test each storefront's active theme separately.
Related problems to check
- A Page Builder widget disappears or only works in preview
- A custom Stencil web page template does not appear
- A script added in Script Manager does not load
Related articles
- A Page Builder widget disappears or only works in preview
- A custom Stencil web-page template does not appear
- A script added in Script Manager does not load
- Logged-in shoppers cannot see prices in Cornerstone Quick Search
- Stencil still claims the CLI is outdated after an upgrade
More in the BigCommerce knowledge base, including every article on Domains, themes and storefronts.