views.view.commerce_cart_block.yml 11 KB

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