Answer the question
In order to leave comments, you need to log in
Why does the html markup of the block change in CMS Bitrix depending on whether the user is authorized or not?
There is a block "similar products". I found the file where the markup of this block is located. Changed as needed. If you enter the admin panel, then the "similar products" block is displayed normally, with the markup from the file. If you exit the admin panel, the old markup is displayed. I have not worked with Bitrix before.
Markup if authorized (new, correct):
<div class="catalog-section__item">
<a class="catalog-section__item-link" href="#">
<img src="..." alt="..." title="...">
<span class="catalog-section__item-name">Напольный шкаф Conchiglia</span>
</a>
</div>
<div class="catalog-section__item">
<div>
<a href="..." style="width:120px;height:120px;display:block;border: 1px solid #648DA1;overflow: hidden">
<img border="0" src="..." width="120" alt="..." title="...">
</a><br>
<a href="#">Напольный шкаф Conchiglia</a>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question