Build-a-Box — cart drawer now opens on all themes
The Build-a-Box cart drawer now opens correctly on Shopify themes with custom section definitions, instead of redirecting shoppers to the cart page.
Some Shopify themes declare their own custom cart drawer sections via a getSectionsToRender() method. When a shopper clicked Add to Cart in a Build-a-Box widget on those themes, the drawer silently failed to render — and instead redirected them straight to /cart. For merchants running custom or premium themes, this meant subscribers couldn't complete their box purchase from the widget without landing on a separate page.
The root cause was that the Build-a-Box SDK used a hardcoded list of section IDs when requesting which sections to re-render after an add-to-cart event. If the theme's actual drawer sections weren't on that list, the request returned undefined references and the drawer never opened.
The SDK now reads the section IDs the theme declares in getSectionsToRender() and uses those for the render request, falling back to the built-in defaults only when the method isn't present. The cart drawer opens correctly regardless of whether the theme uses standard or custom section IDs.
Who this affects: merchants using Build-a-Box on themes that define their own getSectionsToRender() implementation. If your shoppers were being sent to the cart page after clicking Add to Cart in a Build-a-Box widget, this fix resolves it. No configuration change is needed on your end — the update is live.