Documentation

All the information you need in one place

How to Open a Popup After WooCommerce Events with Nelio Popups

Nelio Popups makes it easy to show popups based on WooCommerce events in your site.

In this article, you’ll learn how to use the WooCommerce trigger to show a popup.

Using WooCommerce Trigger

When you are ready to use the WooCommerce trigger, follow these steps:

  1. Go to Nelio Popups » All Popups and edit the one you want.
  2. In the editor sidebar, go to the Settings panel, and open the Triggers tab.
  3. Add or modify a trigger by selecting ‘WooCommerce’.

The following options are available for WooCommerce:

  • Add any product to shopping cart
  • Add selected products to shopping cart
  • Remove any product from shopping cart
  • Remove selected products from shopping cart
  • Empty shopping cart
  • Purchase any product
  • Purchase selected products

Let’s review each option.

Add any product to shopping cart

Nelio Popups allows you to trigger a popup when any product is added to the shopping cart in WooCommerce. Select the ‘Add any product to shopping cart’ condition and then the popup will open when any product is added to the cart.

WooCommerce trigger with the 'Add any product to shopping cart' condition.
WooCommerce trigger with the ‘Add any product to shopping cart’ condition.

If the shopping cart already contains a product, the popup will not display. The popup will only be triggered the first time a product is added to the shopping cart in WooCommerce.

Add selected products to shopping cart

Nelio Popups allows you to trigger a popup when a set of products is added to the shopping cart in WooCommerce. Select the ‘Add selected products to shopping cart’ condition and then the popup will open when any of the selected products is added to the cart.

WooCommerce trigger with the 'Add selected products to shopping cart' condition.
WooCommerce trigger with the ‘Add selected products to shopping cart’ condition.

Then, you must select the set of products that will trigger the popup display. You can search for products using the product name in the search field.

If the product is already in the shopping cart and the visitor adds it again (to increase the amount of units ready to purchase), the popup will not display. The popup will only be triggered the first time the product is added to the shopping cart in WooCommerce.

Remove any product from shopping cart

Nelio Popups allows you to trigger a popup when any product is removed from the shopping cart in WooCommerce. Select the ‘Remove any product from shopping cart’ condition and then the popup will open when any product is removed from the cart.

WooCommerce trigger with the 'Remove any product from shopping cart' condition.
WooCommerce trigger with the ‘Remove any product from shopping cart’ condition.

If the product is in the shopping cart and the visitor removes it only partially (decreasing the amount of units ready to purchase), the popup will not display. The popup will only be triggered if the product is completely removed from the shopping cart in WooCommerce.

Remove selected products from shopping cart

Nelio Popups allows you to trigger a popup when a set of products is removed from the shopping cart in WooCommerce. Select the ‘Remove selected products from shopping cart’ condition and then the popup will open when any of the selected products is removed from the cart.

WooCommerce trigger with the 'Add selected products to shopping cart' condition.
WooCommerce trigger with the ‘Add selected products to shopping cart’ condition.

Then, you must select the set of products that will trigger the popup display. You can search for products using the product name in the search field.

If the product is in the shopping cart and the visitor removes it only partially (decreasing the amount of units ready to purchase), the popup will not display. The popup will only be triggered if the selected product is completely removed from the shopping cart in WooCommerce.

Empty shopping cart

Nelio Popups allows you to trigger a popup when the visitor empties the shopping cart in WooCommerce. Select the ‘Empty shopping cart’ condition and then the popup will open when the cart is emptied.

WooCommerce trigger with the 'Empty shopping cart' condition.
WooCommerce trigger with the ‘Empty shopping cart’ condition.

The popup will only be triggered if the shopping cart had products added and the visitor removes them all.

Purchase any product

Nelio Popups allows you to trigger a popup when any product is purchased in WooCommerce. Select the ‘Purchase any product’ condition and then the popup will open when any product is purchased.

WooCommerce trigger with the 'Purchase any product' condition.
WooCommerce trigger with the ‘Purchase any product’ condition.

Purchase selected products

Nelio Popups allows you to trigger a popup when a set of products is purchased in WooCommerce. Select the ‘Purchase selected products’ condition and then the popup will open only when any of the selected products is purchased.

WooCommerce trigger with the 'Purchase selected products' condition.
WooCommerce trigger with the ‘Purchase selected products’ condition.

Then, you must select the set of products that will trigger the popup display. You can search for products using the product name in the search field.


After setting the trigger condition, save the popup and then it will open when the trigger condition is met.