Skip to content
StaxWP
WordPress Plugins

Visibility Logic with Easy Digital Downloads: Show Content to Your Customers

By the StaxWP teamUpdated November 16, 20265 min read
Visibility Logic with Easy Digital Downloads: Show Content to Your Customers
Table of contents

To show Elementor content only to your Easy Digital Downloads (EDD) customers, install Visibility Logic for Elementor and Visibility Logic Pro next to EDD, select the element in Elementor, open the Visibility tab, switch on Enable Visibility Logic and enable the EDD Users condition. Choose User has purchased any product or User has purchased specific product, pick the downloads if needed, and set the action to Show or Hide.

EDD Users is a Pro condition and it only works for logged-in customers. Below are the steps, two useful patterns (show to buyers, hide from buyers), and the limits worth knowing before you rely on it.

What do you need?

If EDD is not active, the EDD Users section shows a notice asking you to install it, and the condition has no effect. The Options tab under Settings > Visibility Logic shows the same thing:

Options tab of Settings > Visibility Logic with a toggle for each free and Pro condition and the Save button
Settings > Visibility Logic, Options tab, with Pro active. EDD Users asks for Easy Digital Downloads, which is not installed on this site.

Step 1: Turn on Visibility Logic for the element

  1. Edit the page, post or template with Elementor.
  2. Select the widget, section or container, for example a “Download your bonus pack” section.
  3. Open the Visibility tab. Older versions called it Stax Visibility.
  4. In the General section, switch Enable Visibility Logic to Yes.
  5. Set Show/Hide action. To show the element only to customers, choose Show. The default is Hide.

Step 2: Enable EDD Users and pick the condition

  1. Open the EDD Users section and switch Enable to Yes.
  2. Choose the Condition:
    • User has purchased any product matches customers who bought anything from your store.
    • User has purchased specific product matches customers who bought the downloads you pick in Products.
  3. For a specific product, set Products Condition to At least one (any of the picked downloads) or All (every one of them).
  4. Click Update.

The reference is in EDD Users.

Two patterns

Show to buyers. Action Show, condition User has purchased specific product, product “Photo pack”. Use it for a bonus download link, a members-only video or a thank-you note on a page that everyone can open.

Hide from buyers. Action Hide, same condition. Use it for the “Buy now” section on a sales page, so people who already own the product see something useful instead of an offer they took. Put a second section next to it with action Show and the same condition, for example “You own this, here is the documentation”, and each visitor gets one of the two.

Step 3: Test as a customer

The editor always shows every element, so test on the live page as a customer.

  1. In EDD, enable test mode and the test payment gateway in the payment settings, then buy a download while logged in with a test account.
  2. Open the page with that account. Then open it in a private window, logged out, to see what everyone else gets.

The check uses the purchases that EDD links to the logged-in user’s account. A visitor who is logged out never matches, even if they bought something. If your store allows guest checkout, check in EDD that a guest’s orders end up on the customer’s account before you rely on the rule for them.

Limits worth knowing

  • It is a display rule, not file protection. A hidden section that contains a download link keeps the file itself reachable by anyone who has the URL. EDD’s own download links and its file protection are what protect the files.
  • Caching. Visibility Logic decides on the server when the page is built. Most page caches do not cache pages for logged-in users, which keeps EDD rules correct for customers, but check your cache settings. See Rules look wrong for some visitors.
  • Show something else. With Pro, the Fallback section can replace the hidden element with a text or an Elementor template, for example “Log in to see your downloads” (fallback content).

You can combine EDD Users with other conditions on the same element. For example, User Role for one role and EDD Users for one product, with Conditions Type set to All.

Selling with WooCommerce instead?

Pro has a matching WooCommerce Users condition: any product, a specific product or variation and, with WooCommerce Subscriptions, active subscriptions. See content visibility within WooCommerce products.

Free or Pro?

EDD Users is part of Visibility Logic Pro, with WooCommerce Users, Geo Location, Post/Page, URL Parameters, fallback content and more. The free plugin includes User Role, User Meta, Date Time, Browser Type, Device Type and ACF Field. Pro costs $29 per year for 1 site, $39 for 3 sites and $79 for 100 sites, with a 30-day money-back guarantee. See the Free vs Pro table.

The short version

With EDD, Visibility Logic and Visibility Logic Pro active, enable EDD Users on an element, pick any purchase or specific downloads, and set Show or Hide. It matches logged-in customers by the purchases on their account. Test with a test purchase on the live page. Get Visibility Logic Pro.