Created
November 16, 2020 13:37
-
-
Save be-mohand/991333b3be78e713b21472f311e20096 to your computer and use it in GitHub Desktop.
Update Shipping countries in list
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
$(document).ready(function() { | |
// Keep only France as authorized Shipping countries | |
if($('#shipping-country').length > 0) { | |
$('#shipping-country') | |
.empty() | |
.append('<option selected="selected" value="FR">France</option>'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment