Precious Omonzejele
Forum Replies Created
-
Forum: Plugins
In reply to: [Phone Validator for WooCommerce] translate error messageForum: Plugins
In reply to: [Phone Validator for WooCommerce] How to Set PreferredCountries?Hello, thanks. Been so slow in pushing an update??, my bad.
It actuaLly didn’t occur to me to add this to custom filtering
https://gist.github.com/Preciousomonze/03c54e7e0cc0e11ca709832bc757810b
That’s a list of all filter hooks and how to implement, for customisation.
Although Prefered country isn’t on the list.
I’ll be doing an update to include that(I’ll be faster this time around ??).For the mean time you can edit the frontend.js (if you have script_debug turned on, this is the file called) or frontend.min.Js file.
So I’ll advice you edit the frontend.js on line 21 after
separateDialCode: separateDialCode,
you add your prefered countries code there.
To update frontend.min.js, you have to minify your new frontend.js.
I am assuming you have a Javascript coding background. If not l, you can wait for an update.Forum: Plugins
In reply to: [Phone Validator for WooCommerce] Default country filter????????
Ten un buen diaForum: Plugins
In reply to: [Phone Validator for WooCommerce] Country Code overlapping phone number??????
Enjoy your day!Forum: Plugins
In reply to: [Phone Validator for WooCommerce] Default Country@umek how are you?
This new update allows that via filters
List of available filters and their implementation are here.
https://gist.github.com/Preciousomonze/03c54e7e0cc0e11ca709832bc757810b
Sorry for the long delay ??Also check this answer https://www.ads-software.com/support/topic/default-country-filter/#post-13184865
Have a nice day!@rubelmah55
This new update allows that via filters
List of available filters and their implementation are here.
https://gist.github.com/Preciousomonze/03c54e7e0cc0e11ca709832bc757810b
Sorry for the long delay ??Forum: Plugins
In reply to: [Phone Validator for WooCommerce] reduce the list of the country@shopdeluxe
This new update allows that via filters
List of available filters and their implementation are here.
https://gist.github.com/Preciousomonze/03c54e7e0cc0e11ca709832bc757810b
Sorry for the long delay ??Forum: Plugins
In reply to: [Phone Validator for WooCommerce] Country Code overlapping phone numberForum: Plugins
In reply to: [Phone Validator for WooCommerce] Is it possible to limit the countries.@shopdeluxe @tuonoman
This new update allows that via filters
List of available filters and their implementation are here.
https://gist.github.com/Preciousomonze/03c54e7e0cc0e11ca709832bc757810b
Sorry for the long delay ??- This reply was modified 4 years, 4 months ago by Precious Omonzejele. Reason: Typo
Forum: Plugins
In reply to: [Phone Validator for WooCommerce] order of numbersOh, Does your country use RTL type of writing? like Arabic?
Googling it.Forum: Plugins
In reply to: [Phone Validator for WooCommerce] Default country filterHello @villullas ,
Here is the solution, tested it again myself .function pekky_cx_default_country( $value ){ $value = 'es'; // Spain return $value; } add_filter( 'wc_pv_set_default_country', 'pekky_cx_default_country' );
More samples here.
Marking this as solved!
Do have a nice time, stay safe ??.
Lastly do not forget to try out Pancakes ?????? ! and Thanks for the rating ??.Forum: Plugins
In reply to: [Phone Validator for WooCommerce] Default country filterHowdy folk! No one is ignorant dear??.
You’re to use the country’s initial(I think that’s the write word, so i think its ‘es’ for spain right?
So filter hooks work A bit different :
Allow me get to my laptop later today, will give you the correct code.
I should even put up sample codes for future questions like this??There’s a new update, i’m sure you’ll love it @sylvain68
Forum: Plugins
In reply to: [Phone Validator for WooCommerce] order of numbersHello, thanks for the appreciation. I do not really get why you want to rearrange the numbers, but I do not have a clue on how to do that.
This is the javascript library that handles the internation number display https://github.com/jackocnr/intl-tel-inputI will try to check if rearranging is possible, cause the country codes i know, I haven’t had a reason to.
What country is this format ?An update is being made this week.????