Skip to content

Commit c9e478e

Browse files
committed
updated
1 parent 01f4a55 commit c9e478e

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,24 @@
1-
# magento2-customer-address-autocomplete
2-
Magento 2 Customer Address Autocomplete
1+
# Customer Address Autocomplete Extension for Magento 2
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.
3+
4+
## How to install or upgrade this extension?
5+
+ Under the root of your website, please run the command lines bellowing:
6+
- 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**
7+
- Install the PHPCuong_CustomerAddressAutocomplete module:
8+
- **composer require php-cuong/magento2-customer-address-autocomplete**
9+
- **php bin/magento setup:upgrade**
10+
- **php bin/magento setup:static-content:deploy**
11+
- **php bin/magento setup:di:compile**
12+
- **php bin/magento indexer:reindex**
13+
- **php bin/magento cache:flush**
14+
15+
## How to see the results?
16+
17+
### - On the Backend:
18+
- Go to the Admin Panel of the Magento Store and navigate to the GiaPhuGroup → Address Autocomplete
19+
20+
### - On the Storefront:
21+
- Go to the Edit Address page
22+
- Go to the Add New Address page
23+
- Go to the Create New Customer Account page
24+
- Go the the checkout page.

etc/config.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
<default>
2525
<phpcuong_address_autocomplete>
2626
<general>
27-
<api_key>AIzaSyAo4tEzHqBYcQQtBYYKFoZXhy3j_SX-osU</api_key>
28-
<enable>1</enable>
27+
<enable>0</enable>
2928
</general>
3029
</phpcuong_address_autocomplete>
3130
</default>

0 commit comments

Comments
 (0)