[memb_is_cart_empty]

Description

Checks the live cart state; content shows when the cart has no items. Typical use: an empty-cart cross-sell block. The inverse (cart has items) is expressed with an else block.

Shortcode Examples

[memb_is_cart_empty]Your cart is empty, browse bestsellers.[else_memb_is_cart_empty]Don't forget checkout![/memb_is_cart_empty]

Shortcode Parameters

txtfmt

Text format applied to the output.

capture

Output capture mode.

Shortcode Attributes

Attribute Value
Conditional Yes
Nestable Yes
Accepts formatting Yes