kittysgifts Posted November 16, 2023 Share Posted November 16, 2023 (edited) I installed version 8.1 to see if I can update a store that I have in an older version, still without GDPR. Right now, I'm facing an issue because I would like to hide some fields in the PDF generated by the 'psgdpr' module, and I'm not able to (they are not used in Portugal, customers don't see them on registration form). I've figured out that what generates the PDF is in the following path: 'modules/psgdpr/views/templates/front/pdf/sectionsgeneral_informations.tpl' Can you help me figure it out where to find $customerData and remove the 'CNPJ/Ape...' fields from the PDF? They are not used in Portugal! I don't know much about PrestaShop's language/architecture; I only understand a bit of HTML and CSS. However, since I'm a programmer in another software, I try to solve everything myself, as it is a very small store, and I handle everything! Thank you. Edited January 4 by kittysgifts Solved (see edit history) Link to comment Share on other sites More sharing options...
kittysgifts Posted January 4 Author Share Posted January 4 "I managed to find the solution on my own. The file is as follows: NOTE: In the module, the private note for the customer is being displayed (the "personal note"), which is a note that should not be shown to them!!!! 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