Easy Digital Downloads Integration: Replacement codes

The Groundhogg Easy Digital Downloads integration contains six different replacement codes that you can use to send discount codes to contacts.

Cart URL edd_cart_url The URL of your cart page.
Restore Cart URL edd_restore_cart_url The URL to restore the cart of their last visit.
Cart Contents edd_cart_contents The contents of the cart during their last visit. Default: "Cart is empty".
Generate Percentage Discount edd_percent_discount Generate a single-use percentage coupon code
  • {edd_percent_discount.10} provides 10% discount for any product purchased
  • {edd_percent_discount.10[1,2,3]} provides 10% discount to only product ID's listed in the brackets
  • {edd_percent_discount.10[1,2,3](7)} provides 10% to only product ID's listed in the square brackets and only for 7 days from the emailed date.
  • {edd_percent_discount.fs} adding fs to the end enables free shipping
Generate Flat Rate Discount edd_flat_discount Generate a single-use falt rate coupon code.
  • {edd_flat_discount.10} provides $10 discount for any product purchased
  • {edd_flat_discount.10[1,2,3]} provides $10 discount to only product ID's listed in the brackets
  • {edd_flat_discount.10[1,2,3](7)} provides $10 to only product ID's listed in the square brackets and only for 7 days from the emailed date.
Recent Order Items edd_recent_order_items Shows the list of items orders from the most recent order associated with the contact.

Examples

Generates a 15% discount code for 7 days.

{edd_percent_discount.15(7)}

Generates a $15 discount code a product with ID 12

{edd_flat_discount.15[12]}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us