Comment to 'How to disable Countries without deleting them?'
  • Wow!!! you are just a genius. Thanks a lot. It works. with the 'Please select...' variant added back, the warning (Error message: Address not found) has disappeared when loading the page. Everything works fine.

    My last question still remains unanswered. You provided the solution for the header injection (global). What about if i had to use the raw and add the code on a page per page basis to diaplay 3 countries and to add the 'Please select...' variant? How should the code you provided below look?

    <script language="javascript">

     $(".bx-form-input-location-country option[value!='US']").remove();

    </script>

    Thanks