N
N
Nadezhda Golovina2021-04-27 11:52:06
1C-Bitrix
Nadezhda Golovina, 2021-04-27 11:52:06

How to divide the price into monthly payments in Bitrix?

Probably the most idiotic of my questions on Habré.
But you need to withdraw the amount of the monthly payment on the Bitrix website.
The form is the simplest:

Цена изделия ["PRICE"] / 12 месяцев = Ежемесячный платеж

Here is how to arrange all this in php or js so that Bitrix understands:
Надо взять у элемента значение свойства ["PRICE"] -> Разделить его на 12 -> Показать на сайте

Only needed for SEO. This is not even a full-fledged calculator, but a small script for understanding how much a client needs to pay approximately per month for a product.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2021-04-27
@Golovina90

Well, just write it straight.. a variable where the price is divided by 12 (echo $price / 12) .. look at the mathematical formulas in php.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question