Giter Site home page Giter Site logo

php-cuong / magento2-customer-address-autocomplete Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 5.0 252 KB

Magento 2 Customer Address Autocomplete

PHP 31.71% JavaScript 60.50% HTML 7.79%
magento-2 magento-2-extension extension-free address-autofill customer-address-autocomplete address-autocomplete maps-javascript-api google-maps

magento2-customer-address-autocomplete's Introduction

Customer Address Autocomplete Extension for Magento 2

In this module, I used the Maps Javascript API of the Google for autocompleting the customer address. When the customer enter the address in the street field, a list of addresses will be suggested by Google Maps Javascript API.

How to install or upgrade this extension?

  • Under the root of your website, please run the command lines bellowing:
    • Before installing this extension, make sure that you have installed the PHPCuong_Core module, If you don't install this module yet, please install it by running the command line: composer require php-cuong/magento2-module-core
    • Install the PHPCuong_CustomerAddressAutocomplete module:
    • composer require php-cuong/magento2-customer-address-autocomplete
    • php bin/magento setup:upgrade
    • php bin/magento setup:static-content:deploy
    • php bin/magento setup:di:compile
    • php bin/magento indexer:reindex
    • php bin/magento cache:flush

How to see the results?

- On the Backend:

  • Go to the Admin Panel of the Magento Store and navigate to the GiaPhuGroup โ†’ Address Autocomplete

- On the Storefront:

  • Go to the Edit Address page
  • Go to the Add New Address page
  • Go to the Create New Customer Account page
  • Go the the checkout page.

The screenshot of this extension

- On the Storefront:

The interface used for the customer creates new customer account page

ScreenShot

magento2-customer-address-autocomplete's People

Contributors

php-cuong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

magento2-customer-address-autocomplete's Issues

Showing only one country address.

Showing only one country address. It should show all country addresses. In my case, it is showing only the address for Australia.

PHP 7.4.x compatibility

Input : bin/composer require php-cuong/magento2-module-core

Output:
[InvalidArgumentException]
Package php-cuong/magento2-module-core has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version:
- php-cuong/magento2-module-core 2.2.0.4 requires php 5.6.|7.0.|7.1.|7.2.|7.3.* which does not match your installed version 7.4.23.

please allow php 7.4.x for installation this module via composer.
thannks

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.