File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2222-->
2323<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Backend:etc/menu.xsd" >
2424 <menu >
25- <add id =" PHPCuong_CustomerAddressAutocomplete::configuration" title =" Configuration" module =" PHPCuong_CustomerAddressAutocomplete" sortOrder =" 10" action =" adminhtml/system_config/edit/section/phpcuong_address_autocomplete" resource =" PHPCuong_CustomerAddressAutocomplete::config_address_autocomplete" parent =" PHPCuong_Core::giaphugroup_menu" />
25+ <add id =" PHPCuong_CustomerAddressAutocomplete::address_autocomplete" title =" Address Autocomplete" translate =" title" module =" PHPCuong_CustomerAddressAutocomplete" sortOrder =" 10" resource =" PHPCuong_CustomerAddressAutocomplete::config_address_autocomplete" parent =" PHPCuong_Core::giaphugroup_menu" />
26+ <add id =" PHPCuong_CustomerAddressAutocomplete::configuration" title =" Configuration" module =" PHPCuong_CustomerAddressAutocomplete" sortOrder =" 20" action =" adminhtml/system_config/edit/section/phpcuong_address_autocomplete" resource =" PHPCuong_CustomerAddressAutocomplete::config_address_autocomplete" parent =" PHPCuong_CustomerAddressAutocomplete::address_autocomplete" />
2627 </menu >
2728</config >
Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ define([
3737 } ,
3838 shippingAutocomplete : null ,
3939 billingAutocomplete : null ,
40- billingStreetFound : false
40+ billingStreetFound : false ,
41+ billingFunction : null ,
42+ shippingFunctions : null
4143 } ,
4244
4345 /**
@@ -102,6 +104,7 @@ define([
102104 _fillInBillingAddress ( ) {
103105 // Get the place details from the autocomplete object.
104106 var place = this . options . billingAutocomplete . getPlace ( ) ;
107+ console . log ( place ) ;
105108 // Get each component of the address from the place details
106109 // and fill the corresponding field on the form.
107110 for ( var i = place . address_components . length - 1 ; i >= 0 ; i -- ) {
You can’t perform that action at this time.
0 commit comments