marada Posted March 15, 2023 Share Posted March 15, 2023 Hello, hi can i fix this problem? Link to comment Share on other sites More sharing options...
Prestachamps Posted March 16, 2023 Share Posted March 16, 2023 Hi @marada You can check for an incorrect html opening/closing tag in the backoffice at the configuration of the Customer data privacy block module which displays the Customer data privacy text. The Sign up for our newsletter text can be modified at the configuration of Newsletter subscription the module; this should not contain any html tags, only text. I hope that I could help. Cheers, Leo Link to comment Share on other sites More sharing options...
Knowband Plugins Posted March 16, 2023 Share Posted March 16, 2023 In the "modules\ps_dataprivacy\ps_dataprivacy.php", hookAdditionalCustomerFormFields() Replace ->setLabel($label) with ->setLabel(html_entity_decode($label)); Kindly try the above solution once. Link to comment Share on other sites More sharing options...
marada Posted March 17, 2023 Author Share Posted March 17, 2023 Thanks for respond, but everything not workin. I found the soultion: $label = $this->trans( 'Customer data privacy[1][2]%message%[/2]', [ '[1]' => '<br>', '[2]' => '<em>', '%message%' => Configuration::get('CUSTPRIV_MSG_AUTH', $this->context->language->id) '[/2]' => '</em>', Missing components here. Now it's work: $label = $this->trans( 'Customer data privacy[1][2]%message%[/1][/2]', [ '[1]' => '<br>', '[2]' => '<em>', '%message%' => Configuration::get('CUSTPRIV_MSG_AUTH', $this->context->language->id), '[/1]' => '</br>', '[/2]' => '</em>', Closed 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now