estore_base-2.2.3/config/optional/views.view.products.yml
config/optional/views.view.products.yml
uuid: 392d9a80-e807-4326-996e-b95ec95f5bc0
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.commerce_product.hot_product_teaser
- core.entity_view_mode.commerce_product.teaser
- core.entity_view_mode.commerce_product.teaser_micro
- core.entity_view_mode.commerce_product.teaser_mini
- system.menu.main
- taxonomy.vocabulary.product_category
module:
- commerce_product
- taxonomy
- views_bootstrap
id: products
label: Products
module: views
description: ''
tag: ''
base_table: commerce_product_field_data
base_field: product_id
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: none
options: { }
cache:
type: tag
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: 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
pager:
type: mini
options:
items_per_page: 16
offset: 0
id: 0
total_pages: null
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
tags:
previous: ‹‹
next: ››
style:
type: views_bootstrap_grid
options:
row_class: ''
default_row_class: true
uses_fields: false
alignment: horizontal
columns: '4'
col_xs: col-xs-12
col_sm: col-sm-6
col_md: col-md-4
col_lg: col-lg-3
row:
type: 'entity:commerce_product'
options:
relationship: none
view_mode: teaser
fields:
title:
table: commerce_product_field_data
field: title
id: title
entity_type: null
entity_field: title
plugin_id: field
relationship: none
group_type: group
admin_label: ''
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: 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: { }
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
filters: { }
sorts:
created:
id: created
table: commerce_product_field_data
field: created
relationship: none
group_type: group
admin_label: ''
order: DESC
exposed: false
expose:
label: ''
granularity: second
entity_type: commerce_product
entity_field: created
plugin_id: date
title: 'All Products'
header: { }
footer: { }
empty:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content:
value: 'No products.'
format: basic_html
plugin_id: text
relationships: { }
arguments: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
tags: { }
block_by_category:
display_plugin: block
id: block_by_category
display_title: 'By Category Block'
position: 5
display_options:
display_extenders: { }
display_description: ''
title: 'All Products'
defaults:
title: false
style: false
row: false
arguments: false
pager: false
relationships: false
style:
type: default
options:
row_class: ''
default_row_class: true
uses_fields: false
row:
type: 'entity:commerce_product'
options:
relationship: none
view_mode: teaser_mini
arguments:
tid:
id: tid
table: taxonomy_term_field_data
field: tid
relationship: field_category
group_type: group
admin_label: ''
default_action: empty
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
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: taxonomy_term
entity_field: tid
plugin_id: taxonomy
pager:
type: some
options:
items_per_page: 10
offset: 0
relationships:
field_category:
id: field_category
table: commerce_product__field_category
field: field_category
relationship: none
group_type: group
admin_label: 'field_category: Taxonomy term'
required: true
plugin_id: standard
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
tags: { }
block_featured:
display_plugin: block
id: block_featured
display_title: 'Features product block'
position: 4
display_options:
display_extenders: { }
display_description: ''
title: 'Place to show all featured products'
defaults:
title: false
style: false
row: false
pager: false
style:
type: default
options:
row_class: ''
default_row_class: true
uses_fields: false
row:
type: 'entity:commerce_product'
options:
relationship: none
view_mode: teaser
pager:
type: some
options:
items_per_page: 10
offset: 0
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
tags: { }
block_hand_picked_items:
display_plugin: block
id: block_hand_picked_items
display_title: 'Hand Picked Items block'
position: 4
display_options:
display_extenders: { }
display_description: ''
title: 'Place to show all featured products'
defaults:
title: false
style: false
row: false
pager: false
style:
type: default
options:
row_class: ''
default_row_class: true
uses_fields: false
row:
type: 'entity:commerce_product'
options:
relationship: none
view_mode: teaser
pager:
type: some
options:
items_per_page: 10
offset: 0
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
tags: { }
block_hot_product:
display_plugin: block
id: block_hot_product
display_title: 'Hot Product Block'
position: 6
display_options:
display_extenders: { }
title: 'Hot Product'
defaults:
title: false
pager: false
arguments: false
empty: false
style: false
row: false
display_description: ''
pager:
type: some
options:
items_per_page: 1
offset: 0
arguments:
product_id:
id: product_id
table: commerce_product_field_data
field: product_id
relationship: none
group_type: group
admin_label: ''
default_action: empty
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: fixed
default_argument_options:
argument: ''
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_product
entity_field: product_id
plugin_id: numeric
empty:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content:
value: 'Please, select product in the block or pane settings.'
format: basic_html
plugin_id: text
style:
type: default
options:
row_class: ''
default_row_class: true
uses_fields: false
row:
type: 'entity:commerce_product'
options:
relationship: none
view_mode: hot_product_teaser
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
tags: { }
block_products:
display_plugin: block
id: block_products
display_title: 'Products Block'
position: 2
display_options:
display_extenders: { }
display_description: ''
title: Products
defaults:
title: false
style: false
row: false
pager: false
style:
type: html_list
options:
row_class: ''
default_row_class: true
uses_fields: false
type: ul
wrapper_class: item-list
class: ''
row:
type: 'entity:commerce_product'
options:
relationship: none
view_mode: teaser_micro
pager:
type: some
options:
items_per_page: 5
offset: 0
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
tags: { }
page_category:
display_plugin: page
id: page_category
display_title: 'Product Category Page'
position: 3
display_options:
display_extenders: { }
path: taxonomy/term/%
display_description: ''
title: ''
defaults:
title: false
relationships: false
arguments: false
header: false
relationships:
field_category:
id: field_category
table: commerce_product__field_category
field: field_category
relationship: none
group_type: group
admin_label: field_category
required: true
plugin_id: standard
arguments:
tid:
id: tid
table: taxonomy_term_field_data
field: tid
relationship: field_category
group_type: group
admin_label: ''
default_action: empty
exception:
value: ''
title_enable: false
title: All
title_enable: true
title: '{{ arguments.tid }}'
default_argument_type: fixed
default_argument_options:
argument: ''
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: true
validate:
type: 'entity:taxonomy_term'
fail: 'not found'
validate_options:
bundles:
product_category: product_category
access: true
operation: view
multiple: 0
break_phrase: false
not: false
entity_type: taxonomy_term
entity_field: tid
plugin_id: taxonomy
header:
entity_taxonomy_term:
id: entity_taxonomy_term
table: views
field: entity_taxonomy_term
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: true
target: '{{ raw_arguments.tid }}'
view_mode: full
bypass_access: false
plugin_id: entity
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
tags: { }
page_list:
display_plugin: page
id: page_list
display_title: 'Page list'
position: 1
display_options:
display_extenders: { }
path: products
display_description: ''
menu:
type: normal
title: 'All Products'
description: ''
expanded: false
parent: ''
weight: 2
context: '0'
menu_name: main
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
tags: { }
