if ($theme->page_subtype != 'basket'): ?> if (isset($basket) && isset($basket->contents) && ($basket->size() > 0)): ?>