// Filled a default message in customer privacy #PSCFV-3471
This commit is contained in:
@@ -49,7 +49,12 @@ class Blockcustomerprivacy extends Module
|
||||
|
||||
public function install()
|
||||
{
|
||||
return parent::install() && $this->registerHook('createAccountForm') && Configuration::updateValue('CUSTPRIV_MESSAGE', array());
|
||||
$return = (parent::install() && $this->registerHook('createAccountForm'));
|
||||
Configuration::updateValue('CUSTPRIV_MESSAGE', array($this->context->language->id =>
|
||||
$this->l('The personal data you provide is used to answer to your queries, process your orders or allow you to access specific information.').' '.
|
||||
$this->l('You have a right to modify and delete all the personal information which we hold concerning yourself in the "my account" page.')
|
||||
));
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function getContent()
|
||||
|
||||
@@ -4,6 +4,8 @@ global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_0cec62d1bea02fbb1484d55d14f493dd'] = 'Bloc confidentialité des données clients';
|
||||
$_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_3a32ec2dbd8d955f6240d95d6004557c'] = 'Ajoute un bloc qui affiche un message concernant la confidentialité des données clients.';
|
||||
$_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_77cb2fa873bee41280d3a1c9ffd9b821'] = 'Les informations personnelles que nous collectons sont destinées à mieux répondre à vos demandes et traiter vos commandes.';
|
||||
$_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_0560788430987c4914fea998886d3977'] = 'Vous disposez à tout moment d’un droit d’accès, de modification et de suppression de vos informations personnelles que vous pouvez exercer via la page \"mon compte\" de ce site internet.';
|
||||
$_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuration mise à jour';
|
||||
$_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_b75fe4f32f17eb695f145704a8909146'] = 'Message concernant la confidentialité des données clients';
|
||||
$_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_03e6791c07164957bb87bfad5030f846'] = 'Le message sera affiché sur le formulaire de création de compte.';
|
||||
|
||||
Reference in New Issue
Block a user