Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Hide Empty Shopping Cart Web Part View modes: 
User avatar
Member
Member
lwhittemore-emh - 1/14/2014 5:11:24 PM
   
Hide Empty Shopping Cart Web Part
How can I easily hide the shopping cart web part if it is empty?

User avatar
Member
Member
kentico_sandroj - 1/14/2014 5:33:27 PM
   
RE:Hide Empty Shopping Cart Web Part
Hello,

You could add the following macro to the Visibility condition in the Shopping Cart Web part properties:

{%ECommerceContext.CurrentShoppingCart.ShoppingCartItems > 0%}

Please let me know if you have any questions.

Best Regards,
Sandro

User avatar
Member
Member
lwhittemore-emh - 1/14/2014 5:41:25 PM
   
RE:Hide Empty Shopping Cart Web Part
Awesome thanks!