504 lines
14 KiB
YAML
504 lines
14 KiB
YAML
|
uuid: 84b51eec-c7ea-45a3-9f5d-d336644121ba
|
|||
|
langcode: en
|
|||
|
status: true
|
|||
|
dependencies:
|
|||
|
module:
|
|||
|
- commerce_promotion
|
|||
|
- user
|
|||
|
id: commerce_promotion_coupons
|
|||
|
label: Coupons
|
|||
|
module: views
|
|||
|
description: ''
|
|||
|
tag: ''
|
|||
|
base_table: commerce_promotion_coupon
|
|||
|
base_field: id
|
|||
|
display:
|
|||
|
default:
|
|||
|
display_plugin: default
|
|||
|
id: default
|
|||
|
display_title: Master
|
|||
|
position: 0
|
|||
|
display_options:
|
|||
|
access:
|
|||
|
type: perm
|
|||
|
options:
|
|||
|
perm: 'administer commerce_promotion'
|
|||
|
cache:
|
|||
|
type: none
|
|||
|
options: { }
|
|||
|
query:
|
|||
|
type: views_query
|
|||
|
options:
|
|||
|
disable_sql_rewrite: false
|
|||
|
distinct: false
|
|||
|
replica: false
|
|||
|
query_comment: ''
|
|||
|
query_tags: { }
|
|||
|
exposed_form:
|
|||
|
type: basic
|
|||
|
options:
|
|||
|
submit_button: Filter
|
|||
|
reset_button: true
|
|||
|
reset_button_label: Reset
|
|||
|
exposed_sorts_label: 'Sort by'
|
|||
|
expose_sort_order: true
|
|||
|
sort_asc_label: Asc
|
|||
|
sort_desc_label: Desc
|
|||
|
pager:
|
|||
|
type: full
|
|||
|
options:
|
|||
|
items_per_page: 50
|
|||
|
offset: 0
|
|||
|
id: 0
|
|||
|
total_pages: null
|
|||
|
tags:
|
|||
|
previous: ‹‹
|
|||
|
next: ››
|
|||
|
first: '« First'
|
|||
|
last: 'Last »'
|
|||
|
expose:
|
|||
|
items_per_page: false
|
|||
|
items_per_page_label: 'Items per page'
|
|||
|
items_per_page_options: '5, 10, 25, 50'
|
|||
|
items_per_page_options_all: false
|
|||
|
items_per_page_options_all_label: '- All -'
|
|||
|
offset: false
|
|||
|
offset_label: Offset
|
|||
|
quantity: 9
|
|||
|
style:
|
|||
|
type: table
|
|||
|
options:
|
|||
|
grouping: { }
|
|||
|
row_class: ''
|
|||
|
default_row_class: true
|
|||
|
override: true
|
|||
|
sticky: false
|
|||
|
caption: ''
|
|||
|
summary: ''
|
|||
|
description: ''
|
|||
|
columns:
|
|||
|
code: code
|
|||
|
usage_limit: usage_limit
|
|||
|
usage_limit_customer: usage_limit_customer
|
|||
|
operations: operations
|
|||
|
info:
|
|||
|
code:
|
|||
|
sortable: false
|
|||
|
default_sort_order: asc
|
|||
|
align: ''
|
|||
|
separator: ''
|
|||
|
empty_column: false
|
|||
|
responsive: ''
|
|||
|
usage_limit:
|
|||
|
sortable: false
|
|||
|
default_sort_order: asc
|
|||
|
align: ''
|
|||
|
separator: ''
|
|||
|
empty_column: false
|
|||
|
responsive: ''
|
|||
|
usage_limit_customer:
|
|||
|
sortable: false
|
|||
|
default_sort_order: asc
|
|||
|
align: ''
|
|||
|
separator: ''
|
|||
|
empty_column: false
|
|||
|
responsive: ''
|
|||
|
operations:
|
|||
|
align: ''
|
|||
|
separator: ''
|
|||
|
empty_column: false
|
|||
|
responsive: ''
|
|||
|
default: '-1'
|
|||
|
empty_table: true
|
|||
|
row:
|
|||
|
type: 'entity:commerce_promotion_coupon'
|
|||
|
fields:
|
|||
|
code:
|
|||
|
id: code
|
|||
|
table: commerce_promotion_coupon
|
|||
|
field: code
|
|||
|
relationship: none
|
|||
|
group_type: group
|
|||
|
admin_label: ''
|
|||
|
label: Code
|
|||
|
exclude: false
|
|||
|
alter:
|
|||
|
alter_text: false
|
|||
|
text: ''
|
|||
|
make_link: false
|
|||
|
path: ''
|
|||
|
absolute: false
|
|||
|
external: false
|
|||
|
replace_spaces: false
|
|||
|
path_case: none
|
|||
|
trim_whitespace: true
|
|||
|
alt: ''
|
|||
|
rel: ''
|
|||
|
link_class: ''
|
|||
|
prefix: ''
|
|||
|
suffix: ''
|
|||
|
target: ''
|
|||
|
nl2br: false
|
|||
|
max_length: 0
|
|||
|
word_boundary: true
|
|||
|
ellipsis: true
|
|||
|
more_link: false
|
|||
|
more_link_text: ''
|
|||
|
more_link_path: ''
|
|||
|
strip_tags: false
|
|||
|
trim: false
|
|||
|
preserve_tags: ''
|
|||
|
html: false
|
|||
|
element_type: ''
|
|||
|
element_class: ''
|
|||
|
element_label_type: ''
|
|||
|
element_label_class: ''
|
|||
|
element_label_colon: true
|
|||
|
element_wrapper_type: ''
|
|||
|
element_wrapper_class: ''
|
|||
|
element_default_classes: true
|
|||
|
empty: ''
|
|||
|
hide_empty: false
|
|||
|
empty_zero: false
|
|||
|
hide_alter_empty: true
|
|||
|
click_sort_column: value
|
|||
|
type: string
|
|||
|
settings:
|
|||
|
link_to_entity: false
|
|||
|
group_column: value
|
|||
|
group_columns: { }
|
|||
|
group_rows: true
|
|||
|
delta_limit: 0
|
|||
|
delta_offset: 0
|
|||
|
delta_reversed: false
|
|||
|
delta_first_last: false
|
|||
|
multi_type: separator
|
|||
|
separator: ', '
|
|||
|
field_api_classes: false
|
|||
|
entity_type: null
|
|||
|
entity_field: code
|
|||
|
plugin_id: field
|
|||
|
usage_limit:
|
|||
|
id: usage_limit
|
|||
|
table: commerce_promotion_coupon
|
|||
|
field: usage_limit
|
|||
|
relationship: none
|
|||
|
group_type: group
|
|||
|
admin_label: ''
|
|||
|
label: Usage
|
|||
|
exclude: false
|
|||
|
alter:
|
|||
|
alter_text: false
|
|||
|
text: ''
|
|||
|
make_link: false
|
|||
|
path: ''
|
|||
|
absolute: false
|
|||
|
external: false
|
|||
|
replace_spaces: false
|
|||
|
path_case: none
|
|||
|
trim_whitespace: false
|
|||
|
alt: ''
|
|||
|
rel: ''
|
|||
|
link_class: ''
|
|||
|
prefix: ''
|
|||
|
suffix: ''
|
|||
|
target: ''
|
|||
|
nl2br: false
|
|||
|
max_length: 0
|
|||
|
word_boundary: true
|
|||
|
ellipsis: true
|
|||
|
more_link: false
|
|||
|
more_link_text: ''
|
|||
|
more_link_path: ''
|
|||
|
strip_tags: false
|
|||
|
trim: false
|
|||
|
preserve_tags: ''
|
|||
|
html: false
|
|||
|
element_type: ''
|
|||
|
element_class: ''
|
|||
|
element_label_type: ''
|
|||
|
element_label_class: ''
|
|||
|
element_label_colon: true
|
|||
|
element_wrapper_type: ''
|
|||
|
element_wrapper_class: ''
|
|||
|
element_default_classes: true
|
|||
|
empty: ''
|
|||
|
hide_empty: false
|
|||
|
empty_zero: false
|
|||
|
hide_alter_empty: true
|
|||
|
click_sort_column: value
|
|||
|
type: commerce_usage_limit
|
|||
|
settings: { }
|
|||
|
group_column: value
|
|||
|
group_columns: { }
|
|||
|
group_rows: true
|
|||
|
delta_limit: 0
|
|||
|
delta_offset: 0
|
|||
|
delta_reversed: false
|
|||
|
delta_first_last: false
|
|||
|
multi_type: separator
|
|||
|
separator: ', '
|
|||
|
field_api_classes: false
|
|||
|
entity_type: commerce_promotion_coupon
|
|||
|
entity_field: usage_limit
|
|||
|
plugin_id: field
|
|||
|
usage_limit_customer:
|
|||
|
id: usage_limit_customer
|
|||
|
table: commerce_promotion_coupon
|
|||
|
field: usage_limit_customer
|
|||
|
relationship: none
|
|||
|
group_type: group
|
|||
|
admin_label: ''
|
|||
|
label: 'Per-customer limit'
|
|||
|
exclude: false
|
|||
|
alter:
|
|||
|
alter_text: false
|
|||
|
text: ''
|
|||
|
make_link: false
|
|||
|
path: ''
|
|||
|
absolute: false
|
|||
|
external: false
|
|||
|
replace_spaces: false
|
|||
|
path_case: none
|
|||
|
trim_whitespace: false
|
|||
|
alt: ''
|
|||
|
rel: ''
|
|||
|
link_class: ''
|
|||
|
prefix: ''
|
|||
|
suffix: ''
|
|||
|
target: ''
|
|||
|
nl2br: false
|
|||
|
max_length: 0
|
|||
|
word_boundary: true
|
|||
|
ellipsis: true
|
|||
|
more_link: false
|
|||
|
more_link_text: ''
|
|||
|
more_link_path: ''
|
|||
|
strip_tags: false
|
|||
|
trim: false
|
|||
|
preserve_tags: ''
|
|||
|
html: false
|
|||
|
element_type: ''
|
|||
|
element_class: ''
|
|||
|
element_label_type: ''
|
|||
|
element_label_class: ''
|
|||
|
element_label_colon: true
|
|||
|
element_wrapper_type: ''
|
|||
|
element_wrapper_class: ''
|
|||
|
element_default_classes: true
|
|||
|
empty: ''
|
|||
|
hide_empty: false
|
|||
|
empty_zero: false
|
|||
|
hide_alter_empty: true
|
|||
|
click_sort_column: value
|
|||
|
type: commerce_usage_limit
|
|||
|
settings: { }
|
|||
|
group_column: value
|
|||
|
group_columns: { }
|
|||
|
group_rows: true
|
|||
|
delta_limit: 0
|
|||
|
delta_offset: 0
|
|||
|
delta_reversed: false
|
|||
|
delta_first_last: false
|
|||
|
multi_type: separator
|
|||
|
separator: ', '
|
|||
|
field_api_classes: false
|
|||
|
entity_type: commerce_promotion_coupon
|
|||
|
entity_field: usage_limit_customer
|
|||
|
plugin_id: field
|
|||
|
operations:
|
|||
|
id: operations
|
|||
|
table: commerce_promotion_coupon
|
|||
|
field: operations
|
|||
|
relationship: none
|
|||
|
group_type: group
|
|||
|
admin_label: ''
|
|||
|
label: Operations
|
|||
|
exclude: false
|
|||
|
alter:
|
|||
|
alter_text: false
|
|||
|
text: ''
|
|||
|
make_link: false
|
|||
|
path: ''
|
|||
|
absolute: false
|
|||
|
external: false
|
|||
|
replace_spaces: false
|
|||
|
path_case: none
|
|||
|
trim_whitespace: false
|
|||
|
alt: ''
|
|||
|
rel: ''
|
|||
|
link_class: ''
|
|||
|
prefix: ''
|
|||
|
suffix: ''
|
|||
|
target: ''
|
|||
|
nl2br: false
|
|||
|
max_length: 0
|
|||
|
word_boundary: true
|
|||
|
ellipsis: true
|
|||
|
more_link: false
|
|||
|
more_link_text: ''
|
|||
|
more_link_path: ''
|
|||
|
strip_tags: false
|
|||
|
trim: false
|
|||
|
preserve_tags: ''
|
|||
|
html: false
|
|||
|
element_type: ''
|
|||
|
element_class: ''
|
|||
|
element_label_type: ''
|
|||
|
element_label_class: ''
|
|||
|
element_label_colon: true
|
|||
|
element_wrapper_type: ''
|
|||
|
element_wrapper_class: ''
|
|||
|
element_default_classes: true
|
|||
|
empty: ''
|
|||
|
hide_empty: false
|
|||
|
empty_zero: false
|
|||
|
hide_alter_empty: true
|
|||
|
destination: false
|
|||
|
entity_type: commerce_promotion_coupon
|
|||
|
plugin_id: entity_operations
|
|||
|
filters:
|
|||
|
code:
|
|||
|
id: code
|
|||
|
table: commerce_promotion_coupon
|
|||
|
field: code
|
|||
|
relationship: none
|
|||
|
group_type: group
|
|||
|
admin_label: ''
|
|||
|
operator: contains
|
|||
|
value: ''
|
|||
|
group: 1
|
|||
|
exposed: true
|
|||
|
expose:
|
|||
|
operator_id: code_op
|
|||
|
label: Code
|
|||
|
description: ''
|
|||
|
use_operator: false
|
|||
|
operator: code_op
|
|||
|
operator_limit_selection: false
|
|||
|
operator_list: { }
|
|||
|
identifier: code
|
|||
|
required: false
|
|||
|
remember: false
|
|||
|
multiple: false
|
|||
|
remember_roles:
|
|||
|
authenticated: authenticated
|
|||
|
anonymous: '0'
|
|||
|
administrator: '0'
|
|||
|
contributor: '0'
|
|||
|
placeholder: ''
|
|||
|
is_grouped: false
|
|||
|
group_info:
|
|||
|
label: ''
|
|||
|
description: ''
|
|||
|
identifier: ''
|
|||
|
optional: true
|
|||
|
widget: select
|
|||
|
multiple: false
|
|||
|
remember: false
|
|||
|
default_group: All
|
|||
|
default_group_multiple: { }
|
|||
|
group_items: { }
|
|||
|
entity_type: commerce_promotion_coupon
|
|||
|
entity_field: code
|
|||
|
plugin_id: string
|
|||
|
sorts:
|
|||
|
id:
|
|||
|
id: id
|
|||
|
table: commerce_promotion_coupon
|
|||
|
field: id
|
|||
|
relationship: none
|
|||
|
group_type: group
|
|||
|
admin_label: ''
|
|||
|
order: DESC
|
|||
|
exposed: false
|
|||
|
expose:
|
|||
|
label: ''
|
|||
|
entity_type: commerce_promotion_coupon
|
|||
|
entity_field: id
|
|||
|
plugin_id: standard
|
|||
|
title: Coupons
|
|||
|
header: { }
|
|||
|
footer: { }
|
|||
|
empty:
|
|||
|
area:
|
|||
|
id: area
|
|||
|
table: views
|
|||
|
field: area
|
|||
|
relationship: none
|
|||
|
group_type: group
|
|||
|
admin_label: ''
|
|||
|
empty: true
|
|||
|
tokenize: false
|
|||
|
content:
|
|||
|
value: 'There are no coupons yet.'
|
|||
|
format: basic_html
|
|||
|
plugin_id: text
|
|||
|
relationships: { }
|
|||
|
arguments:
|
|||
|
promotion_id:
|
|||
|
id: promotion_id
|
|||
|
table: commerce_promotion_coupon
|
|||
|
field: promotion_id
|
|||
|
relationship: none
|
|||
|
group_type: group
|
|||
|
admin_label: ''
|
|||
|
default_action: default
|
|||
|
exception:
|
|||
|
value: all
|
|||
|
title_enable: false
|
|||
|
title: All
|
|||
|
title_enable: false
|
|||
|
title: ''
|
|||
|
default_argument_type: raw
|
|||
|
default_argument_options:
|
|||
|
index: 1
|
|||
|
use_alias: false
|
|||
|
default_argument_skip_url: false
|
|||
|
summary_options:
|
|||
|
base_path: ''
|
|||
|
count: true
|
|||
|
items_per_page: 25
|
|||
|
override: false
|
|||
|
summary:
|
|||
|
sort_order: asc
|
|||
|
number_of_records: 0
|
|||
|
format: default_summary
|
|||
|
specify_validation: false
|
|||
|
validate:
|
|||
|
type: none
|
|||
|
fail: 'not found'
|
|||
|
validate_options: { }
|
|||
|
break_phrase: false
|
|||
|
not: false
|
|||
|
entity_type: commerce_promotion_coupon
|
|||
|
entity_field: promotion_id
|
|||
|
plugin_id: numeric
|
|||
|
display_extenders: { }
|
|||
|
cache_metadata:
|
|||
|
max-age: -1
|
|||
|
contexts:
|
|||
|
- 'languages:language_content'
|
|||
|
- 'languages:language_interface'
|
|||
|
- url
|
|||
|
- url.query_args
|
|||
|
- user.permissions
|
|||
|
tags: { }
|
|||
|
page_1:
|
|||
|
display_plugin: page
|
|||
|
id: page_1
|
|||
|
display_title: Page
|
|||
|
position: 1
|
|||
|
display_options:
|
|||
|
display_extenders: { }
|
|||
|
path: promotion/%/coupons
|
|||
|
cache_metadata:
|
|||
|
max-age: -1
|
|||
|
contexts:
|
|||
|
- 'languages:language_content'
|
|||
|
- 'languages:language_interface'
|
|||
|
- url
|
|||
|
- url.query_args
|
|||
|
- user.permissions
|
|||
|
tags: { }
|