P
P
Pavstyuk2020-05-19 10:26:00
1C-Bitrix
Pavstyuk, 2020-05-19 10:26:00

How to remove the display of discounts for a product, leaving only the main price?

There is an online store on 1C-Bitrix rvitrina.com/catalog/bouquets in the catalog the price with all possible discounts is displayed, also on the product card. How to remove the list of discounts leaving only the main cost?
Please help. I look at Bitrix for the first time, very surprised. I tried to find it in the control panel - I could not. I tried to find a similar section in the code to remove it there - so far without success.
How to remove the display of discounts?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2020-05-19
@Pavstyuk

If discounts are not set anywhere, but are simply displayed in the template, then look here:
/bitrix/templates/Template name/components/bitrix/catalog.element/Template name/template.php
Look for this piece in it:

spoiler
<!--мой код для вывода скидки-->
        
        
        <p>Скидка 5% <span class="bxr-market-current-price bxr-market-format-price ">53<sup>20</sup> руб</span></p>

        <p>Скидка 10% <span class="bxr-market-current-price bxr-market-format-price ">50<sup>40</sup> руб</span></p>

        <p>Скидка 15% <span class="bxr-market-current-price bxr-market-format-price ">47<sup>60</sup> руб</span></p>

        <p>Скидка 20% <span class="bxr-market-current-price bxr-market-format-price ">44<sup>80</sup> руб</span></p>
        
                
        <!--мой код для вывода скидки-->

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question