Jump to content

[1.7] Required fields do not match.


habratto
 Share

Recommended Posts

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.

zamowienie_en.png

Share this post


Link to post
Share on other sites

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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More