Добавить несколько кодов с количеством
Вставьте коды в виде списка с разделителем ";" в формате B6167032089;1 B6167032124;16
Добавить список кодов
Для поиска товаров из файла, перетащите файл с товарами в формате .XLSX или .CSV в строку поиска или загрузите его
Пример файла
Начиная с первой строки, в столбце А — артикул, в столбце В — количество
[Elasticsearch\Common\Exceptions\BadRequest400Exception] {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [bp_prop_133] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"catalog_product23072024044003","node":"xwABJOswQs2Qu1I0F2Ki4A","reason":{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [bp_prop_133] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."}}],"caused_by":{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [bp_prop_133] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead.","caused_by":{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [bp_prop_133] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."}}},"status":400} (400) /home/bitrix/www/local/lib/elastic-php-api/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:615 #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:1284 #10: sk\elastic\Engine->rawSearch(array) /home/bitrix/www/local/php_interface/classes/elastic/Engine.class.php:1240 #11: sk\elastic\Engine->search(array) /home/bitrix/www/local/php_interface/classes/elastic/Engine.class.php:1230 #12: sk\elastic\Engine->searchFromBitrix(array) /home/bitrix/www/local/components/sk/catalog.smart.filter/class.php:151 #13: CBitrixCatalogSmartFilterCustomized->getElasticItemsProperty(integer, array, object) /home/bitrix/www/local/components/sk/catalog.smart.filter/class.php:271 #14: CBitrixCatalogSmartFilterCustomized->getElasticItems(integer) /home/bitrix/www/local/components/sk/catalog.smart.filter/class.php:15 #15: CBitrixCatalogSmartFilterCustomized->getResultItems() /home/bitrix/www/local/components/sk/catalog.smart.filter/component.php:46 #16: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:605 #17: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:103 #18: CBitrixComponent->executeComponent() /home/bitrix/www/bitrix/components/bitrix/catalog.smart.filter/class.php:138 #19: CBitrixCatalogSmartFilter->executeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:649 #20: CBitrixComponent->includeComponent(string, array, boolean) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #21: CAllMain->IncludeComponent(string, string, array, boolean) /home/bitrix/www/local/components/sk/catalog.element/templates/2020/component_epilog.php:58 #22: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:1459 #23: CBitrixComponent->includeComponentEpilog(array) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:696 #24: CBitrixComponent->includeComponentTemplate() /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4463 #25: Bitrix\Iblock\Component\Base->loadData() /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4442 #26: Bitrix\Iblock\Component\Base->initialLoadAction() /home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:271 #27: Bitrix\Iblock\Component\Element->initialLoadAction() #28: call_user_func(array) /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4627 #29: Bitrix\Iblock\Component\Base->doAction() /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4645 #30: Bitrix\Iblock\Component\Base->executeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:649 #31: CBitrixComponent->includeComponent(string, array, object) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #32: CAllMain->IncludeComponent(string, string, array, object) /home/bitrix/www/local/components/sk/catalog/templates/new-style/element.php:160 #33: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789 #34: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884 #35: CBitrixComponentTemplate->IncludeTemplate(array) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:746 #36: CBitrixComponent->showComponentTemplate() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:694 #37: CBitrixComponent->includeComponentTemplate(string) /home/bitrix/www/local/components/sk/catalog/component.php:173 #38: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:605 #39: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:664 #40: CBitrixComponent->includeComponent(string, array, NULL) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #41: CAllMain->IncludeComponent(string, string, array) /home/bitrix/www/product/index.php:8 #42: include_once(string) /home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159 #43: include_once(string) /home/bitrix/www/bitrix/urlrewrite.php:2