Jump to content

Обязательные поля в 1.7.2


Recommended Posts

Добрый день, друзья.

 

Необходимо сделать поле «Телефон» в корзине (при оформлении заказа и заполнении адреса) обязательным полем.

 

Подскажите, как это сделать. Спасибо

Edited by yakostyatszyu (see edit history)
  • Thanks 1

Share this post


Link to post
Share on other sites

Ответ найден:

 

Customers > Addresses > Set required fields for this section > Phone_mobile

Make sure youre added in locations > countries > phone_mobile 

 

Однако следует учесть, что:

 

You need to know about issue connected with the option "Set required fields for this section" from Back Office (at least in 1.7.1.1). 

 

Eg.: when you set the 'phone' field as 'required' and you have already customers in database who did not enter phone number during last orders, they will not able to make new orders

They will get Error 500 screen.

My customers was not able to find out why they havegot this nic error...

 

IMHO the option should has the warning about consequences it or there should check all entries in database before save new set of required fields.

  • Like 1

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