D
D
Denis99992020-10-08 14:17:01
1C-Bitrix
Denis9999, 2020-10-08 14:17:01

How to find out the number of products on the site in Bitrix?

The number of all products, maybe it is displayed somewhere in the admin panel?

And yet, all the goods need to be obtained from the database, in my case they are stored in the b_iblock_element table.
5f7ef46217906138341211.jpeg

As I understand it, not only goods are stored in this table, since there is also an IBLOCK_ID field, in my case for those goods that I saw it is equal to 14. The question is, if I select from the b_iblock_element table all rows with the IBLOCK_ID = 14 field, will I get all the products that are on the site? Or there may still be products with a different IBLOCK_ID ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yaroslav Alexandrov, 2020-10-08
@Denis9999

First of all, you should always start with the documentation
https://dev.1c-bitrix.ru/api_help/iblock/classes/c...
You can look like this
5f7efd4196751583989011.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question