refactored front pricing to use graphql, refactored to add 2 products (web & web+showroom) each one with 2 variations (monthly, annual)

This commit is contained in:
2021-01-04 22:11:11 +01:00
parent 830f5a5909
commit 7f027f322c
15 changed files with 967 additions and 59 deletions

View File

@@ -1,9 +1,10 @@
uuid: 85b6fa75-c392-415a-9e3f-58322aeba35f
langcode: en
status: true
status: false
dependencies:
config:
- commerce_product.commerce_product_variation_type.materio_product_variation_type
- core.entity_view_mode.commerce_product_variation.add_to_cart
- field.storage.commerce_product_variation.field_description
- field.storage.commerce_product_variation.field_multiple
- system.menu.header
@@ -464,6 +465,57 @@ display:
separator: ', '
field_api_classes: false
plugin_id: field
rendered_entity:
id: rendered_entity
table: commerce_product_variation
field: rendered_entity
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: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
view_mode: add_to_cart
entity_type: commerce_product_variation
plugin_id: rendered_entity
filters:
status:
value: '1'
@@ -505,6 +557,11 @@ display:
- 'languages:language_interface'
- url.query_args
tags:
- 'config:core.entity_view_display.commerce_product_variation.default.cart'
- 'config:core.entity_view_display.commerce_product_variation.default.summary'
- 'config:core.entity_view_display.commerce_product_variation.materio_product_variation_type.add_to_cart'
- 'config:core.entity_view_display.commerce_product_variation.materio_product_variation_type.default'
- 'config:core.entity_view_display.commerce_product_variation.materio_product_variation_type.summary'
- 'config:field.storage.commerce_product_variation.field_description'
- 'config:field.storage.commerce_product_variation.field_multiple'
page_1:
@@ -584,6 +641,7 @@ display:
- 'config:core.entity_view_display.commerce_product_variation.default.summary'
- 'config:core.entity_view_display.commerce_product_variation.materio_product_variation_type.add_to_cart'
- 'config:core.entity_view_display.commerce_product_variation.materio_product_variation_type.default'
- 'config:core.entity_view_display.commerce_product_variation.materio_product_variation_type.summary'
rest_export_1:
display_plugin: rest_export
id: rest_export_1
@@ -633,5 +691,10 @@ display:
- 'languages:language_interface'
- request_format
tags:
- 'config:core.entity_view_display.commerce_product_variation.default.cart'
- 'config:core.entity_view_display.commerce_product_variation.default.summary'
- 'config:core.entity_view_display.commerce_product_variation.materio_product_variation_type.add_to_cart'
- 'config:core.entity_view_display.commerce_product_variation.materio_product_variation_type.default'
- 'config:core.entity_view_display.commerce_product_variation.materio_product_variation_type.summary'
- 'config:field.storage.commerce_product_variation.field_description'
- 'config:field.storage.commerce_product_variation.field_multiple'