Jump to content

[SOLVED] International dialling codes problem


Recommended Posts

Hi Barney,

Please never post private information like your login URL on the PrestaShop forums.

 

Per the rules of the PrestaShop forums, I also cannot make any connection to your Back Office or other private information without a signed contract. If the issue is in the Back Office, please post a screenshot of the page. If it's also in the Front Office, please post a direct link as an example.

 

-Mike

Link to comment
Share on other sites

Screen shot.

 

All the Caribbean countries have four digit dialling codes starting 1 then three digits identifying the country. I give Anguilla (the first alphabetically) as an example in this screen shot, which should be 1264

 

Image19.jpg

 

There isn't an issue with the functionality of the back office, just a too-short field

Link to comment
Share on other sites

Hi bdfoto,

In your admin/tabs/AdminCountries file, look for the following code around line 245 (in v1.4.8.2; might vary a little depending on your version number)

 

<input type="text" size="4" maxlength="3" name="call_prefix" value="'.(int)($this->getFieldValue($obj, 'call_prefix')).'" style="text-transform: uppercase;" /> <sup>*</sup>

 

Just change "maxlength" to 4, and that should resolve this for you.

 

I hope this helps.

 

-Mike

Link to comment
Share on other sites

×
×
  • Create New...