title: Magento - Hiding Options for guest checkout
body: <p>How do I determine the checkout method selected at the billing stage?</p>
  
  <p>We have a plugin that shows an option for a customer to select a customer group when checking out from our website. </p>
  
  <p>The problem is we wish to hide this option if they want to checkout as a guest, so the option is only visible if they are registering or are logged in. </p>
  
  <p>I tried to do this using the isCustomerLoggedIn() function but that then doesn't show the option when they have selected register.</p>
  
  <p>Does anyone know of a way of telling in the persistent/checkout/onepage/billing.phtml template if a customer has selected register or guest checkout?</p>
  
  <p>Thanks in advance! </p>