Many of your shoppers browse and buy on their phones, so your Shopify cart drawer needs to work well on small screens. Slide Cart adapts the drawer to mobile devices automatically, and gives you a few mobile-specific options to make the cart feel natural on a phone.
Mobile opening animation
When the drawer opens from the left or right, you can choose how it appears on phones:
- From side: the drawer slides in from the edge, the same as on desktop.
- From bottom: the drawer slides up from the bottom of the screen, similar to a native app panel.
This option isn't available when the drawer is set to open as a centered window.
How content adapts on small screens
- Recommendation widgets placed in the sidebar panel are shown inside the drawer on narrow screens, so nothing is cut off.
- Recommendation widgets have separate display settings for small screens (up to 480px) and medium screens (481px to 768px). For each size you can choose a grid, list or line layout, turn on a carousel and pagination, set the number of columns, or hide the widget.
Show a cart drawer only on phones or tablets
Use the cart drawer's targeting conditions (triggers) to set the targeted device to Mobile only or Tablet only. Phones and tablets are treated as different devices: a cart for Mobile only doesn't show on tablets, and a cart for Tablet only doesn't show on phones. A cart set to All devices covers both. When several active carts match a visitor, the one with the most specific conditions is shown.
Mobile settings in related features
- Sticky cart button: choose whether it shows on tablets and mobile devices.
- Sticky add-to-cart bar: has its own mobile settings, including showing it at the top or bottom of the screen, a vertical offset and which product details to display.
- Quick buy buttons: choose whether they show on tablets and mobile devices.
Best practices
- Keep announcement and reward messages short so they fit on one or two lines.
- Show fewer upsells on small screens, or use a carousel, so cart items and the checkout button stay easy to reach.
- Try the bottom opening animation if your theme uses bottom navigation or panels.
- Test on a real phone after every change, including adding an upsell and going to checkout.
Troubleshooting
- The drawer doesn't open on phones: check that an active cart drawer targets All devices or Mobile only, and that the app embed is enabled in your published theme.
- A tablet shows a different cart than a phone: tablets match only carts set to All devices or Tablet only.
- A widget is missing on mobile: check that its small or medium screen display isn't set to hidden.
Need help optimizing your mobile cart? Contact us at [email protected].