4

I want to remove country from Checkout payment block. enter image description here

This was fill by knock js but i don't know how to remove this.

2
  • are you want to remove country from only dropdown of billing or remove from billing form also. Oct 2, 2017 at 5:58
  • only from dropdown
    – Ajay Patel
    Oct 2, 2017 at 6:17

1 Answer 1

10
+50

Not 100% sure about this one, but I think the address in the dropdown is formatted via an admin settings.
You can go to Stores->Configuration->Customer->Customer Configuration->Address Templates and play with the values in there.
My money is on Text one line. Try removing {{var country}} from it and see if if works.

2
  • 1
    it is awasome Marius, I was going to override some classes.But you give a quick excellent solution
    – Amit Bera
    Oct 2, 2017 at 16:48
  • Really excellent solution without doing modification at code level :) @Marius
    – Keyur Shah
    Oct 3, 2017 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.