Jump to content

heryfer

Members
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Activity
    Freelancer

heryfer's Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. Hi Skumbabs Try this to show the value: {$group.desc[$id_attribute]} NOTE: .desc is the name of your custom attribute <ul> {foreach from=$group.attributes key=id_attribute item=group_attribute} <li> {$group.desc[$id_attribute]} </li> {/foreach} </ul> Is very important add this line to the ProductController.php -> line 445 aprox $groups[$row['id_attribute_group']]['desc'][$row['id_attribute']] = $row['desc']; $row['desc'] is the row in the database in the table ps_attribute_lang Best Coding ;-)
  2. Hi People, This is an alternative for replace textarea for HTML editor, NOTE: in prestashop 1.6 I have to add the column desc to the ps_attribute_lang table CREATE TABLE `ps_attribute_lang` ( `id_attribute` int(10) unsigned NOT NULL, `id_lang` int(10) unsigned NOT NULL, `name` varchar(128) NOT NULL, `desc` longtext NOT NULL, PRIMARY KEY (`id_attribute`,`id_lang`), KEY `id_lang` (`id_lang`,`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; Forn declaration: this: array( 'type' => 'text', 'label' => 'extra description', 'name' => 'desc', 'lang' => true, 'size' => 128, 'desc' => 'show me!!!', 'hint' => $this->l('Invalid characters:').' <>;=#{}' ) to: array( 'type' => 'textarea', 'label' => $this->l('Description:'), 'name' => 'desc', 'lang' => true, 'cols' => 60, 'rows' => 20, 'class' => 'rte', 'autoload_rte' => true, 'hint' => $this->l('Invalid characters:').' <>;=#{}', ), In file Atribute.php rewrite, self::TYPE_HTML is very important this: 'desc' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 256), to: 'desc' => array('type' => self::TYPE_HTML, 'lang' => true, 'validate' => 'isCleanHtml', 'size' => 4000), Happy Coding!!!!
  3. Hola Alguien sabe donde se carga la referencia del fabricante ( supplier_reference ) en la versión 1.5.x, en la versión 1.4 si que esta junto a la referencia. Saludos y gracias
  4. Hola Gente, A razón de que he estado usando la ultima versión 1.5.4, y va muy lenta, he decidido volver a versión 1.4. De las versión 1.4.9 (final) y 1.4.10 (stable) cual es mejor?, la .10 por lo que leí salio luego de la 1.5. Cual es la diferencia entre las versiones "stable" y "final"? Saludos y Gracias
  5. Hola, Cache de plantillas: Nunca recompilar los archivos del template Cache: Activado Es una muy buena posibilidad lo de los indices, la voy a tener en cuenta. Saludos
  6. Hola gente, Tengo un prestashop 1.5.4.1 con 13mil productos que va muy muy lento. Esta sobre un vps. Que puede ser. Saludos y gracoas
  7. Hola a todos, Yo he tenido el mismo problema, opte por montar todo en local y luego subir la tienda, he ahorrado tiempo. Saludos
  8. Hola, necesito trabajar con los Proveedores y necesitaría que tuvieran el campo e-mail, para que de alguna manera informarle cuando de vende o se consulta por un producto de ellos. Preguntas: - hay alguna manera de agregar un campo adicional a proveedores, por ej. email.? - como se le puede informar si se vende o consulta sobre un producto de un proveedor.? Desde muchas gracias de antemano, Saludos
  9. Hola, Otra opción es borrar las categorias desde el administrador de prestashop, entonces solo quedaran las categoria root y Home. En en el phpmyadmin o similar ejecutas esto: ALTER TABLE ps_category AUTO_INCREMENT=3; Entonces así ya tienes los id de las catagorias como si empiezas desde cero. Saludos
×
×
  • Create New...