How to Show/Hide Element Based on Last Purchase In Cart using Elementor Display Conditions

Display Conditions offers a flexible solution for personalizing web content with Elementor, the top WordPress page builder. This guide shows how to apply Elementor Display Conditions to display web elements based on dynamic conditions.

In this tutorial, we will show how to show or hide Elementor content based on the date of the last purchase made by the current WooCommerce customer.


Enable Display Conditions Feature

Navigate to your Elementor element settings > Advanced tab > Display Conditions and Switch “Enable Display Conditions” switcher.

Add The Dynamic Display Conditions

  • Action: Select whether you want to show or hide the element based on the selected display conditions.
  • Conditions: Here we will set the condition and set the values to compare to.
    • Type: Set the condition to Last Purchase In Cart.
    • Status: Select the status of the orders between Purchased or In Cart.
    • Is or Is Not: Choose the condition type.
    • At or Before: Set a specific date.
Elementor Display Conditions red arrow pointing on Last Purchase In Cart conditions type
Elementor Display Conditions – Last Purchase In Cart

That’s It!

So simple right?

Now you can control which elements to show or hide depending on the Last Purchase In Cart.

If you still need any further assistance, feel free to contact the Premium Addons support team. We would be more than glad to help 😁

Join the Community

You’re most welcome to join our channels to get updates about new features, improvements, and bug fixes.

Related Docs:

Download Now it's free!

Extend your Elementor Page Builder capabilities now with Premium Addons. 44+ Elementor Widgets Totally Free of charge.

Premium Addons for Elementor plugin logo

Stay Updated

Subscribe to our newsletter to receive the latest updates and features.