1b.app
Link copied -

How to use the variable in documents: Total price (productpricediscount)

Please tell me if I need to display the discounted price in the document.

There is this variable: Final price - (productpricediscount)

But I don't find this variable among those available for output to documents.

How can you solve the problem?
Original question is available on version: ua Вячеслав Легеза

Answers:

try {row:product_productprice}
07.02.2025, пятница, 05:15
Original comment available on version: ru

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you


Rodion wrote:

try {row:product_productprice}



Unfortunately no, I've already tried using it.

With such a variable, for some reason it throws out extra lines that shouldn't be there.

Although it seems that the discount is taken into account in this case.

That is, maybe there is something wrong with the template I am using.

But I tried different ways, nothing worked.
07.02.2025, пятница, 09:17
Вячеслав Легеза Original comment available on version: ua

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you


Legeza Vyacheslav

iCOLOR OneBox (FOP LEGEZA VIACHESLAV VALERIANOVYCH) wrote:

That is, maybe there is something wrong with the template I am using.



Clarified that the problem occurs when we use the variable {row:categorytree_categorychild_name}

since in the document we need to display products divided by categories

It looks like this:

- or there is an internal error,

- or I'm using the variables in the template incorrectly.

Therefore, the question is most likely to be directed to the developers, asking them to advise on how to solve the pressing problem.
07.02.2025, пятница, 09:37
Вячеслав Легеза Original comment available on version: ua

Try specifying the variable in the same way as the discount variable, for example. Because all row:categorytree_product_ are specified and only this variable row:product_
вчера, 13:51
Original comment available on version: ua

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you


Maria

OneBox production wrote:

Try specifying the variable in the same way as the discount variable, for example. Because all row:categorytree_product_ are specified and only this variable row:product_



Masha, unfortunately it doesn't work like that

I tried to use this variable:

There was a variable: {row:product_productprice}

It became: {row:categoryproduct_productprice}

The values ​​are not being pulled into the document because it appears that such a variable does not exist.
вчера, 14:40
Вячеслав Легеза Original comment available on version: ua

You misunderstood me. Look again at what variables you are using. The variable categorytree_product_productpriceoutdiscount does have a value, but you are specifying this variable incorrectly again. Try specifying it as I wrote above, using row:categorytree_product_
вчера, 15:39
Original comment available on version: ua

Легеза Вячеслав iCOLOR OneBox
ФОП Легеза В.В.
Personal license
Leave a message in this thread and the user's contacts will be shown to you


Maria

OneBox production wrote:

You misunderstood me. Look again at what variables you are using. The variable categorytree_product_productpriceoutdiscount does have a value, but you are specifying this variable incorrectly again. Try specifying it as I wrote above, using row:categorytree_product_



I think I understand.

I substituted this variable {row:categorytree_product_productprice}

and it looks like I finally got what I wanted :)

Thank you very much for your help.
вчера, 22:36
Вячеслав Легеза Original comment available on version: ua

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment