You are here

views.view.product_catalog.yml in Commerce Demo 8

config/install/views.view.product_catalog.yml

File

config/install/views.view.product_catalog.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - search_api.index.products
  6. module:
  7. - search_api
  8. id: product_catalog
  9. label: 'Product catalog'
  10. module: views
  11. description: ''
  12. tag: ''
  13. base_table: search_api_index_products
  14. base_field: search_api_id
  15. core: 8.x
  16. display:
  17. default:
  18. display_plugin: default
  19. id: default
  20. display_title: Master
  21. position: 0
  22. display_options:
  23. access:
  24. type: none
  25. options: { }
  26. cache:
  27. type: search_api_tag
  28. options: { }
  29. query:
  30. type: views_query
  31. options:
  32. bypass_access: false
  33. skip_access: false
  34. exposed_form:
  35. type: basic
  36. options:
  37. submit_button: Apply
  38. reset_button: false
  39. reset_button_label: Reset
  40. exposed_sorts_label: 'Sort by'
  41. expose_sort_order: true
  42. sort_asc_label: Asc
  43. sort_desc_label: Desc
  44. pager:
  45. type: mini
  46. options:
  47. items_per_page: 25
  48. offset: 0
  49. id: 0
  50. total_pages: null
  51. expose:
  52. items_per_page: false
  53. items_per_page_label: 'Items per page'
  54. items_per_page_options: '5, 10, 25, 50'
  55. items_per_page_options_all: false
  56. items_per_page_options_all_label: '- All -'
  57. offset: false
  58. offset_label: Offset
  59. tags:
  60. previous: ‹‹
  61. next: ››
  62. style:
  63. type: default
  64. options:
  65. row_class: 'col-lg-4 col-md-6'
  66. default_row_class: true
  67. uses_fields: false
  68. row:
  69. type: search_api
  70. options:
  71. view_modes:
  72. 'entity:commerce_product':
  73. clothing: catalog
  74. default: default
  75. simple: catalog
  76. fields:
  77. product_id:
  78. table: search_api_index_products
  79. field: product_id
  80. id: product_id
  81. entity_type: null
  82. entity_field: null
  83. plugin_id: search_api_field
  84. relationship: none
  85. group_type: group
  86. admin_label: ''
  87. label: ''
  88. exclude: false
  89. alter:
  90. alter_text: false
  91. text: ''
  92. make_link: false
  93. path: ''
  94. absolute: false
  95. external: false
  96. replace_spaces: false
  97. path_case: none
  98. trim_whitespace: false
  99. alt: ''
  100. rel: ''
  101. link_class: ''
  102. prefix: ''
  103. suffix: ''
  104. target: ''
  105. nl2br: false
  106. max_length: 0
  107. word_boundary: true
  108. ellipsis: true
  109. more_link: false
  110. more_link_text: ''
  111. more_link_path: ''
  112. strip_tags: false
  113. trim: false
  114. preserve_tags: ''
  115. html: false
  116. element_type: ''
  117. element_class: ''
  118. element_label_type: ''
  119. element_label_class: ''
  120. element_label_colon: true
  121. element_wrapper_type: ''
  122. element_wrapper_class: ''
  123. element_default_classes: true
  124. empty: ''
  125. hide_empty: false
  126. empty_zero: false
  127. hide_alter_empty: true
  128. click_sort_column: value
  129. type: number_integer
  130. settings: { }
  131. group_column: value
  132. group_columns: { }
  133. group_rows: true
  134. delta_limit: 0
  135. delta_offset: 0
  136. delta_reversed: false
  137. delta_first_last: false
  138. multi_type: separator
  139. separator: ', '
  140. field_api_classes: false
  141. field_rendering: true
  142. fallback_handler: search_api_numeric
  143. fallback_options:
  144. set_precision: false
  145. precision: 0
  146. decimal: .
  147. separator: ','
  148. format_plural: false
  149. format_plural_string: !!binary MQNAY291bnQ=
  150. prefix: ''
  151. suffix: ''
  152. link_to_item: false
  153. multi_type: separator
  154. multi_separator: ', '
  155. format_plural_values: { }
  156. filters:
  157. search_api_fulltext:
  158. id: search_api_fulltext
  159. table: search_api_index_products
  160. field: search_api_fulltext
  161. relationship: none
  162. group_type: group
  163. admin_label: ''
  164. operator: or
  165. value: ''
  166. group: 1
  167. exposed: true
  168. expose:
  169. operator_id: search_api_fulltext_op
  170. label: ''
  171. description: ''
  172. use_operator: false
  173. operator: search_api_fulltext_op
  174. identifier: search_api_fulltext
  175. required: false
  176. remember: false
  177. multiple: false
  178. remember_roles:
  179. authenticated: authenticated
  180. anonymous: '0'
  181. administrator: '0'
  182. is_grouped: false
  183. group_info:
  184. label: ''
  185. description: ''
  186. identifier: ''
  187. optional: true
  188. widget: select
  189. multiple: false
  190. remember: false
  191. default_group: All
  192. default_group_multiple: { }
  193. group_items: { }
  194. parse_mode: terms
  195. min_length: null
  196. fields: { }
  197. plugin_id: search_api_fulltext
  198. sorts:
  199. search_api_relevance:
  200. id: search_api_relevance
  201. table: search_api_index_products
  202. field: search_api_relevance
  203. relationship: none
  204. group_type: group
  205. admin_label: ''
  206. order: ASC
  207. exposed: false
  208. expose:
  209. label: ''
  210. plugin_id: search_api
  211. title_1:
  212. id: title_1
  213. table: search_api_index_products
  214. field: title_1
  215. relationship: none
  216. group_type: group
  217. admin_label: ''
  218. order: ASC
  219. exposed: true
  220. expose:
  221. label: Title
  222. plugin_id: search_api
  223. created:
  224. id: created
  225. table: search_api_index_products
  226. field: created
  227. relationship: none
  228. group_type: group
  229. admin_label: ''
  230. order: ASC
  231. exposed: true
  232. expose:
  233. label: 'Date added'
  234. plugin_id: search_api
  235. title: 'Products'
  236. header: { }
  237. footer: { }
  238. empty: { }
  239. relationships: { }
  240. arguments: { }
  241. display_extenders: { }
  242. cache_metadata:
  243. max-age: -1
  244. contexts:
  245. - 'languages:language_content'
  246. - 'languages:language_interface'
  247. - url
  248. - url.query_args
  249. - 'url.query_args:sort_by'
  250. - 'url.query_args:sort_order'
  251. tags: { }
  252. page_1:
  253. display_plugin: page
  254. id: page_1
  255. display_title: Page
  256. position: 1
  257. display_options:
  258. display_extenders: { }
  259. path: products
  260. cache_metadata:
  261. max-age: -1
  262. contexts:
  263. - 'languages:language_content'
  264. - 'languages:language_interface'
  265. - url
  266. - url.query_args
  267. - 'url.query_args:sort_by'
  268. - 'url.query_args:sort_order'
  269. tags: { }