You are here

views.view.commerce_cart_block.yml in Commerce Core 8.2

modules/cart/config/install/views.view.commerce_cart_block.yml

File

modules/cart/config/install/views.view.commerce_cart_block.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. enforced:
  5. module:
  6. - commerce_cart
  7. module:
  8. - commerce_order
  9. - commerce_price
  10. id: commerce_cart_block
  11. label: 'Cart block'
  12. module: views
  13. description: ''
  14. tag: commerce_cart_block
  15. base_table: commerce_order
  16. base_field: order_id
  17. display:
  18. default:
  19. display_plugin: default
  20. id: default
  21. display_title: Master
  22. position: 0
  23. display_options:
  24. access:
  25. type: none
  26. options: { }
  27. cache:
  28. type: tag
  29. options: { }
  30. query:
  31. type: views_query
  32. options:
  33. disable_sql_rewrite: false
  34. distinct: false
  35. replica: false
  36. query_comment: ''
  37. query_tags: { }
  38. exposed_form:
  39. type: basic
  40. options:
  41. submit_button: Apply
  42. reset_button: false
  43. reset_button_label: Reset
  44. exposed_sorts_label: 'Sort by'
  45. expose_sort_order: true
  46. sort_asc_label: Asc
  47. sort_desc_label: Desc
  48. pager:
  49. type: none
  50. options:
  51. offset: 0
  52. style:
  53. type: table
  54. options:
  55. grouping: { }
  56. row_class: ''
  57. default_row_class: true
  58. override: true
  59. sticky: false
  60. caption: ''
  61. summary: ''
  62. description: ''
  63. columns:
  64. order_number: order_number
  65. info:
  66. order_number:
  67. sortable: false
  68. default_sort_order: asc
  69. align: ''
  70. separator: ''
  71. empty_column: false
  72. responsive: ''
  73. default: '-1'
  74. empty_table: false
  75. row:
  76. type: fields
  77. options:
  78. inline: { }
  79. separator: ''
  80. hide_empty: false
  81. default_field_elements: true
  82. fields:
  83. quantity:
  84. id: quantity
  85. table: commerce_order_item
  86. field: quantity
  87. relationship: order_items
  88. group_type: group
  89. admin_label: ''
  90. label: ''
  91. exclude: false
  92. alter:
  93. alter_text: true
  94. text: '{{ quantity }} x'
  95. make_link: false
  96. path: ''
  97. absolute: false
  98. external: false
  99. replace_spaces: false
  100. path_case: none
  101. trim_whitespace: false
  102. alt: ''
  103. rel: ''
  104. link_class: ''
  105. prefix: ''
  106. suffix: ''
  107. target: ''
  108. nl2br: false
  109. max_length: 0
  110. word_boundary: true
  111. ellipsis: true
  112. more_link: false
  113. more_link_text: ''
  114. more_link_path: ''
  115. strip_tags: false
  116. trim: false
  117. preserve_tags: ''
  118. html: false
  119. element_type: ''
  120. element_class: ''
  121. element_label_type: ''
  122. element_label_class: ''
  123. element_label_colon: false
  124. element_wrapper_type: ''
  125. element_wrapper_class: ''
  126. element_default_classes: true
  127. empty: ''
  128. hide_empty: false
  129. empty_zero: false
  130. hide_alter_empty: true
  131. click_sort_column: value
  132. type: number_decimal
  133. settings:
  134. thousand_separator: ''
  135. prefix_suffix: false
  136. decimal_separator: .
  137. scale: 0
  138. group_column: value
  139. group_columns: { }
  140. group_rows: true
  141. delta_limit: 0
  142. delta_offset: 0
  143. delta_reversed: false
  144. delta_first_last: false
  145. multi_type: separator
  146. separator: ', '
  147. field_api_classes: false
  148. entity_type: commerce_order_item
  149. entity_field: quantity
  150. plugin_id: field
  151. title:
  152. id: title
  153. table: commerce_order_item
  154. field: title
  155. relationship: order_items
  156. group_type: group
  157. admin_label: ''
  158. label: ''
  159. exclude: false
  160. alter:
  161. alter_text: false
  162. text: ''
  163. make_link: false
  164. path: ''
  165. absolute: false
  166. external: false
  167. replace_spaces: false
  168. path_case: none
  169. trim_whitespace: false
  170. alt: ''
  171. rel: ''
  172. link_class: ''
  173. prefix: ''
  174. suffix: ''
  175. target: ''
  176. nl2br: false
  177. max_length: 0
  178. word_boundary: true
  179. ellipsis: true
  180. more_link: false
  181. more_link_text: ''
  182. more_link_path: ''
  183. strip_tags: false
  184. trim: false
  185. preserve_tags: ''
  186. html: false
  187. element_type: ''
  188. element_class: ''
  189. element_label_type: ''
  190. element_label_class: ''
  191. element_label_colon: false
  192. element_wrapper_type: ''
  193. element_wrapper_class: ''
  194. element_default_classes: true
  195. empty: ''
  196. hide_empty: false
  197. empty_zero: false
  198. hide_alter_empty: true
  199. click_sort_column: value
  200. type: string
  201. settings:
  202. link_to_entity: false
  203. group_column: value
  204. group_columns: { }
  205. group_rows: true
  206. delta_limit: 0
  207. delta_offset: 0
  208. delta_reversed: false
  209. delta_first_last: false
  210. multi_type: separator
  211. separator: ', '
  212. field_api_classes: false
  213. entity_type: commerce_order_item
  214. entity_field: title
  215. plugin_id: field
  216. total_price__number:
  217. id: total_price__number
  218. table: commerce_order_item
  219. field: total_price__number
  220. relationship: order_items
  221. group_type: group
  222. admin_label: ''
  223. label: ''
  224. exclude: false
  225. alter:
  226. alter_text: false
  227. text: ''
  228. make_link: false
  229. path: ''
  230. absolute: false
  231. external: false
  232. replace_spaces: false
  233. path_case: none
  234. trim_whitespace: false
  235. alt: ''
  236. rel: ''
  237. link_class: ''
  238. prefix: ''
  239. suffix: ''
  240. target: ''
  241. nl2br: false
  242. max_length: 0
  243. word_boundary: true
  244. ellipsis: true
  245. more_link: false
  246. more_link_text: ''
  247. more_link_path: ''
  248. strip_tags: false
  249. trim: false
  250. preserve_tags: ''
  251. html: false
  252. element_type: ''
  253. element_class: ''
  254. element_label_type: ''
  255. element_label_class: ''
  256. element_label_colon: false
  257. element_wrapper_type: ''
  258. element_wrapper_class: ''
  259. element_default_classes: true
  260. empty: ''
  261. hide_empty: false
  262. empty_zero: false
  263. hide_alter_empty: true
  264. click_sort_column: number
  265. type: commerce_price_default
  266. settings:
  267. strip_trailing_zeroes: false
  268. currency_display: symbol
  269. group_column: ''
  270. group_columns: { }
  271. group_rows: true
  272. delta_limit: 0
  273. delta_offset: 0
  274. delta_reversed: false
  275. delta_first_last: false
  276. multi_type: separator
  277. separator: ', '
  278. field_api_classes: false
  279. entity_type: commerce_order_item
  280. entity_field: total_price
  281. plugin_id: field
  282. filters:
  283. cart:
  284. id: cart
  285. table: commerce_order
  286. field: cart
  287. relationship: none
  288. group_type: group
  289. admin_label: ''
  290. operator: '='
  291. value: '1'
  292. group: 1
  293. exposed: false
  294. expose:
  295. operator_id: ''
  296. operator_limit_selection: false
  297. label: ''
  298. description: ''
  299. use_operator: false
  300. operator: ''
  301. identifier: ''
  302. required: false
  303. remember: false
  304. multiple: false
  305. remember_roles:
  306. authenticated: authenticated
  307. is_grouped: false
  308. group_info:
  309. label: ''
  310. description: ''
  311. identifier: ''
  312. optional: true
  313. widget: select
  314. multiple: false
  315. remember: false
  316. default_group: All
  317. default_group_multiple: { }
  318. group_items: { }
  319. entity_type: commerce_order
  320. entity_field: cart
  321. plugin_id: boolean
  322. sorts:
  323. order_item_id:
  324. id: order_item_id
  325. table: commerce_order_item
  326. field: order_item_id
  327. relationship: order_items
  328. group_type: group
  329. admin_label: ''
  330. order: ASC
  331. exposed: false
  332. expose:
  333. label: ''
  334. entity_type: commerce_order_item
  335. entity_field: order_item_id
  336. plugin_id: standard
  337. header: { }
  338. footer: { }
  339. empty: { }
  340. relationships:
  341. order_items:
  342. id: order_items
  343. table: commerce_order__order_items
  344. field: order_items_target_id
  345. relationship: none
  346. group_type: group
  347. admin_label: 'order_items: Order Item'
  348. required: true
  349. entity_type: commerce_order
  350. entity_field: order_items
  351. plugin_id: standard
  352. arguments:
  353. order_id:
  354. id: order_id
  355. table: commerce_order
  356. field: order_id
  357. relationship: none
  358. group_type: group
  359. admin_label: ''
  360. default_action: default
  361. exception:
  362. value: all
  363. title_enable: false
  364. title: All
  365. title_enable: false
  366. title: ''
  367. default_argument_type: fixed
  368. default_argument_options:
  369. argument: ''
  370. default_argument_skip_url: false
  371. summary_options:
  372. base_path: ''
  373. count: true
  374. items_per_page: 25
  375. override: false
  376. summary:
  377. sort_order: asc
  378. number_of_records: 0
  379. format: default_summary
  380. specify_validation: false
  381. validate:
  382. type: none
  383. fail: 'not found'
  384. validate_options: { }
  385. break_phrase: false
  386. not: false
  387. entity_type: commerce_order
  388. entity_field: order_id
  389. plugin_id: numeric
  390. display_extenders: { }
  391. cache_metadata:
  392. max-age: -1
  393. contexts:
  394. - 'languages:language_content'
  395. - 'languages:language_interface'
  396. - url
  397. tags: { }