Добавить несколько кодов с количеством
Вставьте коды в виде списка с разделителем ";" в формате 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/templates/new-style/catalog-side-panel.php:64 #22: include(string) /home/bitrix/www/local/components/sk/catalog/templates/new-style/section.php:85 #23: include(string) /home/bitrix/www/local/components/sk/catalog/templates/new-style/element_analog.php:40 #24: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789 #25: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884 #26: CBitrixComponentTemplate->IncludeTemplate(array) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:746 #27: CBitrixComponent->showComponentTemplate() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:694 #28: CBitrixComponent->includeComponentTemplate(string) /home/bitrix/www/local/components/sk/catalog/component.php:173 #29: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:605 #30: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:664 #31: CBitrixComponent->includeComponent(string, array, NULL) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039 #32: CAllMain->IncludeComponent(string, string, array) /home/bitrix/www/product/index.php:8 #33: include_once(string) /home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159 #34: include_once(string) /home/bitrix/www/bitrix/urlrewrite.php:2