kibiribi Posted June 3, 2020 Share Posted June 3, 2020 (edited) I want to show only special customer fields for customer registration form (Presta 1.7.6.5): 1) firstname, lastname 2) address, 3) phone it will be online store for 1 city only. I don't need country and ZIP. see pic 1 it looks ok for me - pic 2  But it gives me 500 Error during checkout  😞 According to Debufg mode - problem with country code - pic 3 What should I do in this case? It seems I can't remove country field? In this case use hidden field country with value ="country code " for user registration form and set my country everytime? ------- example for CSS hide -------- --- this code hide all address block --- .js-address-form .form-fields > .form-group.row{display:none;} ---- - this code hide only country row --- .js-address-form .form-fields > .form-group.row.id_country {display:none;} -------------------------------------------------- Thanks in advance for advices 🙂  Edited June 3, 2020 by kibiribi (see edit history) Link to comment Share on other sites More sharing options...
kibiribi Posted June 3, 2020 Author Share Posted June 3, 2020 So I don't need all those fields - pic 4 VAT, adr2, Tax, etc... how to remove those fields without error 500 code? 🙂  Link to comment Share on other sites More sharing options...
kibiribi Posted June 3, 2020 Author Share Posted June 3, 2020 (edited) The same problem with 1 active country when Country field was removed from settings - https://github.com/PrestaShop/PrestaShop/issues/9888 Sounds good, but any workaround for the version 1.7.6.5? Edited June 3, 2020 by kibiribi (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