Jump to content

SOLUTION FOUND - text error on checkout page


Recommended Posts

my checkout page looks like this in the subscription and privacy section.   it shows text in bold below.   i see this coding text in file ps_emailsubscription.php but do not know how to fix or if this is the file to fix

 

Sign up for our newsletter<br><em>You may unsubscribe at any moment. For that purpose, please find our contact info in the legal notice.</em>

Customer data privacy<br><em>The personal data you provide is used to answer queries, process orders or allow access to specific information. You have the right to modify and delete all the personal information found in the "My Account" page.</em>

 

checkout page.png

Edited by faxboys
SOLUTION FOUND (see edit history)
Link to comment
Share on other sites

1 hour ago, ComGrafPL said:

Have you checked on translation? Any module for custom checkboxes?

a search on checkboxes produces no result.  This is a brand new install of version 8.0. so i don't know if this issue is because of new version

Link to comment
Share on other sites

SOLUTION FOUND.

I added 2 blank spaces in from the of "Sign Up" and "Customer Date Privacy" in their respective files

ps_emailsubscription.php

        $label = $this->trans(
            '(2 blank spaces here)Sign up for our newsletter[1][2]%conditions%[/2]',
            [
                '_raw' => true,
                '[1]' => '<br>',
                '[2]' => '<em>',
                '%conditions%' => Tools::htmlentitiesUTF8(
                    Configuration::get('NW_CONDITIONS', $this->context->language->id)
                ),
                '[/2]' => '</em>',
            ],

************************
ps_dataprivacy.php

Customer data privacy[1][2]%message%[/2]',


        $label = $this->trans(
            '(2 blank spaces here)Customer data privacy[1][2]%message%[/2]',
            [
                '_raw' => true,
                '[1]' => '<br>',
                '[2]' => '<em>',
                '%message%' => Configuration::get('CUSTPRIV_MSG_AUTH', $this->context->language->id),
                '[/2]' => '</em>',
            ],

Link to comment
Share on other sites

  • faxboys changed the title to SOLUTION FOUND - text error on checkout page

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...