Hi I would like my cart to be hidden when its empty. Now I know that there is the on empty switch option in the main.xml, but i in fact need to set a specific class on my html body (cause not only the cart must dissapear, but the entire column and the main column’s right margin must be removed). My question is, how would i implement this? Help is really appreciated! (I guess i must extend the html helper class somehow?)
You can use our free extension Hide Cart that enables users to hide the shopping cart block in case the cart is empty. You may also choose to hide the shopping cart block completely.