Easy Digital Downloads integration for WP Popups
The plugin adds the following Display Rules to be used on WP Popups forms.
Evaluates to true
if the logged-in user has ever purchased the specified product, as determined by Easy Digital Downloads.
Evaluates to true
if the logged-in user currently has the specified product in their cart, as determined by Easy Digital Downloads.
Performs a numeric comparison against the count of the current cart contents.
Performs a numeric comparison against the number of past purchases by the current user, as reported by Easy Digital Downloads.
Performs a numeric comparison against the total amount of past purchases by the current user, as reported by Easy Digital Downloads.
The plugin adds the following Triggers to be used on WP Popups forms (Settings > Triggers).
Listens for clicks on add to cart buttons using the same criteria as the edd-ajax script (part of Easy Digital Downloads) uses to initiate an ajax add to cart action. When this trigger is enabled, the popup is shown when the add to cart button is clicked, and the add to cart process is interrupted. If a conversion event occurs in the popup, the add to cart process will proceed. If the popup should include a link to close the popup without adding the product to cart, see this article for instructions.
Listens for EDD’s “cart item added” JavaScript event (indicating a successful cart addition via ajax) and triggers the popup. This trigger does not interrupt any processes.