views.view.commerce_promotions.yml 24 KB

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