views.view.commerce_order_item_table.yml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. uuid: 0bb54f84-2047-419b-bd1b-30de99864636
  2. langcode: en
  3. status: true
  4. dependencies:
  5. module:
  6. - commerce_order
  7. - commerce_price
  8. _core:
  9. default_config_hash: UE_BIm69Zww4UFa4pD5Qiu7XY-rGJGrGYDJHUSZKupw
  10. id: commerce_order_item_table
  11. label: 'Order items'
  12. module: views
  13. description: 'Display a set of order items in a table.'
  14. tag: ''
  15. base_table: commerce_order_item
  16. base_field: order_item_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. title: title
  65. unit_price__number: unit_price__number
  66. quantity: quantity
  67. total_price__number: total_price__number
  68. info:
  69. title:
  70. sortable: false
  71. default_sort_order: asc
  72. align: ''
  73. separator: ''
  74. empty_column: false
  75. responsive: ''
  76. unit_price__number:
  77. sortable: false
  78. default_sort_order: asc
  79. align: ''
  80. separator: ''
  81. empty_column: false
  82. responsive: ''
  83. quantity:
  84. sortable: false
  85. default_sort_order: asc
  86. align: ''
  87. separator: ''
  88. empty_column: false
  89. responsive: ''
  90. total_price__number:
  91. sortable: false
  92. default_sort_order: asc
  93. align: ''
  94. separator: ''
  95. empty_column: false
  96. responsive: ''
  97. default: '-1'
  98. empty_table: true
  99. row:
  100. type: fields
  101. options:
  102. inline: { }
  103. separator: ''
  104. hide_empty: false
  105. default_field_elements: true
  106. fields:
  107. title:
  108. id: title
  109. table: commerce_order_item
  110. field: title
  111. relationship: none
  112. group_type: group
  113. admin_label: ''
  114. label: Title
  115. exclude: false
  116. alter:
  117. alter_text: false
  118. text: ''
  119. make_link: false
  120. path: ''
  121. absolute: false
  122. external: false
  123. replace_spaces: false
  124. path_case: none
  125. trim_whitespace: false
  126. alt: ''
  127. rel: ''
  128. link_class: ''
  129. prefix: ''
  130. suffix: ''
  131. target: ''
  132. nl2br: false
  133. max_length: 0
  134. word_boundary: true
  135. ellipsis: true
  136. more_link: false
  137. more_link_text: ''
  138. more_link_path: ''
  139. strip_tags: false
  140. trim: false
  141. preserve_tags: ''
  142. html: false
  143. element_type: ''
  144. element_class: ''
  145. element_label_type: ''
  146. element_label_class: ''
  147. element_label_colon: true
  148. element_wrapper_type: ''
  149. element_wrapper_class: ''
  150. element_default_classes: true
  151. empty: ''
  152. hide_empty: false
  153. empty_zero: false
  154. hide_alter_empty: true
  155. click_sort_column: value
  156. type: string
  157. settings:
  158. link_to_entity: false
  159. group_column: value
  160. group_columns: { }
  161. group_rows: true
  162. delta_limit: 0
  163. delta_offset: 0
  164. delta_reversed: false
  165. delta_first_last: false
  166. multi_type: separator
  167. separator: ', '
  168. field_api_classes: false
  169. entity_type: null
  170. entity_field: title
  171. plugin_id: field
  172. unit_price__number:
  173. id: unit_price__number
  174. table: commerce_order_item
  175. field: unit_price__number
  176. relationship: none
  177. group_type: group
  178. admin_label: ''
  179. label: 'Unit price'
  180. exclude: false
  181. alter:
  182. alter_text: false
  183. text: ''
  184. make_link: false
  185. path: ''
  186. absolute: false
  187. external: false
  188. replace_spaces: false
  189. path_case: none
  190. trim_whitespace: false
  191. alt: ''
  192. rel: ''
  193. link_class: ''
  194. prefix: ''
  195. suffix: ''
  196. target: ''
  197. nl2br: false
  198. max_length: 0
  199. word_boundary: true
  200. ellipsis: true
  201. more_link: false
  202. more_link_text: ''
  203. more_link_path: ''
  204. strip_tags: false
  205. trim: false
  206. preserve_tags: ''
  207. html: false
  208. element_type: ''
  209. element_class: ''
  210. element_label_type: ''
  211. element_label_class: ''
  212. element_label_colon: true
  213. element_wrapper_type: ''
  214. element_wrapper_class: ''
  215. element_default_classes: true
  216. empty: ''
  217. hide_empty: false
  218. empty_zero: false
  219. hide_alter_empty: true
  220. click_sort_column: number
  221. type: commerce_price_default
  222. settings:
  223. strip_trailing_zeroes: false
  224. currency_display: symbol
  225. group_column: ''
  226. group_columns: { }
  227. group_rows: true
  228. delta_limit: 0
  229. delta_offset: 0
  230. delta_reversed: false
  231. delta_first_last: false
  232. multi_type: separator
  233. separator: ', '
  234. field_api_classes: false
  235. entity_type: commerce_order_item
  236. entity_field: unit_price
  237. plugin_id: field
  238. quantity:
  239. id: quantity
  240. table: commerce_order_item
  241. field: quantity
  242. relationship: none
  243. group_type: group
  244. admin_label: ''
  245. label: Quantity
  246. exclude: false
  247. alter:
  248. alter_text: false
  249. text: ''
  250. make_link: false
  251. path: ''
  252. absolute: false
  253. external: false
  254. replace_spaces: false
  255. path_case: none
  256. trim_whitespace: false
  257. alt: ''
  258. rel: ''
  259. link_class: ''
  260. prefix: ''
  261. suffix: ''
  262. target: ''
  263. nl2br: false
  264. max_length: 0
  265. word_boundary: true
  266. ellipsis: true
  267. more_link: false
  268. more_link_text: ''
  269. more_link_path: ''
  270. strip_tags: false
  271. trim: false
  272. preserve_tags: ''
  273. html: false
  274. element_type: ''
  275. element_class: ''
  276. element_label_type: ''
  277. element_label_class: ''
  278. element_label_colon: true
  279. element_wrapper_type: ''
  280. element_wrapper_class: ''
  281. element_default_classes: true
  282. empty: ''
  283. hide_empty: false
  284. empty_zero: false
  285. hide_alter_empty: true
  286. click_sort_column: value
  287. type: number_decimal
  288. settings:
  289. thousand_separator: ''
  290. prefix_suffix: true
  291. decimal_separator: .
  292. scale: 2
  293. group_column: value
  294. group_columns: { }
  295. group_rows: true
  296. delta_limit: 0
  297. delta_offset: 0
  298. delta_reversed: false
  299. delta_first_last: false
  300. multi_type: separator
  301. separator: ', '
  302. field_api_classes: false
  303. entity_type: commerce_order_item
  304. entity_field: quantity
  305. plugin_id: field
  306. total_price__number:
  307. id: total_price__number
  308. table: commerce_order_item
  309. field: total_price__number
  310. relationship: none
  311. group_type: group
  312. admin_label: ''
  313. label: 'Total price'
  314. exclude: false
  315. alter:
  316. alter_text: false
  317. text: ''
  318. make_link: false
  319. path: ''
  320. absolute: false
  321. external: false
  322. replace_spaces: false
  323. path_case: none
  324. trim_whitespace: false
  325. alt: ''
  326. rel: ''
  327. link_class: ''
  328. prefix: ''
  329. suffix: ''
  330. target: ''
  331. nl2br: false
  332. max_length: 0
  333. word_boundary: true
  334. ellipsis: true
  335. more_link: false
  336. more_link_text: ''
  337. more_link_path: ''
  338. strip_tags: false
  339. trim: false
  340. preserve_tags: ''
  341. html: false
  342. element_type: ''
  343. element_class: ''
  344. element_label_type: ''
  345. element_label_class: ''
  346. element_label_colon: true
  347. element_wrapper_type: ''
  348. element_wrapper_class: ''
  349. element_default_classes: true
  350. empty: ''
  351. hide_empty: false
  352. empty_zero: false
  353. hide_alter_empty: true
  354. click_sort_column: number
  355. type: commerce_price_default
  356. settings:
  357. strip_trailing_zeroes: false
  358. currency_display: symbol
  359. group_column: ''
  360. group_columns: { }
  361. group_rows: true
  362. delta_limit: 0
  363. delta_offset: 0
  364. delta_reversed: false
  365. delta_first_last: false
  366. multi_type: separator
  367. separator: ', '
  368. field_api_classes: false
  369. entity_type: commerce_order_item
  370. entity_field: total_price
  371. plugin_id: field
  372. filters: { }
  373. sorts: { }
  374. header: { }
  375. footer: { }
  376. empty:
  377. area_text_custom:
  378. id: area_text_custom
  379. table: views
  380. field: area_text_custom
  381. relationship: none
  382. group_type: group
  383. admin_label: ''
  384. empty: true
  385. tokenize: false
  386. content: 'There are no order items yet.'
  387. plugin_id: text_custom
  388. relationships: { }
  389. arguments:
  390. order_id:
  391. id: order_id
  392. table: commerce_order_item
  393. field: order_id
  394. relationship: none
  395. group_type: group
  396. admin_label: ''
  397. default_action: 'not found'
  398. exception:
  399. value: all
  400. title_enable: false
  401. title: All
  402. title_enable: false
  403. title: ''
  404. default_argument_type: fixed
  405. default_argument_options:
  406. argument: ''
  407. default_argument_skip_url: false
  408. summary_options:
  409. base_path: ''
  410. count: true
  411. items_per_page: 25
  412. override: false
  413. summary:
  414. sort_order: asc
  415. number_of_records: 0
  416. format: default_summary
  417. specify_validation: false
  418. validate:
  419. type: none
  420. fail: 'not found'
  421. validate_options: { }
  422. break_phrase: false
  423. not: false
  424. entity_type: commerce_order_item
  425. entity_field: order_id
  426. plugin_id: numeric
  427. display_extenders: { }
  428. cache_metadata:
  429. max-age: -1
  430. contexts:
  431. - 'languages:language_content'
  432. - 'languages:language_interface'
  433. - url
  434. tags: { }