Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2618 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
4
дек. 24
2033
3
мар. 24
2655
0
окт. 23
1294
1
февр. 23
3679
1
сент. 22
3856