diff --git a/src/Form/RegisterForm.php b/src/Form/RegisterForm.php
index ceca145..63c707a 100755
--- a/src/Form/RegisterForm.php
+++ b/src/Form/RegisterForm.php
@@ -2,8 +2,11 @@
 
 namespace Drupal\commerce_pos\Form;
 
+use Drupal\commerce_store\Entity\Store;
 use Drupal\Core\Entity\ContentEntityForm;
 use Drupal\Core\Form\FormStateInterface;
+use Drupal\Core\Url;
+use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
 
 /**
  * Class RegisterForm.
@@ -14,11 +17,30 @@ class RegisterForm extends ContentEntityForm {
    * {@inheritdoc}
    */
   public function form(array $form, FormStateInterface $form_state) {
+    // Skip building the form if there are no available stores.
+    $stores = Store::loadMultiple();
+    if (empty($stores)) {
+      $url = URL::fromRoute('entity.commerce_store.add_page');
+      drupal_set_message($this->t('Registers can\'t be created until a store has been added. <a href=":url">Add a new store.</a>', [':url' => $url->toString()]), 'error');
+    }
     $form = parent::form($form, $form_state);
 
     return $form;
   }
 
+  /**
+   * {@inheritdoc}
+   */
+  protected function actions(array $form, FormStateInterface $form_state) {
+    // Hide the action buttons if we have no stores.
+    if ($form_state->get('no_stores')) {
+      return [];
+    }
+
+    $actions = parent::actions($form, $form_state);
+    return $actions;
+  }
+
   /**
    * {@inheritdoc}
    */
