I am trying to put the shopping cart in a div in my header. I tried putting this code into the header.php for my theme:
<?php echo display_cart($_SESSION[‘shopcart’.$blog_id],’true’, get_option(‘eshop_checkout’)) ?>
And it does display the cart, except it gives an error if the cart is empty:
Warning: Invalid argument supplied for foreach() in /home/fashion/www/www/wp-content/plugins/eshop/cart-functions.php on line 25