+380 mask
The number is entered as +380 XX XXX XX XX in the cart, registration, account and callback forms. Shoppers do not have to think about the format.
Adds a +380 mask to every phone field on the site and does not let an incomplete number through. The phone becomes required in the cart, at registration and in the account, and email in the cart can be made optional.
The number is entered as +380 XX XXX XX XX in the cart, registration, account and callback forms. Shoppers do not have to think about the format.
The mask accepts only Ukrainian mobile operator codes: Kyivstar, Vodafone, lifecell and others. A number with a wrong code simply cannot be typed.
A number in any form, 067…, 380… or +38 (067)…, is brought to the format by itself after pasting or browser autofill.
Without a full number an order, registration or account update will not go through. The check runs both in the browser and on the server, so it cannot be bypassed.
Switch it on and shoppers can order without an email: if an address is given, it is checked as usual. Email stays required for registration.
All phones are saved in one format, so managers can call easily, and searching orders and customers by number works precisely.
A few steps and the module is running.