Bitrix, how to share variables?
for example, the price of a product is stored in the $minPrice['PRINT_DISCOUNT_VALUE'] variable,
how can I divide it and display it on the page?
Answer the question
In order to leave comments, you need to log in
$a = $minPrice['PRINT_DISCOUNT_VALUE'];
$b = 2;
$printPrice = a / b;
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question