cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove "Address: Line 1" and Country on the form of the purchase tunnel ?

Highlighted

Re: How to remove "Address: Line 1" and Country on the form of the purchase tunnel ?

Hey Thomas,

please, did you found any solution for this Line1 label thing in the end?

 

Thanks a lot

Zbynek

Highlighted

Re: How to remove "Address: Line 1" and Country on the form of the purchase tunnel ?

No, I couldn't find it.

Highlighted

Re: How to remove "Address: Line 1" and Country on the form of the purchase tunnel ?

Thanks for letting me know, Thomas
Highlighted

Re: How to remove "Address: Line 1" and Country on the form of the purchase tunnel ?

Just add following lines

 

<item name="street" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>
</item>

@thomas_rolland wrote:

I just found the solution to remove the country. I modified the file /vendor/magento/module-checkout/view/frontend/layout/checkout_index_index.xml

 

Insert :

 

<item name="config" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>

Line 226  :

...

<item name="country_id" xsi:type="array">
<item name="config" xsi:type="array">
<item name="visible" xsi:type="boolean">false</item>
</item>
</item>

...

 Now I have to find how to remove "Address: Line 1"