Jump to content

Agregar Campo nombre al bloque newsletter


ramipaleo

Recommended Posts

Pero no hay algo más que hacer?? por ejemplo que los datos se guarden en una base de datos??

Claro que hay que hacer, por ejemplo si editas el fichero, ves por ejemplo esto:

 

return Db::getInstance()->execute('
 CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'newsletter` (
  `id` int(6) NOT NULL AUTO_INCREMENT,
  `id_shop` INTEGER UNSIGNED NOT NULL DEFAULT \'1\',
  `id_shop_group` INTEGER UNSIGNED NOT NULL DEFAULT \'1\',
  `email` varchar(255) NOT NULL,
  `newsletter_date_add` DATETIME NULL,
  `ip_registration_newsletter` varchar(15) NOT NULL,
  `http_referer` VARCHAR(255) NULL,
  `active` TINYINT(1) NOT NULL DEFAULT \'0\',
  PRIMARY KEY(`id`)
 ) ENGINE='._MYSQL_ENGINE_.' default CHARSET=utf8');

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...