L
L
Likeri2018-07-17 09:03:35
1C
Likeri, 2018-07-17 09:03:35

How to correctly set the parameter?

Hello. The module overwrites the original product description written by pens, namely:
//product description and full product description
If ValueFilled(AttributeShortDescription) Then
OneProduct.ShortDescriptionofProduct = DeleteSpecialCharacters(OneProduct.Product[AttributeShortDescription]);
Otherwise
OneItem.ShortDescription ofItem = DeleteSpecialCharacters(Abbr.LP(OneItem.Item.Description));
EndIf;
If ValueFilled(AttributeFullDescription) Then
OneProduct.FullDescriptionofProduct = DeleteSpecialCharacters(OneProduct.Product[AttributeFullDescription]);
Otherwise
OneItem.FullItemDescription = DeleteSpecialCharacters(Abbr.LP(OneItem.Item.Description));
EndIf;
How can I correct it so that these parameters are not affected?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Prilepsky, 2018-07-17
@Prilepsky

Understand the variables, you check some variables and refill based on others.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question