I've got this code
        if ( !empty( $ImStoreCart->cart->items ) {
        $count = $ImStoreCart->cart->items;
        echo "Items in Basket: ". $count;
    } else { echo "Your shopping basket is empty."; }
but I get this error: Parse error: syntax error, unexpected '{'
I've checked the code but cannot see why its failing to see the if statement that needs the {
Any ideas?
 
    