News:

Support the VirtueMart project and become a member

Main Menu

Force phone and mobile format ?

Started by tuaneric, January 05, 2023, 14:36:24 PM

Previous topic - Next topic

tuaneric

Hello

I bought VP One Page Checkout Plugin for virtuemart 4.

I'm looking for a plugin to force phone format 00 00 00 00 00 in new account registration and billing details in cart.
I found Phone Number Validator but it is no longer for sale.

https://alatak.net/en/userfields-for-virtuemart/phone-number-validator.html

Do you know any other extension or plugin ?

Thank
Joomla 3.10.11 & Virtuemart 4.2.4.10922 - PHP 8.2 , Template Hera version 3.11

pinochico

you can use this:
https://github.com/jackocnr/intl-tel-input

custom implementation with geoip (replace https://ipinfo.io with other function (etc. geolocator) or not.

You can see on this:
https://www.cannadorra.com/en/eshop/cart

But is not 100%perfect :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

tuaneric

Hello Pinochico

Thank you for your info, I just want to have the phone format: 00 00 00 00 00 to adapt with the phone in France.

Is it possible to modify the Joomla PHP template or pages to have it in phone format ?

I used Hera template, I enabled custom.js to add the JavaScript code

Thanks
Joomla 3.10.11 & Virtuemart 4.2.4.10922 - PHP 8.2 , Template Hera version 3.11

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

tuaneric

Hello GJC Web Design

I don't know the PHP and Java code, you can give me the code to add in the php pages of joomla and virtuemart.

i just want phone and mobile phone format 00 00 00 00 00

Thanks
Joomla 3.10.11 & Virtuemart 4.2.4.10922 - PHP 8.2 , Template Hera version 3.11