elmasgayu Posted December 2, 2021 Share Posted December 2, 2021 Hello. Prestashop 1.7.7.2 I am having problems with the deactivation of the field for the DNI in shipments to Spain. As you can see in this image it is activated as mandatory in: Customers > Addresses > Set required fields for this section. I deactivate the dni field as mandatory and it looks like this. A few days ago I created a new country to be able to separate shipments to the Canary Islands from shipments to the peninsula Spain. Due to customs issues it is mandatory to have the DNI of the recipient to be able to send the goods to them. To avoid having to ask for the DNI by mail, I separated the Canary Islands in a new shipping zone and created a country called Spain - Canary Islands to be able to ask for a DNI field as mandatory. Personalizar > Internacional > Ubicaciones geograficas > Países We also mark the field "Do you need a tax identification number" as not necessary within the country. After this creation Prestashop activated as mandatory the DNI again as shown in the first image for all customers regardless of whether they are from Spain peninsula, Canary Islands or any other country in Europe to which we make shipments. After a lot of testing and revisions we were not able to make the DNI field not compulsory for all customers. We could detect that after disabling the DNI field as mandatory in the addresses when a customer registers in the shop and proceeds to fill in your shipping address Prestashop automatically reactivates the DNI field as mandatory for all and this is causing us many problems. Does anyone have the same problem or know how to fix this BUG? Thank you very much. Link to comment Share on other sites More sharing options...
etsmes Posted February 17, 2022 Share Posted February 17, 2022 (edited) Hi, I had a similar problem and it was solved with version 5.0.27 of the Correos module Edited February 17, 2022 by etsmes (see edit history) 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