I
I
I'm Yoda2019-10-24 07:16:22
1C-Bitrix
I'm Yoda, 2019-10-24 07:16:22

How to write a query to filter trade offers?

Hello comrades!
Help pliz write a request to filter the product 1 trade offers.
Let's say there are goods with ID - 1, 2, 3;
Product 1 has a TP with ID - 5, 7, 9, 12;
Product filter. How to add a subquery correctly so that for product 1, display TP only with ID - 7?
$arrFilter = ["ID" => 1];

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ainur Valiev, 2019-10-24
@vaajnur

CCatalogSKU::getOffersList([], 1, ['ID' => 7] );

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question