# How to trigger a popup based on a placed order or updated cart?

The following article applies to our brand new Forms and Popups editor. Legacy editor help can be found [here](https://www.getresponse.com/help/forms).

You can now react to the customers of your store and show them a popup after they:

*   **place an order** with a specific order value, a selected number of products, or specific products – you can motivate shoppers to return through offers like discounts or reward programs
*   **update the cart** with specific cart values, selected number of products in the cart, or specific products placed in the cart – you can offer an incentive, like free shipping, product upgrades, or a better deal

Both triggers can react on **data gathered in the past** (eg: 14 days ago visitor placed an order) or **only new events**.

Before you start
----------------

Make sure that your [store is connected](https://www.getresponse.com/help/ecommerce) to GetResponse.

You can trigger popups based on orders placed or updated carts in [Magento](https://www.getresponse.com/help/magento-and-getresponse), [WooCommerce](https://www.getresponse.com/help/wordpress-and-getresponse-ecommerce), [Prestashop](https://www.getresponse.com/help/prestashop-and-getresponse), and your own [API integration](https://apireference.getresponse.com/).

Triggering popups based on order placed
---------------------------------------

1.  Go to **[Forms and popups](https://app.getresponse.com/popups)** and click on the name.  
      
    ![Manage forms and popups.](https://us-wd.gr-cdn.com/help/sites/9/2022/05/1154/pptp.png)  
      
    
2.  Click **Edit** under **Display rules**.  
      
    ![Edit display rules.](https://us-wd.gr-cdn.com/help/sites/9/2022/05/0939/ppp1.png)

3.  Click **Turn on targeting** in **Ecommerce targeting**.  
      
    ![Ecommerce targeting](https://us-wd.gr-cdn.com/help/sites/9/2023/01/1135/et1.png)  
      
    
4.  Select the store in which you want to enable ecommerce targeting (if you have more than one).  
    
5.  Move the slider beside the **Order placed** to display more options.  
      
    ![popup display rule: order placed](https://us-wd.gr-cdn.com/help/sites/9/2023/12/1110/pps1.png)  
      
    
6.  Choose the trigger that will display the popup:  
      
    *   **Order value** – enter the exact, minimum, or maximum value of ordered products
    *   **Number of products** – enter the exact, minimum, or maximum number of ordered products
    *   **Specific product** – select the product whose order you want to track (you can select multiple products)
    *   **Product category** – select the category from which you want to track orders (you can select multiple categories), ordering any products from the selected category will trigger the popup  
          
        ![popups placed on order](https://us-wd.gr-cdn.com/help/sites/9/2023/12/1254/pps3.png)  
          
        
7.  Choose if you want to trigger the popup for **New** or **Past orders**. When selecting **Past orders**, click on **Advanced settings** to choose the time frame of those orders.  
      
    ![orders time frame](https://us-wd.gr-cdn.com/help/sites/9/2023/12/1257/pps4.png)  
      
      
    
8.  Click **Save** or proceed to the next section.

Triggering popups based on updated cart
---------------------------------------

1.  Repeat steps 1 to 4 from the section **Triggering popup based on the order placed**.  
    
2.  Move the slider beside **Cart updated** to display more options.  
      
    ![trigger popup based on updated cart](https://us-wd.gr-cdn.com/help/sites/9/2023/12/1146/pps2.png)  
      
    
3.  Choose the trigger that will display the popup:  
      
    *   **Cart value – enter the exact, minimum,** or maximum value of products placed in the cart
    *   **Number of products** – enter the exact, minimum, or maximum number of products placed in the cart
    *   **Specific product** – select the product placed in the cart you want to track (you can select multiple products)
    *   **Product category** – select the category from which you want to track products placed in carts (you can select multiple categories), placing any products from the selected category in the cart will display a popup  
          
        ![cart updated trigger](https://us-wd.gr-cdn.com/help/sites/9/2023/12/1303/pps5.png)  
          
        
4.  Choose if you want to trigger the popup for **New** or **Existing carts**. When selecting ****Existing carts****, click on **Advanced settings** to choose the time frame of those carts.  
      
    ![cart timeframe](https://us-wd.gr-cdn.com/help/sites/9/2023/12/1303/pps6.png)  
      
    
5.  Remember to click **Save** after selecting all the needed options.