You are here

facets.facet.product_categories.yml in Commerce Demo 8

config/install/facets.facet.product_categories.yml

File

config/install/facets.facet.product_categories.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - search_api.index.products
  6. - views.view.product_catalog
  7. module:
  8. - facets_pretty_paths
  9. - search_api
  10. third_party_settings:
  11. facets_pretty_paths:
  12. coder: taxonomy_term_coder
  13. id: product_categories
  14. name: Categories
  15. url_alias: category
  16. weight: 0
  17. min_count: 1
  18. show_only_one_result: false
  19. field_identifier: field_product_categories
  20. facet_source_id: 'search_api:views_page__product_catalog__page_1'
  21. widget:
  22. type: checkbox
  23. config:
  24. show_numbers: false
  25. soft_limit: 0
  26. soft_limit_settings:
  27. show_less_label: 'Show less'
  28. show_more_label: 'Show more'
  29. query_operator: or
  30. use_hierarchy: true
  31. expand_hierarchy: false
  32. enable_parent_when_child_gets_disabled: true
  33. hard_limit: 0
  34. exclude: false
  35. only_visible_when_facet_source_is_visible: true
  36. processor_configs:
  37. term_weight_widget_order:
  38. processor_id: term_weight_widget_order
  39. weights:
  40. sort: -10
  41. settings:
  42. sort: ASC
  43. translate_entity:
  44. processor_id: translate_entity
  45. weights:
  46. build: 5
  47. settings: { }
  48. url_processor_handler:
  49. processor_id: url_processor_handler
  50. weights:
  51. pre_query: -10
  52. build: -10
  53. settings: { }
  54. empty_behavior:
  55. behavior: none