i created an extra field in elasticsearch via an CustomDataProvider. Now i want to have those new fields from elasticsearch in the Layered Navigation. I found old examples for magento 1.x, but no new examples.

Example document from elasticsearch (similar to categories):

  "store_id": "1",
  "sku": "100 16138",
  "manufacturer": 102344,
  "manufacturer_value": "Heinze",
  "status": 1,
  "status_value": "Enabled",
  "visibility": 4,
  "tax_class_id": 2,
  "tax_class_id_value": "Taxable Goods",
  "my_new_field_with_ids": [
  "my_new_field_name_2": "Name of field with id 2",
  "my_new_field_name_32339": "Name of field with id 32339"

Magento 2.4 ce

Can somebody point me in the right direction?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.