Easy Digital Downloads

📅 Published on

📝 Last updated

We’re currently revamping our documentation for 4.0.
See old documentation →

Documentation

»

Ecommerce

»

Easy Digital Downloads

Overview

Easy Digital Downloads (EDD) is a top-tier eCommerce solution for companies exclusively selling digital products (Audio Files, PDFs, WordPress Plugins, Apps), and Groundhogg provides direct integration with Easy Digital Downloads.

You can download this add-on from the Groundhogg website or as part of a plan and install it on your website. 

Triggers

Easy Digital Downloads Integration comes with these triggers.

Easy Digital Downloads Triggers

Cart Updated

This trigger executes when the cart is updated and can be defined: 

  • Any/All If the cart contains these products
  • Any/All contains products in these categories
  • Any/All contains products with these tags
  • The value of the cart is (Equal to, less than, less than or equal to, greater than, greater than or equal to) the value of the order.

Cart Abandoned

This trigger executes when the cart is abandoned and can be defined: 

  • Any/All when the cart is abandoned and contains these products
  • Any/All contains products in these categories
  • Any/All contains products with these tags
  • The value of the cart is (Equal to, less than, less than or equal to, greater than, greater than or equal to) the value of the order.

*Triggered from inactivity for 15 minutes. 

Emptied Cart

This trigger executes when users remove all the products from their carts.

New Order

This trigger executes when a new order is placed and can be defined with: 

  • Any/All If the order contains these products 
  • Any/All contains products in these categories
  • Any/All contains products with these tags
  • Order subtotal is (Equal to, less than, less than or equal to, greater than, greater than or equal to) the value of the order
  • Processed via any of these payment gateways

Order Status Changed

This trigger executes when the status of the order changes from one status to another and can be defined with:  

  • When the order status is changed from (Pending payment, Processing, On Hold, Completed, Cancelled, Refunded, Failed, Draft or other custom statuses)
  • To any of these statuses(Pending payment, Processing, On Hold, Completed, Cancelled, Refunded, Failed, Draft or other custom statuses)
  • Any/All If the order contains these products
  • Any/All contains products in these categories
  • Any/All contains products with these tags
  • Order subtotal is (Equal to, less than, less than or equal to, greater than, greater than or equal to) the value of the order
  • Processed via any of these payment gateways.

Legacy Triggers

There are three legacy triggers. These have been replaced, but can still be available by turning on the “Enable Legacy Flow Steps”.

Visit Groundhogg » Settings » Misc – check the “Enable Legacy Flow Steps” and [ Save Changes ]

All Easy Digital Downloads triggers, including legacy triggers

Download Purchased

Triggers when a user successfully completes a product purchase. Superseded by the New Order trigger.

Payment Refunded

Triggers when a refund is processed for download(s) that have specific tags and belong to certain categories. Replaced by the Order Status Changed trigger.

Reached Checkout

Triggers when a user navigates to the checkout page during a product purchase.

Filters

Reports

Replacement Codes

Easy Digital Downloads integration contains six different replacement codes 

Replacement Code

Description

edd_cart_url

The URL of your cart page.

edd_restore_cart_url

The URL to restore the cart from their last visit.

edd_cart_contents

The contents of the cart during their last visit. Default: “Cart is empty”.

edd_percent_discount

Generate a single-use percentage coupon code

  • {edd_percent_discount.fs} adding fs to the end enables free shipping
  • {edd_percent_discount.10} provides a 10% discount on any product purchased
  • {edd_percent_discount.10[1,2,3]} provides a 10% discount to only product IDs listed in the brackets
  • {edd_percent_discount.10[1,2,3](7)} provides 10% to only product IDs listed in the square brackets and only for 7 days from the emailed date.

edd_flat_discount

Generate a single-use flat rate coupon code.

  • {edd_flat_discount.10} provides a $10 discount for any product purchased
  • {edd_flat_discount.10[1,2,3]} provides a $10 discount to only product IDs listed in the brackets
  • {edd_flat_discount.10[1,2,3](7)} provides $10 to only product IDs listed in the square brackets and only for 7 days from the emailed date.
  • {edd_flat_discount.fs} adding fs to the end enables free shipping

edd_recent_order_items

Shows the list of items ordered from the most recent order associated with the contact.


Tagging

Groundhogg seamlessly integrates with Easy Digital Downloads (EDD) to enhance tag management, streamlining customer interactions for digital product stores. This integration allows users to automatically add, remove, or reverse tags on a per-download basis, triggered by purchase events. For instance, when a customer buys a specific digital product, predefined tags can be applied to segment them for targeted marketing, while tags can be removed or reversed upon a refund to maintain accurate contact profiles.

Contact Metadata

Additional information about a Contact’s purchases can be found in the metadata box in the right column of each Contact. 

  • Customer ID
  • Total Customer Value
  • Successful Payments
  • Active Subscriptions

Payments

  • Order ID
  • Order Status
  • Order Date
  • Order Value
  • Product name

Subscriptions

  • Subscription ID
  • Subscription Status
  • Subscription Date

Compliance

To help you maintain compliance, especially with regulations like GDPR, the extension adds a couple of key settings under Groundhogg » Settings » Integrations.

Require Marketing Consent at Checkout

  • Enable: Requires customers to give marketing consent at checkout for GDPR compliance (works only if GDPR features are enabled in WooCommerce).
  • Purpose: Ensures customers opt-in to marketing, safeguarding privacy and meeting legal standards.

Marketing Consent Checkbox Text

  • Default Text: “I agree to receive marketing offers and updates from [your store].”
  • Customization: Editable text shown on the checkout page when GDPR features are enabled.
  • Purpose: Informs customers clearly, ensuring transparency.

Tools

If you used Easy Digital Downloads (EDD) before installing Groundhogg, your EDD orders, customer, and customer addresses won’t automatically sync with Groundhogg contacts. You can sync them using the Sync Easy Digital Downloads tool, found under Groundhogg » Tools » Misc » Sync Easy Digital Downloads.

Available tools for syncing EDD data with Groundhogg include:

  • Sync Orders
  • Sync Customers
  • Sync Customer Addresses

The sync process runs in the background. You can monitor its progress in Groundhogg » Logs » Background Tasks.

FAQs / Troubleshooting

Q: Question
A: Answer

Was this helpful?

Let us know if this document answered your question. That’s the only way we can improve.