Jump to content

(solucionado) Algunos clientes no se pueden registrar por que falta campo Alias


Recommended Posts

tenia el problema con el alias, la solución para mi es: comentar la clase 

 
    public static function aliasExist($alias, $id_address, $id_customer)
    {
  /**      $query = new DbQuery();
  *     $query->select('count(*)');
  *     $query->from('address');
  *     $query->where('alias = \''.pSQL($alias).'\'');
  *     $query->where('id_address != '.(int)$id_address);
  *     $query->where('id_customer = '.(int)$id_customer);
  *     $query->where('deleted = 0');
  *     return Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue($query);
   */
 }
en
 
classes/Address.php
 
prestashop 1.6.1.12
 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...