title: Making a New way to Register on checkout/checkout
body: <p>Hey guys im trying to put some customer information on checkout/checkout - telephone, birthady, cellphone
  About register.php only email and password. 
  <strong>But the problem is i can't save on database except firstname, lastname</strong>
  Opencart 2.3.0.2 Im making all on default template but i've the themeforest template</p>
  
  <p>So on tpl i put this on payment_adress</p>
  
  <pre><code>&lt;div class="telefone required col-lg-6" style="padding-left: 0;"&gt;
                     &lt;label class="col-sm-12 control-label" for="input-telephone"&gt;&lt;?php //echo $entry_telephone; ?&gt;&lt;/label&gt; 
                    &lt;div class="col-sm-12 inputWithIcon"&gt;                     
                       &lt;input type="text" name="telephone" value="" placeholder="&lt;?php echo $entry_telephone; ?&gt;" id="input-payment-telephone" class="form-control" title="Coloque o número de telefone celular ou fixo" required="required"/&gt;
                       &lt;i class="fa fa-phone" aria-hidden="true"&gt;&lt;/i&gt;
                   &lt;/div&gt;
  </code></pre>
  
  <p>on Controller payment_adress</p>
  
  <pre><code>$data['entry_telephone'] = $this-&gt;language-&gt;get('entry_telephone'); 
  </code></pre>
  
  <p>and</p>
  
  <pre><code>if ((utf8_strlen($this-&gt;request-&gt;post['telephone']) &lt; 3) || (utf8_strlen($this-&gt;request-&gt;post['telephone']) &gt; 32)) {
                  $json['error']['telephone'] = $this-&gt;language-&gt;get('error_telephone');
              }
  </code></pre>
  
  <p>and on Model address i make another public function called addCustomer2. The purpose is INSERT INTO customer all information. So is this file i put</p>
  
  <pre><code>public function addCustomer2($data) {
      if (isset($data['customer_group_id']) &amp;&amp; is_array($this-&gt;config-&gt;get('config_customer_group_display')) &amp;&amp; in_array($data['customer_group_id'], $this-&gt;config-&gt;get('config_customer_group_display'))) {
          $customer_group_id = $data['customer_group_id'];
      } else {
          $customer_group_id = $this-&gt;config-&gt;get('config_customer_group_id');
      }
  
      $this-&gt;load-&gt;model('account/customer_group');
  
      $customer_group_info = $this-&gt;model_account_customer_group-&gt;getCustomerGroup($customer_group_id);
  
      $this-&gt;db-&gt;query("INSERT INTO " . DB_PREFIX . "customer SET customer_group_id = '" . (int)$customer_group_id . "', store_id = '" . (int)$this-&gt;config-&gt;get('config_store_id') . "', language_id = '" . (int)$this-&gt;config-&gt;get('config_language_id') . "', firstname = '" . strtoupper($this-&gt;db-&gt;escape($data['firstname'])) . "', lastname = '" . strtoupper($this-&gt;db-&gt;escape($data['lastname'])) . "', telephone = '" . $this-&gt;db-&gt;escape($data['telephone']) . "', custom_field = '" . $this-&gt;db-&gt;escape(isset($data['custom_field']['account']) ? json_encode($data['custom_field']['account']) : '') . "', salt = '" . $this-&gt;db-&gt;escape($salt = token(9)) . "', ip = '" . $this-&gt;db-&gt;escape($this-&gt;request-&gt;server['REMOTE_ADDR']) . "', status = '1', approved = '" . (int)!$customer_group_info['approval'] . "', date_added = NOW()");}
  </code></pre>
  
  <p>There's no message error about my configuration, but is not saving the informations. 
  Can anyone help me please</p>