views.view.commerce_cart_block.yml 11 KB

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