Overview
This customization prevents multiple upsells from being added at once by hiding the upsell section as soon as one upsell is accepted. Once the upsell is removed, the module reappears. This is useful if you want to:- Simplify the cart experience
- Reduce decision fatigue
- Maintain exclusivity around certain offers
How it works
- When a customer accepts an upsell, the upsell section is hidden
- If the upsell item is removed, the upsell section becomes visible again
- Works with both AI-recommended and manual upsells
Where to add the code
- Go to Upcart > Cart Editor > Settings > Custom HTML
- Paste the following code into the Above announcements section
HTML script to copy
Result
Once this customization is added:- Customers only see upsells if they have not already accepted one
- The upsell module is hidden as soon as an upsell is added
- The module reappears automatically if the upsell item is removed
- No need to configure product IDs or tags

