I need to remove the phone mask in call request, it is just plain useless for a site that is dealing with multiple countries, +0044 of UK or +353 for ireland, long number for mobiles and landlines.
Can someone please tell me how to remove this from the latest version of CS Cart
I need to remove the phone mask in call request, it is just plain useless for a site that is dealing with multiple countries, +0044 of UK or +353 for ireland, long number for mobiles and landlines.
Can someone please tell me how to remove this from the latest version of CS Cart
Alan
Hello Alan,
Did you try to leave the Phone mask setting (Add-on settings) empty? Then it should use automatic country-based phone pattern.
Did you try to leave the Phone mask setting (Add-on settings) empty? Then it should use automatic country-based phone pattern.
The issue is that even in Ireland a landline number in the capital city the cod is 01 so +353(0)15 0328 34_ which leaves a missing number at the end, for the rest of the country it is fine as the codes are o45 021 etc +353(0)455 0328 341
Now most of the population in Ireland live in Dublin the capital city, So country based phone pattern just don't work
Is there a work around
and then there is the issue between mobile numbers and landline number which can veary in length
The issue is that even in Ireland a landline number in the capital city the cod is 01 so +353(0)15 0328 34_ which leaves a missing number at the end, for the rest of the country it is fine as the codes are o45 021 etc +353(0)455 0328 341
Now most of the population in Ireland live in Dublin the capital city, So country based phone pattern just don't work
Is there a work around
and then there is the issue between mobile numbers and landline number which can veary in length
Try to rename the design/themes/YOUR_THEME/templates/addons/call_requests/hooks/index/scripts.post.tpl file to, for example, scripts1.post.tpl. And clear cache.
Try to rename the design/themes/YOUR_THEME/templates/addons/call_requests/hooks/index/scripts.post.tpl file to, for example, scripts1.post.tpl. And clear cache.
Thanks for that it did remove the phone mask, anyone point me in the direction on how to do this using my changes as it will be overwriten on next update as my templete uses the default file in the responsive theme.
You can use an override file that is empty in design/themes/YOUR_THEME/templates/addons/my_changes/overrides/addons/call_requests/hooks/index/scripts.post.tpl
Should have same effect as renaming the original fileā¦
You can use an override file that is empty in design/themes/YOUR_THEME/templates/addons/my_changes/overrides/addons/call_requests/hooks/index/scripts.post.tpl
Should have same effect as renaming the original file..