R
R
Ruslan Absalyamov2018-06-04 13:07:45
1C-Bitrix
Ruslan Absalyamov, 2018-06-04 13:07:45

How to round price in bitrix.catalog.section?

In my catalog, the prices are normally displayed, but for the applied discounts, the prices are displayed strangely, that is, the price is 2510.00, then the discount is displayed 1950.5. Although it should display up to hundredths, for example, 1950.50. I looked in the admin panel for price rounding Shop->settings->price->rounding. Accordingly, I did not find a suitable item there to round up to hundredths

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-06-04
@rusline18

see how rounding goes with and without discount and copy the code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question