imporved pricing page, better display for Login/register modal form

This commit is contained in:
2021-01-05 13:03:46 +01:00
parent 7f027f322c
commit ff03643ec7
17 changed files with 315 additions and 151 deletions

View File

@@ -5,6 +5,7 @@ dependencies:
config:
- commerce_product.commerce_product_type.materio_product_type
- field.field.commerce_product.materio_product_type.body
- field.field.commerce_product.materio_product_type.field_price_description
module:
- commerce
- path
@@ -30,6 +31,14 @@ content:
region: content
settings: { }
third_party_settings: { }
field_price_description:
weight: 91
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
langcode:
type: language_select
weight: 2

View File

@@ -7,7 +7,6 @@ dependencies:
- field.field.commerce_product_variation.materio_product_variation_type.billing_schedule
- field.field.commerce_product_variation.materio_product_variation_type.field_description
- field.field.commerce_product_variation.materio_product_variation_type.field_multiple
- field.field.commerce_product_variation.materio_product_variation_type.field_price_description
- field.field.commerce_product_variation.materio_product_variation_type.license_expiration
- field.field.commerce_product_variation.materio_product_variation_type.license_type
- field.field.commerce_product_variation.materio_product_variation_type.subscription_type
@@ -22,12 +21,12 @@ mode: default
content:
billing_schedule:
type: options_select
weight: 91
weight: 10
settings: { }
third_party_settings: { }
region: content
field_description:
weight: 92
weight: 11
settings:
rows: 5
placeholder: ''
@@ -35,54 +34,46 @@ content:
type: text_textarea
region: content
field_multiple:
weight: 93
weight: 5
settings:
display_label: true
third_party_settings: { }
type: boolean_checkbox
region: content
field_price_description:
weight: 94
settings:
rows: 5
placeholder: ''
third_party_settings: { }
type: text_textarea
region: content
langcode:
type: language_select
weight: 2
weight: 6
region: content
settings:
include_locked: true
third_party_settings: { }
license_expiration:
type: commerce_plugin_select
weight: 21
weight: 8
settings: { }
third_party_settings: { }
region: content
license_type:
type: commerce_plugin_select
weight: 20
weight: 7
settings: { }
third_party_settings: { }
region: content
list_price:
type: commerce_list_price
weight: -1
weight: 2
region: content
settings: { }
third_party_settings: { }
price:
type: commerce_price_default
weight: 0
weight: 3
region: content
settings: { }
third_party_settings: { }
sku:
type: string_textfield
weight: -4
weight: 1
region: content
settings:
size: 60
@@ -92,18 +83,18 @@ content:
type: boolean_checkbox
settings:
display_label: true
weight: 90
weight: 9
region: content
third_party_settings: { }
subscription_type:
type: commerce_plugin_select
weight: 0
weight: 4
settings: { }
third_party_settings: { }
region: content
title:
type: string_textfield
weight: -5
weight: 0
region: content
settings:
size: 60

View File

@@ -5,25 +5,48 @@ dependencies:
config:
- commerce_product.commerce_product_type.materio_product_type
- field.field.commerce_product.materio_product_type.body
- field.field.commerce_product.materio_product_type.field_price_description
module:
- text
id: commerce_product.materio_product_type.default
targetEntityType: commerce_product
bundle: materio_product_type
mode: default
content:
body:
type: text_default
weight: 1
region: content
label: above
settings: { }
third_party_settings: { }
field_price_description:
weight: 2
label: hidden
settings: { }
third_party_settings: { }
type: text_default
region: content
title:
type: string
weight: 0
region: content
label: above
settings:
link_to_entity: false
third_party_settings: { }
variations:
type: entity_reference_entity_view
weight: 0
weight: 3
region: content
label: hidden
settings:
view_mode: summary
view_mode: add_to_cart
link: false
third_party_settings: { }
hidden:
body: true
created: true
langcode: true
search_api_excerpt: true
stores: true
title: true
uid: true

View File

@@ -8,7 +8,6 @@ dependencies:
- field.field.commerce_product_variation.materio_product_variation_type.billing_schedule
- field.field.commerce_product_variation.materio_product_variation_type.field_description
- field.field.commerce_product_variation.materio_product_variation_type.field_multiple
- field.field.commerce_product_variation.materio_product_variation_type.field_price_description
- field.field.commerce_product_variation.materio_product_variation_type.license_expiration
- field.field.commerce_product_variation.materio_product_variation_type.license_type
- field.field.commerce_product_variation.materio_product_variation_type.subscription_type
@@ -31,7 +30,6 @@ hidden:
billing_schedule: true
field_description: true
field_multiple: true
field_price_description: true
langcode: true
license_expiration: true
license_type: true

View File

@@ -7,7 +7,6 @@ dependencies:
- field.field.commerce_product_variation.materio_product_variation_type.billing_schedule
- field.field.commerce_product_variation.materio_product_variation_type.field_description
- field.field.commerce_product_variation.materio_product_variation_type.field_multiple
- field.field.commerce_product_variation.materio_product_variation_type.field_price_description
- field.field.commerce_product_variation.materio_product_variation_type.license_expiration
- field.field.commerce_product_variation.materio_product_variation_type.license_type
- field.field.commerce_product_variation.materio_product_variation_type.subscription_type
@@ -45,13 +44,6 @@ content:
format_custom_true: ''
format_custom_false: ''
third_party_settings: { }
field_price_description:
weight: 5
label: above
settings: { }
third_party_settings: { }
type: text_default
region: content
price:
type: commerce_price_default
weight: 2

View File

@@ -8,7 +8,6 @@ dependencies:
- field.field.commerce_product_variation.materio_product_variation_type.billing_schedule
- field.field.commerce_product_variation.materio_product_variation_type.field_description
- field.field.commerce_product_variation.materio_product_variation_type.field_multiple
- field.field.commerce_product_variation.materio_product_variation_type.field_price_description
- field.field.commerce_product_variation.materio_product_variation_type.license_expiration
- field.field.commerce_product_variation.materio_product_variation_type.license_type
- field.field.commerce_product_variation.materio_product_variation_type.subscription_type
@@ -42,7 +41,6 @@ hidden:
billing_schedule: true
commerce_variation_cart_form: true
field_multiple: true
field_price_description: true
langcode: true
license_expiration: true
license_type: true

View File

@@ -0,0 +1,21 @@
uuid: b79d76a4-1c0d-4b11-bd38-58de9f9c00f4
langcode: en
status: true
dependencies:
config:
- commerce_product.commerce_product_type.materio_product_type
- field.storage.commerce_product.field_price_description
module:
- text
id: commerce_product.materio_product_type.field_price_description
field_name: field_price_description
entity_type: commerce_product
bundle: materio_product_type
label: 'Price description'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View File

@@ -1,21 +0,0 @@
uuid: 40f453ec-fa1a-4367-bdef-a74bab61d5ad
langcode: en
status: true
dependencies:
config:
- commerce_product.commerce_product_variation_type.materio_product_variation_type
- field.storage.commerce_product_variation.field_price_description
module:
- text
id: commerce_product_variation.materio_product_variation_type.field_price_description
field_name: field_price_description
entity_type: commerce_product_variation
bundle: materio_product_variation_type
label: 'price description'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: text_long

View File

@@ -1,4 +1,4 @@
uuid: 9a3272dc-0077-4def-bd19-6c401287e4a3
uuid: 43356247-86e1-4ebc-8269-6893a340d2ec
langcode: en
status: true
dependencies:
@@ -9,9 +9,9 @@ dependencies:
third_party_settings:
field_permissions:
permission_type: public
id: commerce_product_variation.field_price_description
id: commerce_product.field_price_description
field_name: field_price_description
entity_type: commerce_product_variation
entity_type: commerce_product
type: text_long
settings: { }
module: text