habratto Posted May 26, 2020 Share Posted May 26, 2020 I created a store a year ago. Everything worked when suddenly a phone number began to be required on the order page. Creating an order without giving a phone number results in an error. Partially translated second order step in attachment. I Think I may have a mess in the files. In country editor I have: firstname lastname company vat_number address1 address2 postcode city phone In Customers > Adresses > Required fields i have unchecked: company address2 postcode other vat_number days Making my life easier I would like to set the phone number to be displayed as required. The only place in the files where I found some clue is address.php In line: 'phone' => array('type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'required' => true, 'size' => 32), I added: 'required' => true Nothing has changed. Help me in solving this problem. Please. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted May 27, 2020 Share Posted May 27, 2020 Go to Admin -> Customers -> Addresses & Click on the "Set Required field" for this section https://prnt.sc/sopcp8 Check if phone number is marked any required ? If yes, Uncheck the same. Link to comment Share on other sites More sharing options...
habratto Posted May 29, 2020 Author Share Posted May 29, 2020 I wish I could Link to comment Share on other sites More sharing options...
habratto Posted June 3, 2020 Author Share Posted June 3, 2020 So my question is: where can I change it in files? I lost a lot of time already trying to find it by myself. Maybe someone just know it. 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