OrderContextCarts:Order.IsEmpty

Summary

Returns True if the context cart doesn't contain products.

Settings

The value is generated automatically.

Remarks

  • The OrderContext loop is not rendered when the context is not set in the settings for your website.
  • You need to select a Shop in your website settings - ecommerce in order to render the Context loop on your website.
  • Requires version 8.4.0.0 or newer. 

Example

<!--@If Defined(OrderContextCarts:Order.IsEmpty)-->
   Cart Is Empty
<!--@EndIf(OrderContextCarts:Order.IsEmpty)-->