MTShop/config/sync/views.view.compare.yml

516 lines
14 KiB
YAML

uuid: 84c3e1b8-a2a4-408f-ad9f-6231ad4162ad
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.commerce_product.catalog
- facets.facet.brand
- field.storage.commerce_product.field_product_brand
- field.storage.commerce_product.field_short_description
- field.storage.commerce_product_variation.field_image
- flag.flag.compare
- image.style.480x480
- system.menu.account
module:
- commerce_price
- commerce_product
- entity_reference_facet_link
- flag
- image
- text
- user
id: compare
label: Compare
module: views
description: 'Product compare list'
tag: ''
base_table: commerce_product_field_data
base_field: product_id
display:
default:
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
title: Compare
fields:
field_image:
id: field_image
table: commerce_product_variation__field_image
field: field_image
relationship: variations
group_type: group
admin_label: ''
plugin_id: field
label: ''
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: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: image
settings:
image_link: content
image_style: 480x480
image_loading:
attribute: lazy
group_column: ''
group_columns: { }
group_rows: true
delta_limit: 1
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
title:
id: title
table: commerce_product_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: title
plugin_id: field
label: Name
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: string
settings:
link_to_entity: true
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
price__number:
id: price__number
table: commerce_product_variation_field_data
field: price__number
relationship: variations
group_type: group
admin_label: ''
entity_type: commerce_product_variation
entity_field: price
plugin_id: field
label: Price
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: number
type: commerce_price_default
settings:
strip_trailing_zeroes: false
display_currency_code: false
group_column: ''
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
field_product_brand:
id: field_product_brand
table: commerce_product__field_product_brand
field: field_product_brand
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Brand
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: target_id
type: entity_reference_facet_link
settings:
facet: brand
group_column: target_id
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
field_short_description:
id: field_short_description
table: commerce_product__field_short_description
field: field_short_description
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Description
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: text_default
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
pager:
type: some
options:
offset: 0
items_per_page: 3
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'flag compare'
cache:
type: tag
options: { }
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: true
content: 'No items added to be compared.'
tokenize: false
sorts: { }
arguments: { }
filters: { }
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: false
columns:
title: title
price__number: price__number
field_short_description: field_short_description
default: '-1'
info:
title:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
price__number:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_short_description:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
override: false
sticky: false
summary: ''
empty_table: false
caption: ''
description: ''
row:
type: 'entity:commerce_product'
options:
relationship: none
view_mode: catalog
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships:
flag_relationship:
id: flag_relationship
table: commerce_product_field_data
field: flag_relationship
relationship: none
group_type: group
admin_label: Flags
entity_type: commerce_product
plugin_id: flag_relationship
required: true
flag: compare
user_scope: current
variations:
id: variations
table: commerce_product__variations
field: variations_target_id
relationship: none
group_type: group
admin_label: 'variations: Product variation'
entity_type: commerce_product
entity_field: variations
plugin_id: standard
required: false
css_class: flipped-table
use_ajax: true
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- user.permissions
tags:
- 'config:field.storage.commerce_product.field_product_brand'
- 'config:field.storage.commerce_product.field_short_description'
- 'config:field.storage.commerce_product_variation.field_image'
compare_page:
id: compare_page
display_title: 'Compare Page'
display_plugin: page
position: 1
display_options:
display_description: ''
display_extenders: { }
path: compare
menu:
type: normal
title: Compare
description: ''
weight: -47
expanded: false
menu_name: account
parent: ''
context: '1'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- user.permissions
tags:
- 'config:field.storage.commerce_product.field_product_brand'
- 'config:field.storage.commerce_product.field_short_description'
- 'config:field.storage.commerce_product_variation.field_image'