GithubHelp home page GithubHelp logo

mohdqasim98 / international-telephone-input Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maxmage/international-telephone-input

0.0 0.0 0.0 337 KB

Integration to Magento 2 a jQuery plugin for entering and validating international telephone numbers.

License: Open Software License 3.0

PHP 8.23% JavaScript 65.06% HTML 1.02% CSS 25.70%

international-telephone-input's Introduction

International Telephone Input module for Magento 2

The module for Magento 2 based on a jQuery plugin for entering and validating international telephone numbers https://github.com/jackocnr/intl-tel-input/. The utilities script (build/js/utils.js) is a custom build of Google's libphonenumber.

Integration to Magento 2 a jQuery plugin for entering and validating international telephone numbers. It adds a flag dropdown to telephone fields, detects the user's country, displays a relevant placeholder and provides formatting/validation methods. At the current moment not all features implement for Magento 2., plugin provides such possibility.

Demo International Telephone Input module

The demo page of a jQuery plugin, not Magento module.

Installation

  1. Go to Magento 2 root directory

  2. Enter following commands to install module:

    composer require maxmage/international-telephone-input
    
  3. Enter following commands to enable module:

    php bin/magento module:enable MaxMage_InternationalTelephoneInput
    php bin/magento setup:upgrade
    php bin/magento cache:clean
    

Configuration

  1. Enable the International Telephone Input module in Magento® Admin under Stores > Configuration > Customers > International Telephone Input.

    Disable/Enable International Telephone Input module

international-telephone-input's People

Contributors

antoniocarboni avatar maxmage avatar mohdqasim98 avatar mustdobetter avatar sebfie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.