So it seems i still a bit struggling in what i want to achieve.
We use hikashop cart module on some page to show it's content. All works fine until we decided to add wishlist module below. So user could add products from wishlist to cart and Vice versa...
Now we load our custom layouts which is based on cart.php for hikashop cart module and hikashop wishlist module The issue is that i need to check if hikashop cart module is empty or not and then hide wishlist layout too... The only i could find is this:
($this->element->cart_type == 'cart')
But this returns cart_type. How can i find if cart_type cart have some products inside or not?
Been searching for it like 2 hours and i think it will be easier to ask this time.
Thank you