> ## 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 PageFly Landing Page Builder

> This article explains how to prevent cart page redirection when using PageFly with Upcart.

## How to Fix It

Follow these steps to ensure your **Add to Cart** button works correctly with Upcart:

1. Open the **PageFly** app in your Shopify admin.
2. Go to the **Add to Cart** button settings.
3. Find the section labeled **After add to cart action**.
4. Select the option **Stay on the same page**.

   <img src="https://mintcdn.com/aftersell/44S6gABa85nCHEE3/images/upcart/305ce728fa91.gif?s=cbed55db272e2f53c69629c01ff97223" alt="Image" width="3008" height="1080" data-path="images/upcart/305ce728fa91.gif" />

This ensures that customers remain on the same page and the **Upcart drawer** opens correctly after adding a product to the cart.

***

## Learn More

For additional details about this setting, refer to **[PageFly’s documentation](https://help.pagefly.io/manual/shopify-elements-product-add-to-cart/)** on configuring the **Add to Cart** button.
