morzh666
Проверенные
- Сообщения
- 219
- Реакции
- 17
- Баллы
- 8,115
Все привет. Есть шаблон dbtech_ecommerce_account_address_view в плагине DragonByte eCommerce
как мне правильно удалить часть кода через модификацию?
так чтоб удалились вот эти 3 строки![[XenForo.Info]_Без названия.png [XenForo.Info]_Без названия.png](https://xenforo.info/data/attachments/137/137236-972cb98a426a929c8a3b303d54c20eba.jpg)
объясните пожалуйста
Код:
<xf:breadcrumb href="{{ link('dbtech-ecommerce/account') }}">{{ phrase('your_account') }}</xf:breadcrumb>
<xf:breadcrumb href="{{ link('dbtech-ecommerce/account/address-book') }}">{{ phrase('dbtech_ecommerce_address_book') }}</xf:breadcrumb>
<xf:title>{$address.title}</xf:title>
<xf:if contentcheck="true">
<dl class="blockStatus blockStatus--standalone">
<dt>{{ phrase('status') }}</dt>
<xf:contentcheck>
<xf:if is="$address.address_state == 'moderated'">
<dd class="blockStatus-message blockStatus-message--moderated">
{{ phrase('dbtech_ecommerce_vat_id_awaiting_approval_before_tax_status_applies') }}
</dd>
</xf:if>
</xf:contentcheck>
</dl>
</xf:if>
<div class="block">
<div class="block-container">
<div class="block-body">
<xf:formrow label="{{ phrase('title') }}">{$address.title}</xf:formrow>
<xf:formrow label="{{ phrase('dbtech_ecommerce_address_business_title') }}">{$address.business_title}</xf:formrow>
<xf:if is="$address.business_co">
<xf:formrow label="{{ phrase('dbtech_ecommerce_address_business_co') }}">{$address.business_co}</xf:formrow>
</xf:if>
<xf:if is="$address.address1">
<xf:formrow label="{{ phrase('dbtech_ecommerce_address_address1') }}">{$address.address1}</xf:formrow>
</xf:if>
<xf:if is="$address.address2">
<xf:formrow label="{{ phrase('dbtech_ecommerce_address_address2') }}">{$address.address2}</xf:formrow>
</xf:if>
<xf:if is="$address.address3">
<xf:formrow label="{{ phrase('dbtech_ecommerce_address_address3') }}">{$address.address3}</xf:formrow>
</xf:if>
<xf:if is="$address.address4">
<xf:formrow label="{{ phrase('dbtech_ecommerce_address_address4') }}">{$address.address4}</xf:formrow>
</xf:if>
<xf:if is="$address.sales_tax_id">
<xf:formrow label="{{ phrase('dbtech_ecommerce_vat_id') }}">{$address.sales_tax_id}</xf:formrow>
</xf:if>
<xf:if is="$address.country_code">
<xf:formrow label="{{ phrase('dbtech_ecommerce_address_country') }}">{$address.Country.native_name}</xf:formrow>
</xf:if>
</div>
</div>
</div>
как мне правильно удалить часть кода через модификацию?
так чтоб удалились вот эти 3 строки
![[XenForo.Info]_Без названия.png [XenForo.Info]_Без названия.png](https://xenforo.info/data/attachments/137/137236-972cb98a426a929c8a3b303d54c20eba.jpg)
объясните пожалуйста
Последнее редактирование:

