> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aftersell.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upcart x GemPages Landing Page Builder

> This article explains how to set up GemPages to work seamlessly with Upcart’s cart drawer.

# Overview

GemPages is a flexible drag-and-drop page builder, but its default settings redirect customers to the cart page after clicking “Add to Cart.” This interrupts the intended Upcart flow, which is designed to show a slide-out cart drawer.

To ensure compatibility, you’ll need to disable this redirect behavior so the customer stays on the page and the Upcart drawer opens as expected.

***

## How to prevent redirects from Add to Cart buttons

1. Open your **Product Page** in the GemPages editor
2. Click on the **Add to Cart** button to select it
3. In the right-side panel, go to the **Interactions** section
4. Locate the dropdown labeled **Action After Click**
5. Select **Keep Shopping**

This change ensures that:

* Products are added to the Shopify cart normally
* The page doesn’t reload or redirect
* Upcart detects the cart update and opens the drawer

<img src="https://mintcdn.com/aftersell/44S6gABa85nCHEE3/images/upcart/22a04efa77d8.gif?s=485daa1d93215d0959db9de3111a6e5f" alt="Image" width="1740" height="1080" data-path="images/upcart/22a04efa77d8.gif" />

***

## Final result

After saving and publishing:

* Clicking **Add to Cart** will keep the customer on the same page
* Upcart will slide in automatically to show the updated cart

This setup works for both product and landing pages built in GemPages.

***

**Note:**

These settings are available in **GemPages V7**. Earlier versions do not include this button customization option. Please reach out to [GemPages Help Center](https://help.gempages.net/) if you are not able to find these settings.
