Answer the question
In order to leave comments, you need to log in
How to remove the Details button in the Bitrix product card?
There is a product card. It finds a description, which consists of a short and complete. Initially, only a short one is displayed, in order to see the full one, you must click More details. How to remove the Details button, so that the product description is complete initially.
I found this in catalog.item, tried to change it somehow, but it doesn't work.
<div class="product-descr" data-value="description" itemprop="description">
<p class="product-descr__text"> <?=$arResult["PREVIEW_TEXT"]?></p>
<div class="product-descr__more-block">
<p class="more-block__text"><?=$arResult["DETAIL_TEXT"]?></p>
</div>
<?if ($arResult["DETAIL_TEXT"]) {?>
<a class="product-descr__more" href="#" aria-label="подробнее">подробнее
<svg class="product-descr__more__icon" viewBox="0 0 8 8" width="8px" height="8px">
<rect y="3" width="8" height="2"/>
<rect class="plus-vertical" y="3" transform="matrix(4.501980e-011 1 -1 4.501980e-011 8 -1.809886e-010)" width="8" height="2"/>
</svg>
</a>
<?}?>
</div>
Answer the question
In order to leave comments, you need to log in
<div class="product-descr" data-value="description" itemprop="description">
<p class="product-descr__text"> <?=$arResult["DETAIL_TEXT"]?></p>
</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question