Field "Phone" in checkout window allows non numeric value

Steps to reproduce:

  1. Go to https://power-greg.ru/
  2. Select any item in stock and add it to cart
  3. Go to “My cart”
  4. Press button -->> [Checkout]
  5. Fill in all the fields in the checkout window like this:
    [Name] -->> test
    [Phone] -->> !@#$%^?>[]qwerFDJDладыофоцйт - so any simbols
    [Email] -->> test@test.ru
    [Citi] -->> test
    [Adress] -->> test
    [Index] -->> 000000
  6. Press button [continue]
  7. Go to the next tab “choice of delivery method”

Actual result: Field “Phone” in checkout window allows non numeric value and allows you to continue to place order

Expected Result:
Use only numeric value in the field “Phone”, when placing an order in the checkout window.

Build:
CS-Cart 4.8.2.SP2 RU
Responsive theme: Russian_theme

Priority: Medium
Severity: Major

Environment:
Windows 7 Ultimate, Mozilla FireFox 65.0.1 (64-бит), Google Chrome 72.0.3626.119

Attachment:
Video reproduce:
https://cloud.mail.ru/public/8NrE/g6XwqoEAk

Comments:
Buyer can be mistake when entered the phone number.
If buyer entered a character instead of a number the seller can lost the convertion because there is no way to contact.

as%20should%20be

I think that it isn’t a bug, but rather missing functionality. We’re planning to change that in version 4.10.1: https://www.youtube.com/watch?v=A_n9rC3SZFQ&feature=youtu.be&t=517

1 лайк

Look there https://marketplace.cs-cart.com/?subcats=Y&status=A&pshort=Y&pfull=Y&pname=Y&pkeywords=Y&search_performed=Y&cid=&q=маска+номера+телефона&dispatch=products.search