In this post, we’ll take a look at how you can add customized content to your Easy Digital Downloads store based on a user’s behavior and certain conditions. These customizations can grow your average order value, create a better customer experience, and help you increase revenue.

We will take a look at two free extensions to Easy Digital Downloads that can help you achieve this.

Shortcodes for Easy Digital Downloads: Additional Shortcodes plugin

The Additional Shortcodes extension allows you to display content on different pages of your store based on various conditions like cart being empty or not, user being logged in or not, etc. Each of these conditions has an associated shortcode in which you can create your content.

  • [edd_cart_has_contents]Content to display if the cart has products in it.[/edd_cart_has_contents]
  • [edd_cart_is_empty]Content for when the cart is empty. Perhaps a discount for purchases.[/edd_cart_is_empty]
  • [edd_user_has_no_purchases loggedout=true]Content for logged-in users who haven't made any purchases, and/or for logged-out users.[/edd_user_has_no_purchases]
  • [edd_is_user_logged_in]Content for users who are logged in.[/edd_is_user_logged_in]
  • [edd_user_has_purchases]Content for logged-in users who have made purchases in the past.[/edd_user_has_purchases]
  • [edd_user_has_purchased ids="20,34,25:1"]Content for a logged-in user who has purchased the specified products.[/edd_user_has_purchased]

As an example, you can display messages when the cart is empty on prominent areas of your store.

shortcodes for easy digital downloads content

Add content based on certain conditions

You can use the content to incentivize potential customers to make a purchase, guide existing users towards specific purchases, and provide your logged-in customers with additional information or rewards.

Shortcodes for Easy Digital Downloads: EDD Empty Cart

The EDD Empty Cart extension allows you to display content and products on your checkout page if there are no items in your cart. The extension provides you a rich-text editor under Downloads > Settings > Extensions where you can add content that should be displayed.

shortcodes for easy digital downloads empty cart editor

Use the editor to add content when cart is empty

In addition, you can display products using the [downloads] shortcode. You can specify parameters for this shortcode to display certain products on this page. You can use parameters to display the most popular products, products that first-time customers typically purchase, or lower-cost products that reduce customers’ hesitation to purchase.

Shortcodes for Easy Digital Downloads: Summary

Through shortcodes, you can modify your Easy Digital Downloads store with customizations based on your customers’ actions. These enhancements can create a more personalized experience for visitors, and can lead to additional revenue through incentives. This also makes your store more dynamic as it serves up different content based on your audience’s journey.

There are two extensions for Easy Digital Downloads that can help you achieve this through enabling shortcodes. The Additional Shortcodes extension allows you to display content on different pages of your store based on certain conditions. The EDD Empty Cart extension provides you a rich text editor to add content, and shortcode to add products to display on the checkout page if your cart is empty.

Do you use plugins to customize content based on certain conditions on your store? Tell us how in the comments below.


Note: This post may contain affiliate links, which means we get a commission from the plugin, theme, or service provider if you choose to purchase. Regardless of this, we are committed to providing high quality, unbiased resources. Have more questions? See our affiliate policy. You can use the plain links below if you prefer that we not receive a referral commission:
Articles you may also like:

Posted by Jai Sangha

Jai is a regular contributor to Sell with WP, and helps merchants improve their WordPress eCommerce businesses with plugin reviews, marketing or customer service tips, and tutorials.

Leave a reply

Your email address will not be published. Required fields are marked *