S
S
Surzhenko2021-07-14 18:05:15
1C-Bitrix
Surzhenko, 2021-07-14 18:05:15

How is a certain code in the form of a regular string converted to another string?

The system has a module that displays the price of goods. It displays information from the Highload block, and receives it as a regular string from the element's prefix and XML_ID.
For example: "##SOTBIT_PRODUCT_XML_ID_35323527-B65B-4B7B-ABD7-CCCBE15E5A3A##".
How does this happen? I need to change the end string to look like "97.27 RUB", but all transformations are applied only to the original string.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question