Skip to content

Commit

Permalink
Merge pull request #445 from myparcelnl/Fix-get-shipping-country_id
Browse files Browse the repository at this point in the history
Fix get shipping country
  • Loading branch information
RichardPerdaan authored Dec 13, 2018
2 parents 59f2fd9 + af91887 commit 60b2717
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/code/community/TIG/MyParcel2014/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<TIG_MyParcel2014>
<version>1.17.1</version>
<version>1.17.2</version>
</TIG_MyParcel2014>
</modules>
<global>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ function getMyParcelLatestData() {
if(mypajQuery("input[id='shipping:city']").length && mypajQuery("input[id='shipping:city']").val().length) {
data += mypajQuery("input[id='shipping:city']").val();
}
if($('billing:country_id').length && $('billing:country_id').getValue()){
data += $('billing:country_id').getValue();
if(mypajQuery('billing:country_id').length && mypajQuery('billing:country_id').getValue()){
data += mypajQuery('billing:country_id').getValue();
}
if($('shipping:country_id').length && $('shipping:country_id').getValue()){
data += $('shipping:country_id').getValue();
if(mypajQuery('shipping:country_id').length && mypajQuery('shipping:country_id').getValue()){
data += mypajQuery$('shipping:country_id').getValue();
}

return data;
Expand Down

0 comments on commit 60b2717

Please sign in to comment.