I found a big problem in the billing phone field (auto-add country code prefix)
-
Here is my WooCommerce general setting page
I choose only Iran country. Therefore, the prefix code should no longer be shown…
Image1 (please right-click and open new tab)
in the checkout field, there is a problem. WooCommerce automatically adds country code prefixes sometimes +98 and sometimes 98! however, In both cases, this is wrong, and should not be added to the beginning of the number.
Image2 (please right-click and open new tab)
Image3 (please right-click and open new tab)
No one in his own country uses the country code to call! This only makes sense when a buyer wants to buy from another country, or when you want to contact someone in another country!
Most people set up their stores to sell their products only in their country or region. And not everyone has a global store like Amazon;! And since it is set and selected in the settings of a specific country for the store, sales to other countries cannot be done; In all cases, the prefix of the country code should not be added.
It just confuses the buyer and makes the field ugly and crowded. In many countries, even people do not know what their country code prefix is! Because they only deal with the mobile number itself.
Even in our country, operators made +98 or 98 hidden from the beginning of the number, and no international prefix is known during incoming and outgoing calls. Some mobile phone manufacturers in Asia, such as Samsung, hide the international prefix for certain countries so that it is not even displayed.
I know that this problem can be solved by JavaScript and jQuery, but not everyone knows that! Also, adding additional JavaScript and jQuery codes can cause page loading to be slower, page loading speed to decrease, and also some other problems. And it is better to solve this problem in WooCommerce itself. so that there is no need for any additional work and other uncertain methods.
Thank you for your time. Please solve this problem soon.
- The topic ‘I found a big problem in the billing phone field (auto-add country code prefix)’ is closed to new replies.