Skip to content

Elementor Theme Conditions

Soczó edited this page Oct 28, 2024 · 5 revisions

The plugin provides a variety of extra Theme Conditions. Most of them are specific to when you create a WooCommerce product template, but there are also more general conditions

image

The following conditions are available when you create a specific product template with elementor:

  • Is Product Out Of Stock
  • Is Product Virtual
  • Is Product Downloadable
  • Is Product External
  • Is Product Featured
  • Is Name Your Price
  • Is Product On Sale
  • Is Purchased By User
  • Is Product Subscription
  • Is Product Variable

Attention!

These conditions are specifically available when you create a product template, and are only loaded when a product is opened + the additional condition is added. This means that these conditions are always related to the products, the extra settings ensure that you can further filter which conditions appear.

Is Product Out Of Stock

This allows you to display a product single template for your product that loads when the product is out of stock

Is Product Virtual

This allows you to display a product single template for your product that loads if the product is virtual

Is Product Downloadable

This allows you to display a product single template for your product that loads if the product is downloadable

Is Product External

This allows you to display a product single template for your product that loads if the product is external type

Is Product Featured

This allows you to display a product single template for your product that loads if the product is featured

Is Name Your Price

Required extra plugin : Name Your price Link: https://woocommerce.com/products/name-your-price/

This allows you to display a product single template for your product that loads if the product Is Name Your Price type

Is Product On Sale

This allows you to display a product single template for your product that loads if the product is on sale

Is Purchased By User

This allows you to display a product single template for your product that loads if the current user have previously purchased the product

Is Product Subscription

Required extra plugin : WooCommerce Subscriptions Link: https://woocommerce.com/products/woocommerce-subscriptions/

This allows you to display a product single template for your product that loads if the product is Subscriptions (simple, or variable)

Is Product Variable

This allows you to display a product single template for your product that loads if the product is Variable type

Other not Woo related Conditions

These conditions are more general and cannot be used when creating a product-specific template. But you can use it for a header, or footer, or something more general. (single not supported yet)

image

  • User status: Logged in / Logged out
  • User role: You can choose from all available user roles
  • Current User Not Have Active Subscriptions

Current User Not Have Active Subscriptions

Required extra plugin : WooCommerce Subscriptions Link: https://woocommerce.com/products/woocommerce-subscriptions/

You can use it to load the template if the user doesn't have a subscription yet, ideal for Popups for example.

Clone this wiki locally