Answer the question
In order to leave comments, you need to log in
How to divide goods into groups?
Hello! What is the best way to divide products into groups? There is a property "Printed Circuit Boards" and its values "Large Boards", "Medium Boards", "Small Boards". By this property it is necessary to divide the list of goods into groups. Now I do this:
foreach ($arResult["ITEMS"] as $cell => $arElement) {
if ($arElement["PROPERTIES"]["BOARDS"]["VALUE_XML_ID"] == "big_boards")
continue;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question