views.view.commerce_promotions.yml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888
  1. uuid: 2552d361-3973-4b0f-978b-4902c1f15939
  2. langcode: en
  3. status: true
  4. dependencies:
  5. module:
  6. - commerce
  7. - commerce_promotion
  8. - commerce_store
  9. - options
  10. - user
  11. id: commerce_promotions
  12. label: Promotions
  13. module: views
  14. description: ''
  15. tag: ''
  16. base_table: commerce_promotion_field_data
  17. base_field: promotion_id
  18. display:
  19. default:
  20. id: default
  21. display_title: Default
  22. display_plugin: default
  23. position: 0
  24. display_options:
  25. title: Promotions
  26. fields:
  27. name:
  28. id: name
  29. table: commerce_promotion_field_data
  30. field: name
  31. relationship: none
  32. group_type: group
  33. admin_label: ''
  34. entity_type: null
  35. entity_field: name
  36. plugin_id: field
  37. label: Name
  38. exclude: false
  39. alter:
  40. alter_text: false
  41. text: ''
  42. make_link: false
  43. path: ''
  44. absolute: false
  45. external: false
  46. replace_spaces: false
  47. path_case: none
  48. trim_whitespace: false
  49. alt: ''
  50. rel: ''
  51. link_class: ''
  52. prefix: ''
  53. suffix: ''
  54. target: ''
  55. nl2br: false
  56. max_length: 0
  57. word_boundary: true
  58. ellipsis: true
  59. more_link: false
  60. more_link_text: ''
  61. more_link_path: ''
  62. strip_tags: false
  63. trim: false
  64. preserve_tags: ''
  65. html: false
  66. element_type: ''
  67. element_class: ''
  68. element_label_type: ''
  69. element_label_class: ''
  70. element_label_colon: true
  71. element_wrapper_type: ''
  72. element_wrapper_class: ''
  73. element_default_classes: true
  74. empty: ''
  75. hide_empty: false
  76. empty_zero: false
  77. hide_alter_empty: true
  78. click_sort_column: value
  79. type: string
  80. settings: { }
  81. group_column: value
  82. group_columns:
  83. entity_id: entity_id
  84. group_rows: true
  85. delta_limit: 0
  86. delta_offset: 0
  87. delta_reversed: false
  88. delta_first_last: false
  89. multi_type: separator
  90. separator: ', '
  91. field_api_classes: false
  92. offer__target_plugin_id:
  93. id: offer__target_plugin_id
  94. table: commerce_promotion_field_data
  95. field: offer__target_plugin_id
  96. relationship: none
  97. group_type: group
  98. admin_label: ''
  99. entity_type: commerce_promotion
  100. entity_field: offer
  101. plugin_id: field
  102. label: 'Offer type'
  103. exclude: false
  104. alter:
  105. alter_text: false
  106. text: ''
  107. make_link: false
  108. path: ''
  109. absolute: false
  110. external: false
  111. replace_spaces: false
  112. path_case: none
  113. trim_whitespace: false
  114. alt: ''
  115. rel: ''
  116. link_class: ''
  117. prefix: ''
  118. suffix: ''
  119. target: ''
  120. nl2br: false
  121. max_length: 0
  122. word_boundary: true
  123. ellipsis: true
  124. more_link: false
  125. more_link_text: ''
  126. more_link_path: ''
  127. strip_tags: false
  128. trim: false
  129. preserve_tags: ''
  130. html: false
  131. element_type: ''
  132. element_class: ''
  133. element_label_type: ''
  134. element_label_class: ''
  135. element_label_colon: true
  136. element_wrapper_type: ''
  137. element_wrapper_class: ''
  138. element_default_classes: true
  139. empty: ''
  140. hide_empty: false
  141. empty_zero: false
  142. hide_alter_empty: true
  143. click_sort_column: target_plugin_id
  144. type: commerce_plugin_item_default
  145. settings: { }
  146. group_column: entity_id
  147. group_columns: { }
  148. group_rows: true
  149. delta_limit: 0
  150. delta_offset: 0
  151. delta_reversed: false
  152. delta_first_last: false
  153. multi_type: separator
  154. separator: ', '
  155. field_api_classes: false
  156. usage_limit:
  157. id: usage_limit
  158. table: commerce_promotion_field_data
  159. field: usage_limit
  160. relationship: none
  161. group_type: group
  162. admin_label: ''
  163. entity_type: commerce_promotion
  164. entity_field: usage_limit
  165. plugin_id: field
  166. label: Usage
  167. exclude: false
  168. alter:
  169. alter_text: false
  170. text: ''
  171. make_link: false
  172. path: ''
  173. absolute: false
  174. external: false
  175. replace_spaces: false
  176. path_case: none
  177. trim_whitespace: false
  178. alt: ''
  179. rel: ''
  180. link_class: ''
  181. prefix: ''
  182. suffix: ''
  183. target: ''
  184. nl2br: false
  185. max_length: 0
  186. word_boundary: true
  187. ellipsis: true
  188. more_link: false
  189. more_link_text: ''
  190. more_link_path: ''
  191. strip_tags: false
  192. trim: false
  193. preserve_tags: ''
  194. html: false
  195. element_type: ''
  196. element_class: ''
  197. element_label_type: ''
  198. element_label_class: ''
  199. element_label_colon: true
  200. element_wrapper_type: ''
  201. element_wrapper_class: ''
  202. element_default_classes: true
  203. empty: ''
  204. hide_empty: false
  205. empty_zero: false
  206. hide_alter_empty: true
  207. click_sort_column: value
  208. type: commerce_usage_limit
  209. settings: { }
  210. group_column: value
  211. group_columns: { }
  212. group_rows: true
  213. delta_limit: 0
  214. delta_offset: 0
  215. delta_reversed: false
  216. delta_first_last: false
  217. multi_type: separator
  218. separator: ', '
  219. field_api_classes: false
  220. usage_limit_customer:
  221. id: usage_limit_customer
  222. table: commerce_promotion_field_data
  223. field: usage_limit_customer
  224. relationship: none
  225. group_type: group
  226. admin_label: ''
  227. entity_type: commerce_promotion
  228. entity_field: usage_limit_customer
  229. plugin_id: field
  230. label: 'Per customer limit'
  231. exclude: false
  232. alter:
  233. alter_text: false
  234. text: ''
  235. make_link: false
  236. path: ''
  237. absolute: false
  238. external: false
  239. replace_spaces: false
  240. path_case: none
  241. trim_whitespace: false
  242. alt: ''
  243. rel: ''
  244. link_class: ''
  245. prefix: ''
  246. suffix: ''
  247. target: ''
  248. nl2br: false
  249. max_length: 0
  250. word_boundary: true
  251. ellipsis: true
  252. more_link: false
  253. more_link_text: ''
  254. more_link_path: ''
  255. strip_tags: false
  256. trim: false
  257. preserve_tags: ''
  258. html: false
  259. element_type: ''
  260. element_class: ''
  261. element_label_type: ''
  262. element_label_class: ''
  263. element_label_colon: true
  264. element_wrapper_type: ''
  265. element_wrapper_class: ''
  266. element_default_classes: true
  267. empty: ''
  268. hide_empty: false
  269. empty_zero: false
  270. hide_alter_empty: true
  271. click_sort_column: value
  272. type: commerce_usage_limit
  273. settings: { }
  274. group_column: value
  275. group_columns: { }
  276. group_rows: true
  277. delta_limit: 0
  278. delta_offset: 0
  279. delta_reversed: false
  280. delta_first_last: false
  281. multi_type: separator
  282. separator: ', '
  283. field_api_classes: false
  284. start_date:
  285. id: start_date
  286. table: commerce_promotion_field_data
  287. field: start_date
  288. relationship: none
  289. group_type: group
  290. admin_label: ''
  291. entity_type: commerce_promotion
  292. entity_field: start_date
  293. plugin_id: field
  294. label: 'Start date'
  295. exclude: false
  296. alter:
  297. alter_text: false
  298. text: ''
  299. make_link: false
  300. path: ''
  301. absolute: false
  302. external: false
  303. replace_spaces: false
  304. path_case: none
  305. trim_whitespace: false
  306. alt: ''
  307. rel: ''
  308. link_class: ''
  309. prefix: ''
  310. suffix: ''
  311. target: ''
  312. nl2br: false
  313. max_length: 0
  314. word_boundary: true
  315. ellipsis: true
  316. more_link: false
  317. more_link_text: ''
  318. more_link_path: ''
  319. strip_tags: false
  320. trim: false
  321. preserve_tags: ''
  322. html: false
  323. element_type: ''
  324. element_class: ''
  325. element_label_type: ''
  326. element_label_class: ''
  327. element_label_colon: true
  328. element_wrapper_type: ''
  329. element_wrapper_class: ''
  330. element_default_classes: true
  331. empty: ''
  332. hide_empty: false
  333. empty_zero: false
  334. hide_alter_empty: true
  335. click_sort_column: value
  336. type: commerce_store_datetime
  337. settings:
  338. date_format: medium
  339. group_column: value
  340. group_columns: { }
  341. group_rows: true
  342. delta_limit: 0
  343. delta_offset: 0
  344. delta_reversed: false
  345. delta_first_last: false
  346. multi_type: separator
  347. separator: ', '
  348. field_api_classes: false
  349. end_date:
  350. id: end_date
  351. table: commerce_promotion_field_data
  352. field: end_date
  353. relationship: none
  354. group_type: group
  355. admin_label: ''
  356. entity_type: commerce_promotion
  357. entity_field: end_date
  358. plugin_id: field
  359. label: 'End date'
  360. exclude: false
  361. alter:
  362. alter_text: false
  363. text: ''
  364. make_link: false
  365. path: ''
  366. absolute: false
  367. external: false
  368. replace_spaces: false
  369. path_case: none
  370. trim_whitespace: false
  371. alt: ''
  372. rel: ''
  373. link_class: ''
  374. prefix: ''
  375. suffix: ''
  376. target: ''
  377. nl2br: false
  378. max_length: 0
  379. word_boundary: true
  380. ellipsis: true
  381. more_link: false
  382. more_link_text: ''
  383. more_link_path: ''
  384. strip_tags: false
  385. trim: false
  386. preserve_tags: ''
  387. html: false
  388. element_type: ''
  389. element_class: ''
  390. element_label_type: ''
  391. element_label_class: ''
  392. element_label_colon: true
  393. element_wrapper_type: ''
  394. element_wrapper_class: ''
  395. element_default_classes: true
  396. empty: ''
  397. hide_empty: false
  398. empty_zero: false
  399. hide_alter_empty: true
  400. click_sort_column: value
  401. type: commerce_store_datetime
  402. settings:
  403. date_format: medium
  404. group_column: value
  405. group_columns: { }
  406. group_rows: true
  407. delta_limit: 0
  408. delta_offset: 0
  409. delta_reversed: false
  410. delta_first_last: false
  411. multi_type: separator
  412. separator: ', '
  413. field_api_classes: false
  414. operations:
  415. id: operations
  416. table: commerce_promotion
  417. field: operations
  418. relationship: none
  419. group_type: group
  420. admin_label: ''
  421. entity_type: commerce_promotion
  422. plugin_id: entity_operations
  423. label: Operations
  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. destination: false
  465. pager:
  466. type: full
  467. options:
  468. offset: 0
  469. items_per_page: 50
  470. total_pages: null
  471. id: 0
  472. tags:
  473. next: ››
  474. previous: ‹‹
  475. first: '« First'
  476. last: 'Last »'
  477. expose:
  478. items_per_page: false
  479. items_per_page_label: 'Items per page'
  480. items_per_page_options: '5, 10, 25, 50'
  481. items_per_page_options_all: false
  482. items_per_page_options_all_label: '- All -'
  483. offset: false
  484. offset_label: Offset
  485. quantity: 9
  486. exposed_form:
  487. type: basic
  488. options:
  489. submit_button: Apply
  490. reset_button: true
  491. reset_button_label: Reset
  492. exposed_sorts_label: 'Sort by'
  493. expose_sort_order: true
  494. sort_asc_label: Asc
  495. sort_desc_label: Desc
  496. access:
  497. type: perm
  498. options:
  499. perm: 'access commerce_promotion overview'
  500. cache:
  501. type: none
  502. options: { }
  503. empty:
  504. area:
  505. id: area
  506. table: views
  507. field: area
  508. relationship: none
  509. group_type: group
  510. admin_label: ''
  511. plugin_id: text
  512. empty: true
  513. content:
  514. value: 'There are no promotions yet.'
  515. format: basic_html
  516. tokenize: false
  517. sorts:
  518. status:
  519. id: status
  520. table: commerce_promotion_field_data
  521. field: status
  522. relationship: none
  523. group_type: group
  524. admin_label: ''
  525. entity_type: commerce_promotion
  526. entity_field: status
  527. plugin_id: standard
  528. order: DESC
  529. expose:
  530. label: ''
  531. field_identifier: status
  532. exposed: false
  533. weight:
  534. id: weight
  535. table: commerce_promotion_field_data
  536. field: weight
  537. relationship: none
  538. group_type: group
  539. admin_label: ''
  540. entity_type: commerce_promotion
  541. entity_field: weight
  542. plugin_id: standard
  543. order: ASC
  544. expose:
  545. label: ''
  546. field_identifier: weight
  547. exposed: false
  548. promotion_id:
  549. id: promotion_id
  550. table: commerce_promotion_field_data
  551. field: promotion_id
  552. relationship: none
  553. group_type: group
  554. admin_label: ''
  555. entity_type: commerce_promotion
  556. entity_field: promotion_id
  557. plugin_id: standard
  558. order: DESC
  559. expose:
  560. label: ''
  561. field_identifier: promotion_id
  562. exposed: false
  563. arguments: { }
  564. filters:
  565. name:
  566. id: name
  567. table: commerce_promotion_field_data
  568. field: name
  569. relationship: none
  570. group_type: group
  571. admin_label: ''
  572. entity_type: commerce_promotion
  573. entity_field: name
  574. plugin_id: string
  575. operator: starts
  576. value: ''
  577. group: 1
  578. exposed: true
  579. expose:
  580. operator_id: name_op
  581. label: Name
  582. description: ''
  583. use_operator: false
  584. operator: name_op
  585. operator_limit_selection: false
  586. operator_list: { }
  587. identifier: name
  588. required: false
  589. remember: false
  590. multiple: false
  591. remember_roles:
  592. authenticated: authenticated
  593. anonymous: '0'
  594. administrator: '0'
  595. store_admin: '0'
  596. api_consumer: '0'
  597. customer_service: '0'
  598. site_admin: '0'
  599. placeholder: ''
  600. is_grouped: false
  601. group_info:
  602. label: ''
  603. description: ''
  604. identifier: ''
  605. optional: true
  606. widget: select
  607. multiple: false
  608. remember: false
  609. default_group: All
  610. default_group_multiple: { }
  611. group_items: { }
  612. offer__target_plugin_id:
  613. id: offer__target_plugin_id
  614. table: commerce_promotion_field_data
  615. field: offer__target_plugin_id
  616. relationship: none
  617. group_type: group
  618. admin_label: ''
  619. entity_type: commerce_promotion
  620. entity_field: offer
  621. plugin_id: list_field
  622. operator: or
  623. value: { }
  624. group: 1
  625. exposed: true
  626. expose:
  627. operator_id: offer__target_plugin_id_op
  628. label: 'Offer type'
  629. description: ''
  630. use_operator: false
  631. operator: offer__target_plugin_id_op
  632. operator_limit_selection: false
  633. operator_list: { }
  634. identifier: offer__target_plugin_id
  635. required: false
  636. remember: false
  637. multiple: false
  638. remember_roles:
  639. authenticated: authenticated
  640. anonymous: '0'
  641. administrator: '0'
  642. reduce: false
  643. is_grouped: false
  644. group_info:
  645. label: ''
  646. description: ''
  647. identifier: ''
  648. optional: true
  649. widget: select
  650. multiple: false
  651. remember: false
  652. default_group: All
  653. default_group_multiple: { }
  654. group_items: { }
  655. reduce_duplicates: false
  656. code:
  657. id: code
  658. table: commerce_promotion_coupon
  659. field: code
  660. relationship: coupons_target_id
  661. group_type: group
  662. admin_label: ''
  663. entity_type: commerce_promotion_coupon
  664. entity_field: code
  665. plugin_id: string
  666. operator: '='
  667. value: ''
  668. group: 1
  669. exposed: true
  670. expose:
  671. operator_id: code_op
  672. label: 'Coupon code'
  673. description: ''
  674. use_operator: false
  675. operator: code_op
  676. operator_limit_selection: false
  677. operator_list: { }
  678. identifier: code
  679. required: false
  680. remember: false
  681. multiple: false
  682. remember_roles:
  683. authenticated: authenticated
  684. anonymous: '0'
  685. administrator: '0'
  686. store_admin: '0'
  687. api_consumer: '0'
  688. customer_service: '0'
  689. site_admin: '0'
  690. placeholder: ''
  691. is_grouped: false
  692. group_info:
  693. label: ''
  694. description: ''
  695. identifier: ''
  696. optional: true
  697. widget: select
  698. multiple: false
  699. remember: false
  700. default_group: All
  701. default_group_multiple: { }
  702. group_items: { }
  703. status:
  704. id: status
  705. table: commerce_promotion_field_data
  706. field: status
  707. relationship: none
  708. group_type: group
  709. admin_label: ''
  710. entity_type: commerce_promotion
  711. entity_field: status
  712. plugin_id: boolean
  713. operator: '='
  714. value: All
  715. group: 1
  716. exposed: true
  717. expose:
  718. operator_id: ''
  719. label: Status
  720. description: ''
  721. use_operator: false
  722. operator: status_op
  723. operator_limit_selection: false
  724. operator_list: { }
  725. identifier: status
  726. required: false
  727. remember: false
  728. multiple: false
  729. remember_roles:
  730. authenticated: authenticated
  731. anonymous: '0'
  732. administrator: '0'
  733. store_admin: '0'
  734. api_consumer: '0'
  735. customer_service: '0'
  736. site_admin: '0'
  737. is_grouped: false
  738. group_info:
  739. label: ''
  740. description: ''
  741. identifier: ''
  742. optional: true
  743. widget: select
  744. multiple: false
  745. remember: false
  746. default_group: All
  747. default_group_multiple: { }
  748. group_items: { }
  749. filter_groups:
  750. operator: AND
  751. groups:
  752. 1: AND
  753. style:
  754. type: table
  755. options:
  756. grouping: { }
  757. row_class: ''
  758. default_row_class: true
  759. columns:
  760. name: name
  761. offer__target_plugin_id: offer__target_plugin_id
  762. usage_limit: usage_limit
  763. usage_limit_customer: usage_limit_customer
  764. start_date: start_date
  765. end_date: end_date
  766. operations: operations
  767. default: '-1'
  768. info:
  769. name:
  770. sortable: true
  771. default_sort_order: asc
  772. align: ''
  773. separator: ''
  774. empty_column: false
  775. responsive: ''
  776. offer__target_plugin_id:
  777. sortable: true
  778. default_sort_order: asc
  779. align: ''
  780. separator: ''
  781. empty_column: false
  782. responsive: ''
  783. usage_limit:
  784. sortable: false
  785. default_sort_order: asc
  786. align: ''
  787. separator: ''
  788. empty_column: false
  789. responsive: ''
  790. usage_limit_customer:
  791. sortable: true
  792. default_sort_order: asc
  793. align: ''
  794. separator: ''
  795. empty_column: false
  796. responsive: ''
  797. start_date:
  798. sortable: false
  799. default_sort_order: asc
  800. align: ''
  801. separator: ''
  802. empty_column: false
  803. responsive: ''
  804. end_date:
  805. sortable: false
  806. default_sort_order: asc
  807. align: ''
  808. separator: ''
  809. empty_column: false
  810. responsive: ''
  811. operations:
  812. align: ''
  813. separator: ''
  814. empty_column: false
  815. responsive: ''
  816. override: true
  817. sticky: false
  818. summary: ''
  819. empty_table: true
  820. caption: ''
  821. description: ''
  822. row:
  823. type: fields
  824. query:
  825. type: views_query
  826. options:
  827. query_comment: ''
  828. disable_sql_rewrite: false
  829. distinct: false
  830. replica: false
  831. query_tags: { }
  832. relationships:
  833. coupons_target_id:
  834. id: coupons_target_id
  835. table: commerce_promotion__coupons
  836. field: coupons_target_id
  837. relationship: none
  838. group_type: group
  839. admin_label: Coupon
  840. entity_type: commerce_promotion
  841. entity_field: coupons
  842. plugin_id: standard
  843. required: false
  844. use_ajax: false
  845. group_by: true
  846. header: { }
  847. footer: { }
  848. display_extenders: { }
  849. cache_metadata:
  850. max-age: -1
  851. contexts:
  852. - 'languages:language_content'
  853. - 'languages:language_interface'
  854. - url
  855. - url.query_args
  856. - user.permissions
  857. tags: { }
  858. admin:
  859. id: admin
  860. display_title: Page
  861. display_plugin: page
  862. position: 1
  863. display_options:
  864. display_extenders: { }
  865. path: admin/commerce/promotions/list
  866. menu:
  867. type: 'default tab'
  868. title: List
  869. description: ''
  870. weight: 0
  871. expanded: false
  872. menu_name: main
  873. parent: ''
  874. context: '0'
  875. tab_options:
  876. type: normal
  877. title: List
  878. description: ''
  879. weight: 0
  880. cache_metadata:
  881. max-age: -1
  882. contexts:
  883. - 'languages:language_content'
  884. - 'languages:language_interface'
  885. - url
  886. - url.query_args
  887. - user.permissions
  888. tags: { }