• Resolved 4et

    (@4et)


    Hi, I`m from Russia and if i write First name,for example, in russian – get error: First name – missing or incorrect. But in English – all right.
    How can my customers write their information in russian?
    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Anonymous User

    (@anonymized-3085)

    that’ll be the error checking I have – I’ll look at amending it for a future release.

    Thread Starter 4et

    (@4et)

    i’11 look forward to it.
    but how i can to switch checking fields ( to get rid of “required” fields).
    and check up only mail on validity?
    Give me i hint,please, which files i need to edit?
    thanks.

    Anonymous User

    (@anonymized-3085)

    checkout.php but I don’t recommend it.

    Thread Starter 4et

    (@4et)

    i solved my problem
    in file cart-functions.php

    if (!function_exists('checkAlpha')) {
    	//check string is alpha only.
    	function checkAlpha($text){
    		 return preg_match ("/[A-z-]/", $text);
    	}
    }

    change to:

    if (!function_exists('checkAlpha')) {
    	//check string is alpha only.
    	function checkAlpha($text){
    		 return preg_match ("/[a-zа-яё0-9 ]/", $text);
    	}
    }

    return preg_match (“/[a-zа-яё0-9 ]/”, $text); for russian symbols

    Anonymous User

    (@anonymized-3085)

    I’ll try and add that in for a future release, or change that function entirely

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: eShop] Encoding trouble in Russian when customers input their info!’ is closed to new replies.