-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
20.3.2 MNB-532 Fix use long zip option
- Loading branch information
Showing
14 changed files
with
164 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
This project adheres to Semantic Versioning(http://semver.org/). | ||
|
||
## 1.0.0 | ||
Initial Release | ||
|
||
## 1.0.1 | ||
SHQ16-2072 address autocomplete changes | ||
|
||
## 1.0.2 | ||
SHQ16-2072 address autocomplete changes | ||
|
||
## 1.0.3 | ||
SHQ16-2112 support for address elements specific to New York, UK and Sweden | ||
|
||
## 1.0.4 | ||
SHQ16-2150 handle no API key, increase z-index and handle apartment number | ||
|
||
## 1.0.5 | ||
SHQ16-2150 handle no API key, increase z-index and handle apartment number. Also changed tagged version number | ||
|
||
## 20.0.5 | ||
SHQ16-2150 handle no API key, increase z-index and handle apartment number. Also changed tagged version number | ||
|
||
## 20.0.6 | ||
SHQ16-2244 add polyfill for IE 11 issue | ||
|
||
## 20.1.0 | ||
SHQ16-2328 moved css for autocomplete to less file | ||
|
||
## 20.1.1 | ||
M2-56 code sniffer changes | ||
|
||
## 20.1.2 | ||
Updated README with grammar corrections | ||
|
||
## 20.1.3 | ||
SHQ18-65 - handle Google API authentication errors | ||
## 20.2.1 (2018-07-27) | ||
SHQ18-260 Disable Google Chrome autofill if address lookup is enabled | ||
|
||
|
||
## 20.3.0 (2018-12-18) | ||
Added a setting to use extended postcodes when available | ||
|
||
|
||
## 20.3.1 (2020-06-18) | ||
MNB-401 Fix issue with popup rendering for logged in users | ||
|
||
|
||
## 20.3.2 (2020-12-21) | ||
MNB-532 Fix use long zip option | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
~ Shipper HQ | ||
~ | ||
~ @category ShipperHQ | ||
~ @package ShipperHQ_AddressAutocomplete | ||
~ @copyright Copyright (c) 2020 Zowta LTD and Zowta LLC (http://www.ShipperHQ.com) | ||
~ @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
~ @author ShipperHQ Team [email protected] | ||
--> | ||
|
||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> | ||
<type name="Magento\Checkout\Model\CompositeConfigProvider"> | ||
<arguments> | ||
|
@@ -7,4 +17,4 @@ | |
</argument> | ||
</arguments> | ||
</type> | ||
</config> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
~ Shipper HQ | ||
~ | ||
~ @category ShipperHQ | ||
~ @package ShipperHQ_AddressAutocomplete | ||
~ @copyright Copyright (c) 2020 Zowta LTD and Zowta LLC (http://www.ShipperHQ.com) | ||
~ @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
~ @author ShipperHQ Team [email protected] | ||
--> | ||
|
||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> | ||
<module name="ShipperHQ_AddressAutocomplete" setup_version="0.0.1"/></config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
<?php | ||
\Magento\Framework\Component\ComponentRegistrar::register( | ||
|
||
/* | ||
* Shipper HQ | ||
* | ||
* @category ShipperHQ | ||
* @package ShipperHQ_AddressAutocomplete | ||
* @copyright Copyright (c) 2020 Zowta LTD and Zowta LLC (http://www.ShipperHQ.com) | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @author ShipperHQ Team [email protected] | ||
*/ | ||
|
||
\Magento\Framework\Component\ComponentRegistrar::register( | ||
\Magento\Framework\Component\ComponentRegistrar::MODULE, | ||
'ShipperHQ_AddressAutocomplete', | ||
__DIR__ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
<?xml version="1.0"?> | ||
|
||
<!-- | ||
~ Shipper HQ | ||
~ | ||
~ @category ShipperHQ | ||
~ @package ShipperHQ_AddressAutocomplete | ||
~ @copyright Copyright (c) 2020 Zowta LTD and Zowta LLC (http://www.ShipperHQ.com) | ||
~ @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
~ @author ShipperHQ Team [email protected] | ||
--> | ||
|
||
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="checkout" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> | ||
<body> | ||
<referenceBlock name="checkout.root"> | ||
|
@@ -19,4 +29,4 @@ | |
</arguments> | ||
</referenceBlock> | ||
</body> | ||
</page> | ||
</page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
~ Shipper HQ | ||
~ | ||
~ @category ShipperHQ | ||
~ @package ShipperHQ_AddressAutocomplete | ||
~ @copyright Copyright (c) 2020 Zowta LTD and Zowta LLC (http://www.ShipperHQ.com) | ||
~ @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
~ @author ShipperHQ Team [email protected] | ||
--> | ||
|
||
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> | ||
<body> | ||
<referenceBlock name="customer_address_edit"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
<?php | ||
/** | ||
* Copyright © 2016 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
|
||
/* | ||
* Shipper HQ | ||
* | ||
* @category ShipperHQ | ||
* @package ShipperHQ_AddressAutocomplete | ||
* @copyright Copyright (c) 2020 Zowta LTD and Zowta LLC (http://www.ShipperHQ.com) | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @author ShipperHQ Team [email protected] | ||
*/ | ||
|
||
// @codingStandardsIgnoreFile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
/* | ||
* Shipper HQ | ||
* | ||
* @category ShipperHQ | ||
* @package ShipperHQ_AddressAutocomplete | ||
* @copyright Copyright (c) 2020 Zowta LTD and Zowta LLC (http://www.ShipperHQ.com) | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @author ShipperHQ Team [email protected] | ||
*/ | ||
|
||
// We acknowledge this contribution from jmonschke via github https://github.com/shipperhq/module-address-autocomplete/issues/5 | ||
// MNB-401 Changed from +1 to +5 to account for @modal-popup__z-index being higher on 2.3.5 for logged in customers | ||
@googleplaces__z-index: @modal__z-index + 5; | ||
|
||
.pac-container { | ||
z-index: @googleplaces__z-index !important; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
/* | ||
* Shipper HQ | ||
* | ||
* @category ShipperHQ | ||
* @package ShipperHQ_AddressAutocomplete | ||
* @copyright Copyright (c) 2020 Zowta LTD and Zowta LLC (http://www.ShipperHQ.com) | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @author ShipperHQ Team [email protected] | ||
*/ | ||
|
||
define([ | ||
'jquery', | ||
'uiComponent', | ||
|
@@ -117,7 +127,7 @@ define([ | |
$('#'+thisDomID).val(postcode + postcodeSuffix); | ||
$('#'+thisDomID).trigger('change'); | ||
} | ||
} else if (addressType == 'postal_code_suffix' && window.checkoutConfig.shipperhq_autocomplete.use_long_postcode) { | ||
} else if (addressType == 'postal_code_suffix' && window.checkoutConfig.shipperhq_autocomplete.use_long_postcode === '1') { | ||
postcodeSuffix = '-' + value; | ||
var thisDomID = uiRegistry.get('checkout.steps.shipping-step.shippingAddress.shipping-address-fieldset.postcode').uid | ||
if ($('#'+thisDomID)) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
/* | ||
* Shipper HQ | ||
* | ||
* @category ShipperHQ | ||
* @package ShipperHQ_AddressAutocomplete | ||
* @copyright Copyright (c) 2020 Zowta LTD and Zowta LLC (http://www.ShipperHQ.com) | ||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @author ShipperHQ Team [email protected] | ||
*/ | ||
|
||
//credit: https://gist.github.com/MattSurabian/7868115 | ||
var google_maps_loaded_def = null; | ||
|
||
|
@@ -18,4 +28,4 @@ define(['jquery'],function ($) { | |
} | ||
return google_maps_loaded_def.promise(); | ||
|
||
}); | ||
}); |