A
A
abushmanov2017-08-14 00:37:59
1C-Bitrix
abushmanov, 2017-08-14 00:37:59

How to sort goods by collections in 1C Bitrix (by substring from the article)?

Hello!
Can you please tell me how to sort products by collections (groups of products)?
For example, we have a ring with the article KL-03/32154
and earrings with the article SG-03/32154 in our basket (they are linked to each other in the product properties on the website)
. didn't work for me:
$arFilter = array(
"CATALOG_BUNDLE" => "DESC"
);
Maybe try sorting by the last 8 characters of the article?
What would $arFilter look like in this case?
ec801601b78144af9c0feb2053721a64.PNG852eb61d56f44de4bb699ca2f35f0529.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2017-08-14
@rpsv

CATALOG_BUNDLE - what is it anyway?
Sort (not filter) by properties as far as I remember like this:

$arOrder = [ "PROPERTY_[id или code свойства]" => "ASC", ];

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question