Overview
When the Upsells module’s position is set to bottom, Upcart pushes it — along with the notes and announcement modules, if those are also set to bottom — down to the base of the cart body. This tutorial pulls that group up so it sits immediately after the product list, making it more visible and increasing the likelihood of engagement.This affects the bottom modules container, which holds the upsells, notes and announcement modules. Add-ons are not in it — they render in the footer, and this rule doesn’t move them.
Where to find the custom CSS editor
- Go to Upcart > Cart Editor > Settings > Custom CSS
- Scroll to the input field and paste the code below
- Click Save
- Refresh your storefront to view the changes
CSS to reposition modules
margin-top: auto, a flex auto-margin that pushes it to the bottom of the cart body. Overriding it to 0 removes that push, so the group sits directly after the product list instead. It is not decorative spacing — if you set some other value, you’re positioning the group, not trimming a gap.
Optional enhancements
You can combine this adjustment with:- Upsell styling (background colors, padding, or borders)
- Add-on highlight styles
- Scroll anchors or animations for smoother appearance