K
K
Kirill S2019-04-10 14:35:34
1C-Bitrix
Kirill S, 2019-04-10 14:35:34

How to replace price zero with price on request?

How can
I change the price to "Price on request"?
Which template should be edited for this function to appear and where is it located?!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton, 2019-04-10
@anton99zel

1. There is no such function in nature.
2. You don't specify where you want to change (list, card....)
3. The path to the list template can be like this:

bitrix/templates/template/components/bitrix/catalog.section/title/template.php
in it you need to find something like this: PRICE and replace the code section with this variable
if (....[PRICE] > 0) {echo $....[PRICE];}else{echo 'price on request'; };
Similar for the card, but the variable can be different.

V
vladek21, 2020-08-06
@vladek21

Is it possible to do this using the free version of Bitrix?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question