You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.
I'm not familiar with Angular Templates. I would like to show the cart beneath the TicketComponent on the same page. How would a template for the CartComponent look like where the cart is only displayed if it is not empty? And how can I display a message like "your cart is empty" if the cart is empty and dislplay the cart if it is not? Thank you.
The text was updated successfully, but these errors were encountered:
Hi Markus, currently this it is not possible to hide the cart when it is empty, as normally it has it's own page. But it sounds as though we could simply solve this with css.
If I added some helper classes to the go-cart element, to indicate whether the cart is empty your contains items, would you be able to use this to hide the cart and display your "empty" message? Or would it be more useful on the body element?
Douglas, thanks for your answer. Since what I'm working on is only a test page to show the basic functions, it is not necessary to show the cart is empty message. I was just curious how this would work for future implementation. Our UX experts will decide how it will look like in the end.
Related page: CartComponent
I'm not familiar with Angular Templates. I would like to show the cart beneath the TicketComponent on the same page. How would a template for the CartComponent look like where the cart is only displayed if it is not empty? And how can I display a message like "your cart is empty" if the cart is empty and dislplay the cart if it is not? Thank you.
The text was updated successfully, but these errors were encountered: