Hi there,
How do I check if the cart is empty or not inside a navigation XSLT file? It seems that //GlobalTags/Ecom.Order.IsEmpty produce no results.
Any tips? I am trying to hide a menu item when the cart is empty.
Thanks,
Imar
Hi there,
How do I check if the cart is empty or not inside a navigation XSLT file? It seems that //GlobalTags/Ecom.Order.IsEmpty produce no results.
Any tips? I am trying to hide a menu item when the cart is empty.
Thanks,
Imar
Hi Imar
There is no Global tag for order... The tag only exists in the layout template.
But I've just added so you have these 2 from 8.4.1.vnextHotfix
<Global.eCommerce.Cart.CartIsPresent>true</Global.eCommerce.Cart.CartIsPresent> <Global.eCommerce.Order.OrderLines.TotalProductQuantity>3</Global.eCommerce.Order.OrderLines.TotalProductQuantity>
BR Nicolai
Thanks, will check it out....
Imar
You must be logged in to post in the forum