Добавить несколько кодов с количеством
Вставьте коды в виде списка с разделителем ";" в формате B6167032089;1 B6167032124;16
Добавить список кодов
Для поиска товаров из файла, перетащите файл с товарами в формате .XLSX или .CSV в строку поиска или загрузите его
Пример файла
Начиная с первой строки, в столбце А — артикул, в столбце В — количество
[Elasticsearch\Common\Exceptions\Missing404Exception] {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"catalog_product","index_uuid":"_na_","index":"catalog_product"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"catalog_product","index_uuid":"_na_","index":"catalog_product"},"status":404} (404) /home/bitrix/www/local/lib/elastic-php-api/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:607 #0: Elasticsearch\Connections\Connection->process4xxError(array, array, array) /home/bitrix/www/local/lib/elastic-php-api/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:279 #1: Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure}(array) /home/bitrix/www/local/lib/elastic-php-api/vendor/react/promise/src/FulfilledPromise.php:25 #2: React\Promise\FulfilledPromise->then(object, NULL, NULL) /home/bitrix/www/local/lib/elastic-php-api/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php:55 #3: GuzzleHttp\Ring\Future\CompletedFutureValue->then(object, NULL, NULL) /home/bitrix/www/local/lib/elastic-php-api/vendor/guzzlehttp/ringphp/src/Core.php:341 #4: GuzzleHttp\Ring\Core::proxy(object, object) /home/bitrix/www/local/lib/elastic-php-api/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:299 #5: Elasticsearch\Connections\Connection->Elasticsearch\Connections\{closure}(array, object, object, array) /home/bitrix/www/local/lib/elastic-php-api/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:177 #6: Elasticsearch\Connections\Connection->performRequest(string, string, array, string, array, object) /home/bitrix/www/local/lib/elastic-php-api/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php:110 #7: Elasticsearch\Transport->performRequest(string, string, array, array, array) /home/bitrix/www/local/lib/elastic-php-api/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php:1553 #8: Elasticsearch\Client->performRequest(object) /home/bitrix/www/local/lib/elastic-php-api/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php:952 #9: Elasticsearch\Client->search(array) /home/bitrix/www/local/php_interface/classes/elastic/Engine.class.php:1289 #10: sk\elastic\Engine->rawSearch(array) /home/bitrix/www/local/php_interface/classes/elastic/Engine.class.php:1245 #11: sk\elastic\Engine->search(array) /home/bitrix/www/local/php_interface/classes/elastic/Engine.class.php:1235 #12: sk\elastic\Engine->searchFromBitrix(array) /home/bitrix/www/local/components/sk/catalog.smart.filter/class.php:326 #13: CBitrixCatalogSmartFilterCustomized->aggElastic(array, array) /home/bitrix/www/local/components/sk/catalog.smart.filter/component.php:930 #14: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:605 #15: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:103 #16: CBitrixComponent->executeComponent() /home/bitrix/www/bitrix/components/bitrix/catalog.smart.filter/class.php:138 #17: CBitrixCatalogSmartFilter->executeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:649 #18: CBitrixComponent->includeComponent(string, array, boolean) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #19: CAllMain->IncludeComponent(string, string, array, boolean) /home/bitrix/www/local/components/sk/catalog.element/templates/2020/component_epilog.php:58 #20: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:1459 #21: CBitrixComponent->includeComponentEpilog(array) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:696 #22: CBitrixComponent->includeComponentTemplate() /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4463 #23: Bitrix\Iblock\Component\Base->loadData() /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4442 #24: Bitrix\Iblock\Component\Base->initialLoadAction() /home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:271 #25: Bitrix\Iblock\Component\Element->initialLoadAction() #26: call_user_func(array) /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4627 #27: Bitrix\Iblock\Component\Base->doAction() /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4645 #28: Bitrix\Iblock\Component\Base->executeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:649 #29: CBitrixComponent->includeComponent(string, array, object) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #30: CAllMain->IncludeComponent(string, string, array, object) /home/bitrix/www/local/components/sk/catalog/templates/new-style/element.php:160 #31: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789 #32: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884 #33: CBitrixComponentTemplate->IncludeTemplate(array) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:746 #34: CBitrixComponent->showComponentTemplate() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:694 #35: CBitrixComponent->includeComponentTemplate(string) /home/bitrix/www/local/components/sk/catalog/component.php:173 #36: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:605 #37: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:664 #38: CBitrixComponent->includeComponent(string, array, NULL) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #39: CAllMain->IncludeComponent(string, string, array) /home/bitrix/www/product/index.php:8 #40: include_once(string) /home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159 #41: include_once(string) /home/bitrix/www/bitrix/urlrewrite.php:2