Restrict for Elementor

Show or Hide Elementor Content to Easy Digital Downloads Customers

If you sell digital products with Easy Digital Downloads and design your pages with Elementor, you can show Elementor content to Easy Digital Downloads customers only — or hide it from them — with Restrict for Elementor. Easy Digital Downloads makes it easy to sell everything from eBooks to PDFs and other files on your WordPress website, and it integrates with Restrict for Elementor so you can use EDD-specific criteria to control the visibility of any Elementor section, column or widget. By the end of this guide, you will know exactly how to set it up.

What you need before you start

How to show Elementor content to Easy Digital Downloads customers

  1. Edit your page with Elementor and add or select a section, column or widget.
  2. In the Content area of that element, select Easy Digital Downloads Users from the dropdown menu.
  3. Another dropdown menu labeled Who will be revealed — it indicates to whom this content should be shown or hidden, and it contains two options.
  4. Pick the option that matches what you want to achieve (both are explained below) and save the page.

Since the condition is applied per element, you are not limited to one rule per page. You can place multiple restricted sections, columns and widgets on the same page, each using a different EDD criterion, and build a single page that adapts to what each customer has bought.

The two Easy Digital Downloads visibility conditions

Purchased any product

This condition checks whether the user has purchased any of your Easy Digital Downloads products and shows or hides the content based on that. For example, if you want to thank users for purchasing on your website, place a text widget saying Thank you for being our awesome customer and make it visible only to customers who purchased any of your products. Or reverse the logic: create a call-to-action button promoting your products and hide it from customers who have already made a purchase.

Easy Digital Downloads Users condition in Restrict for Elementor with the Purchased any product option

Purchased a specific product

With this option selected, another field appears below where you select which exact product will serve as the criterion for showing or hiding the content. For example, if a customer purchased a specific product and you want to offer them a coupon code for their next purchase, simply create a text widget containing the code and display it only to users who bought that particular product.

Selecting a specific Easy Digital Downloads product as the Elementor content visibility condition

Ideas for using the EDD conditions

  • Customer-only bonuses — reveal bonus material, changelogs or extra resources to buyers of a specific digital product, right on a regular Elementor page.
  • Loyalty coupons — show a discount code to existing customers to encourage a repeat purchase, without sending a single email.
  • Smarter promotion — hide promotional sections from people who already bought, so returning customers see a thank-you note or related content instead of ads for products they already own.
  • Product-specific onboarding — display setup instructions or a getting-started section only to customers who purchased that particular download.

Show alternative content to non-customers

If a user hasn’t purchased any product, or hasn’t purchased the required digital product (depending on which criterion you use), you can serve them alternative content instead of leaving an empty space — a purchase button or a short pitch, for example. Learn how in the displaying alternative content guide.

Related documentation