You are here

views.view.uc_order_history.yml in Ubercart 8.4

uc_order/config/install/views.view.uc_order_history.yml

File

uc_order/config/install/views.view.uc_order_history.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - uc_order
  6. - uc_store
  7. - user
  8. enforced:
  9. module:
  10. - uc_order
  11. id: uc_order_history
  12. label: 'Order history'
  13. module: uc_order
  14. description: 'Customer''s order history and management view.'
  15. tag: Ubercart
  16. base_table: uc_orders
  17. base_field: order_id
  18. core: 8.x
  19. display:
  20. default:
  21. display_plugin: default
  22. id: default
  23. display_title: Master
  24. position: null
  25. display_options:
  26. access:
  27. type: perm
  28. options:
  29. perm: 'view own orders'
  30. cache:
  31. type: none
  32. query:
  33. type: views_query
  34. exposed_form:
  35. type: basic
  36. pager:
  37. type: full
  38. options:
  39. items_per_page: 20
  40. style:
  41. type: table
  42. options:
  43. grouping: { }
  44. row_class: ''
  45. default_row_class: true
  46. override: true
  47. sticky: false
  48. caption: ''
  49. summary: ''
  50. description: ''
  51. columns:
  52. created: created
  53. order_id: order_id
  54. actions: order_id
  55. order_status: order_status
  56. product_count: product_count
  57. order_total: order_total
  58. info:
  59. created:
  60. sortable: true
  61. default_sort_order: desc
  62. align: ''
  63. separator: ''
  64. empty_column: false
  65. responsive: ''
  66. order_id:
  67. sortable: true
  68. default_sort_order: desc
  69. align: ''
  70. separator: ''
  71. empty_column: false
  72. responsive: ''
  73. actions:
  74. align: ''
  75. separator: ''
  76. empty_column: false
  77. responsive: ''
  78. order_status:
  79. sortable: true
  80. default_sort_order: asc
  81. align: ''
  82. separator: ''
  83. empty_column: false
  84. responsive: ''
  85. product_count:
  86. sortable: true
  87. default_sort_order: desc
  88. align: ''
  89. separator: ''
  90. empty_column: false
  91. responsive: priority-medium
  92. order_total:
  93. sortable: true
  94. default_sort_order: desc
  95. align: ''
  96. separator: ''
  97. empty_column: false
  98. responsive: ''
  99. default: created
  100. empty_table: true
  101. row:
  102. type: fields
  103. fields:
  104. created:
  105. id: created
  106. table: uc_orders
  107. field: created
  108. relationship: none
  109. group_type: group
  110. admin_label: ''
  111. label: Date
  112. exclude: false
  113. alter:
  114. alter_text: false
  115. text: ''
  116. make_link: false
  117. path: ''
  118. absolute: false
  119. external: false
  120. replace_spaces: false
  121. path_case: none
  122. trim_whitespace: false
  123. alt: ''
  124. rel: ''
  125. link_class: ''
  126. prefix: ''
  127. suffix: ''
  128. target: ''
  129. nl2br: false
  130. max_length: 0
  131. word_boundary: true
  132. ellipsis: true
  133. more_link: false
  134. more_link_text: ''
  135. more_link_path: ''
  136. strip_tags: false
  137. trim: false
  138. preserve_tags: ''
  139. html: false
  140. element_type: ''
  141. element_class: ''
  142. element_label_type: ''
  143. element_label_class: ''
  144. element_label_colon: true
  145. element_wrapper_type: ''
  146. element_wrapper_class: ''
  147. element_default_classes: true
  148. empty: ''
  149. hide_empty: false
  150. empty_zero: false
  151. hide_alter_empty: true
  152. click_sort_column: value
  153. type: timestamp
  154. settings:
  155. date_format: short
  156. custom_date_format: ''
  157. timezone: ''
  158. group_column: value
  159. group_columns: { }
  160. group_rows: true
  161. delta_limit: 0
  162. delta_offset: 0
  163. delta_reversed: false
  164. delta_first_last: false
  165. multi_type: separator
  166. separator: ', '
  167. field_api_classes: false
  168. entity_type: uc_order
  169. entity_field: created
  170. plugin_id: field
  171. order_id:
  172. id: order_id
  173. table: uc_orders
  174. field: order_id
  175. relationship: none
  176. group_type: group
  177. admin_label: ''
  178. label: 'Order #'
  179. exclude: false
  180. alter:
  181. alter_text: false
  182. text: ''
  183. make_link: false
  184. path: ''
  185. absolute: false
  186. external: false
  187. replace_spaces: false
  188. path_case: none
  189. trim_whitespace: false
  190. alt: ''
  191. rel: ''
  192. link_class: ''
  193. prefix: ''
  194. suffix: ''
  195. target: ''
  196. nl2br: false
  197. max_length: 0
  198. word_boundary: true
  199. ellipsis: true
  200. more_link: false
  201. more_link_text: ''
  202. more_link_path: ''
  203. strip_tags: false
  204. trim: false
  205. preserve_tags: ''
  206. html: false
  207. element_type: ''
  208. element_class: ''
  209. element_label_type: ''
  210. element_label_class: ''
  211. element_label_colon: false
  212. element_wrapper_type: ''
  213. element_wrapper_class: ''
  214. element_default_classes: true
  215. empty: ''
  216. hide_empty: false
  217. empty_zero: false
  218. hide_alter_empty: true
  219. click_sort_column: value
  220. type: number_integer
  221. settings:
  222. thousand_separator: ''
  223. prefix_suffix: true
  224. group_column: value
  225. group_columns: { }
  226. group_rows: true
  227. delta_limit: 0
  228. delta_offset: 0
  229. delta_reversed: false
  230. delta_first_last: false
  231. multi_type: separator
  232. separator: ', '
  233. field_api_classes: false
  234. entity_type: uc_order
  235. entity_field: order_id
  236. plugin_id: field
  237. actions:
  238. id: actions
  239. table: uc_orders
  240. field: actions
  241. relationship: none
  242. group_type: group
  243. admin_label: ''
  244. label: Actions
  245. exclude: false
  246. alter:
  247. alter_text: false
  248. text: ''
  249. make_link: false
  250. path: ''
  251. absolute: false
  252. external: false
  253. replace_spaces: false
  254. path_case: none
  255. trim_whitespace: false
  256. alt: ''
  257. rel: ''
  258. link_class: ''
  259. prefix: ''
  260. suffix: ''
  261. target: ''
  262. nl2br: false
  263. max_length: null
  264. word_boundary: true
  265. ellipsis: true
  266. more_link: false
  267. more_link_text: ''
  268. more_link_path: ''
  269. strip_tags: false
  270. trim: false
  271. preserve_tags: ''
  272. html: false
  273. element_type: ''
  274. element_class: ''
  275. element_label_type: ''
  276. element_label_class: ''
  277. element_label_colon: true
  278. element_wrapper_type: ''
  279. element_wrapper_class: ''
  280. element_default_classes: true
  281. empty: ''
  282. hide_empty: false
  283. empty_zero: false
  284. hide_alter_empty: true
  285. order_status:
  286. id: order_status
  287. table: uc_orders
  288. field: order_status
  289. relationship: none
  290. group_type: group
  291. admin_label: ''
  292. label: Status
  293. exclude: false
  294. alter:
  295. alter_text: false
  296. text: ''
  297. make_link: false
  298. path: ''
  299. absolute: false
  300. external: false
  301. replace_spaces: false
  302. path_case: none
  303. trim_whitespace: false
  304. alt: ''
  305. rel: ''
  306. link_class: ''
  307. prefix: ''
  308. suffix: ''
  309. target: ''
  310. nl2br: false
  311. max_length: 0
  312. word_boundary: true
  313. ellipsis: true
  314. more_link: false
  315. more_link_text: ''
  316. more_link_path: ''
  317. strip_tags: false
  318. trim: false
  319. preserve_tags: ''
  320. html: false
  321. element_type: ''
  322. element_class: ''
  323. element_label_type: ''
  324. element_label_class: ''
  325. element_label_colon: true
  326. element_wrapper_type: ''
  327. element_wrapper_class: ''
  328. element_default_classes: true
  329. empty: ''
  330. hide_empty: false
  331. empty_zero: false
  332. hide_alter_empty: true
  333. click_sort_column: target_id
  334. type: entity_reference_label
  335. settings:
  336. link: true
  337. group_column: target_id
  338. group_columns: { }
  339. group_rows: true
  340. delta_limit: 0
  341. delta_offset: 0
  342. delta_reversed: false
  343. delta_first_last: false
  344. multi_type: separator
  345. separator: ', '
  346. field_api_classes: false
  347. entity_type: uc_order
  348. entity_field: order_status
  349. plugin_id: field
  350. product_count:
  351. id: product_count
  352. table: uc_orders
  353. field: product_count
  354. relationship: none
  355. group_type: group
  356. admin_label: ''
  357. label: Products
  358. exclude: false
  359. alter:
  360. alter_text: false
  361. text: ''
  362. make_link: false
  363. path: ''
  364. absolute: false
  365. external: false
  366. replace_spaces: false
  367. path_case: none
  368. trim_whitespace: false
  369. alt: ''
  370. rel: ''
  371. link_class: ''
  372. prefix: ''
  373. suffix: ''
  374. target: ''
  375. nl2br: false
  376. max_length: 0
  377. word_boundary: true
  378. ellipsis: true
  379. more_link: false
  380. more_link_text: ''
  381. more_link_path: ''
  382. strip_tags: false
  383. trim: false
  384. preserve_tags: ''
  385. html: false
  386. element_type: ''
  387. element_class: ''
  388. element_label_type: ''
  389. element_label_class: ''
  390. element_label_colon: true
  391. element_wrapper_type: ''
  392. element_wrapper_class: ''
  393. element_default_classes: true
  394. empty: ''
  395. hide_empty: false
  396. empty_zero: false
  397. hide_alter_empty: true
  398. click_sort_column: value
  399. type: number_integer
  400. settings:
  401. thousand_separator: ''
  402. prefix_suffix: true
  403. group_column: value
  404. group_columns: { }
  405. group_rows: true
  406. delta_limit: 0
  407. delta_offset: 0
  408. delta_reversed: false
  409. delta_first_last: false
  410. multi_type: separator
  411. separator: ', '
  412. field_api_classes: false
  413. entity_type: uc_order
  414. entity_field: product_count
  415. plugin_id: field
  416. order_total:
  417. id: order_total
  418. table: uc_orders
  419. field: order_total
  420. relationship: none
  421. group_type: group
  422. admin_label: ''
  423. label: Total
  424. exclude: false
  425. alter:
  426. alter_text: false
  427. text: ''
  428. make_link: false
  429. path: ''
  430. absolute: false
  431. external: false
  432. replace_spaces: false
  433. path_case: none
  434. trim_whitespace: false
  435. alt: ''
  436. rel: ''
  437. link_class: ''
  438. prefix: ''
  439. suffix: ''
  440. target: ''
  441. nl2br: false
  442. max_length: 0
  443. word_boundary: true
  444. ellipsis: true
  445. more_link: false
  446. more_link_text: ''
  447. more_link_path: ''
  448. strip_tags: false
  449. trim: false
  450. preserve_tags: ''
  451. html: false
  452. element_type: ''
  453. element_class: ''
  454. element_label_type: ''
  455. element_label_class: ''
  456. element_label_colon: true
  457. element_wrapper_type: ''
  458. element_wrapper_class: ''
  459. element_default_classes: true
  460. empty: ''
  461. hide_empty: false
  462. empty_zero: false
  463. hide_alter_empty: true
  464. set_precision: false
  465. precision: 0
  466. decimal: .
  467. separator: ','
  468. format_plural: false
  469. format_plural_string: "1\x03@count"
  470. prefix: ''
  471. suffix: ''
  472. format: uc_price
  473. entity_type: uc_order
  474. entity_field: order_total
  475. plugin_id: uc_price
  476. filters:
  477. order_status:
  478. id: order_status
  479. table: uc_orders
  480. field: order_status
  481. relationship: none
  482. group_type: group
  483. admin_label: ''
  484. operator: in
  485. value:
  486. _active: _active
  487. group: 1
  488. exposed: false
  489. expose:
  490. operator_id: ''
  491. label: ''
  492. description: ''
  493. use_operator: false
  494. operator: ''
  495. identifier: ''
  496. required: false
  497. remember: false
  498. multiple: false
  499. remember_roles:
  500. authenticated: authenticated
  501. reduce: false
  502. is_grouped: false
  503. group_info:
  504. label: ''
  505. description: ''
  506. identifier: ''
  507. optional: true
  508. widget: select
  509. multiple: false
  510. remember: false
  511. default_group: All
  512. default_group_multiple: { }
  513. group_items: { }
  514. entity_type: uc_order
  515. entity_field: order_status
  516. plugin_id: uc_order_status
  517. sorts: { }
  518. title: 'My order history'
  519. arguments:
  520. uid:
  521. id: uid
  522. table: uc_orders
  523. field: uid
  524. relationship: none
  525. group_type: group
  526. admin_label: ''
  527. default_action: 'not found'
  528. exception:
  529. value: all
  530. title_enable: false
  531. title: All
  532. title_enable: false
  533. title: ''
  534. default_argument_type: fixed
  535. default_argument_options:
  536. argument: ''
  537. default_argument_skip_url: false
  538. summary_options:
  539. base_path: ''
  540. count: true
  541. items_per_page: 25
  542. override: false
  543. summary:
  544. sort_order: asc
  545. number_of_records: 0
  546. format: default_summary
  547. specify_validation: true
  548. validate:
  549. type: user_or_permission
  550. fail: 'not found'
  551. validate_options:
  552. perm: 'view all orders'
  553. break_phrase: false
  554. not: false
  555. entity_type: uc_order
  556. entity_field: uid
  557. plugin_id: numeric
  558. filter_groups:
  559. operator: AND
  560. groups: { }
  561. display_extenders: { }
  562. empty:
  563. area:
  564. id: area
  565. table: views
  566. field: area
  567. relationship: none
  568. group_type: group
  569. admin_label: ''
  570. empty: true
  571. tokenize: false
  572. content:
  573. value: 'You don''t have any orders yet.'
  574. format: basic_html
  575. plugin_id: text
  576. cache_metadata:
  577. contexts:
  578. - 'languages:language_content'
  579. - 'languages:language_interface'
  580. - url
  581. - url.query_args
  582. - user.permissions
  583. cacheable: false
  584. max-age: 0
  585. tags: { }
  586. page_1:
  587. display_plugin: page
  588. id: page_1
  589. display_title: Page
  590. position: 1
  591. display_options:
  592. display_extenders: { }
  593. path: user/%user/orders
  594. menu:
  595. type: tab
  596. title: Orders
  597. description: ''
  598. expanded: false
  599. parent: ''
  600. weight: 0
  601. context: '0'
  602. menu_name: main
  603. cache_metadata:
  604. max-age: 0
  605. contexts:
  606. - 'languages:language_content'
  607. - 'languages:language_interface'
  608. - url
  609. - url.query_args
  610. - user.permissions
  611. tags: { }