콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

How to remove street 2 field?


아바타
취소
베스트 답변

Hi,

Create a custom template, Inherit the address template in website_sale module, and use xpath to replace the street 2 field.

<template id="address" inherit_id="website_sale.address">
<xpath expr="//div[contains(@t-attf-class, ‘col-lg-12 div_street2’)]” position="replace”>
</xpath>
</template>

Then the field and it’s label will be removed.

Regards

아바타
취소
관련 게시물 답글 화면 활동
4
12월 24
2165
3
3월 24
2757
0
10월 23
1375
1
2월 23
3827
1
9월 22
3960