Byte Digital Themes

Cart drawer issues

Drawer not opening, items missing, drawer stuck.

Updated 2026-05-09

Drawer doesn't open on add-to-cart

Check Theme settings → Cart → Cart type. If set to page, ATC navigates to /cart instead of opening the drawer. Switch to drawer.

Drawer opens empty after add

Likely a third-party app intercepting cart events. Apps that override the cart (subscription apps, bundle apps) sometimes prevent the theme from refreshing the drawer state.

Test: disable cart-modifying apps and re-test. If drawer works again, contact the app vendor.

Discount code disappears after removing an item

Fixed in v1.0 — drawer always re-fetches /cart.js after qty / remove operations. If you're seeing this on an older theme version, update.

Stock toast hidden behind drawer button

Fixed in v1.0 — the toast now positions itself above the checkout button using JS, not CSS :has(). Older versions relied on :has() which isn't supported in some mobile browsers.

Drawer can't close on iOS

Check that JavaScript is enabled. The drawer uses the close button + backdrop tap + ESC + swipe-down — at least one should work. If none do, console errors are blocking the JS.

Quick view or cart drawer opens instantly with no animation

This is almost always a custom CSS rule using display: none / display: block to toggle the panel. display changes can't be animated — the transition is skipped, so the modal pops in instantly.

Fix: toggle with opacity + visibility (or pointer-events) instead, e.g.

.drawer { opacity: 0; visibility: hidden; transition: opacity var(--motion-duration) var(--motion-ease); }
.drawer[data-open="true"] { opacity: 1; visibility: visible; }

Dost's built-in drawer / modal uses this pattern, so removing your custom rule restores the animation.

Need a hand? Contact support.