commerce_shipping-8.x-2.0-rc2/config/schema/commerce_shipping.schema.yml

config/schema/commerce_shipping.schema.yml
commerce.commerce_condition.plugin.shipment_address:
  type: commerce_condition_configuration
  mapping:
    zone:
      type: address_zone
      label: 'Zone'

commerce.commerce_condition.plugin.order_shipping_method:
  type: commerce_condition_configuration
  mapping:
    shipping_methods:
      type: sequence
      label: 'Shipping methods'
      orderby: value
      sequence:
        type: string
        label: 'Shipping method'

commerce.commerce_condition.plugin.shipment_quantity:
  type: commerce_condition_configuration
  mapping:
    operator:
      type: string
      label: 'Operator'
    quantity:
      type: integer
      label: 'Quantity'

commerce.commerce_condition.plugin.shipment_weight:
  type: commerce_condition_configuration
  mapping:
    operator:
      type: string
      label: 'Operator'
    weight:
      type: field.value.physical_measurement
      label: 'Weight'
    max_weight:
      type: field.value.physical_measurement
      label: 'Max weight'

commerce_order.commerce_order_type.*.third_party.commerce_shipping:
  type: mapping
  label: 'Shipping settings'
  mapping:
    shipment_type:
      type: string
      label: 'Shipment type'

commerce_checkout.commerce_checkout_pane.shipping_information:
  type: commerce_checkout_pane_configuration
  mapping:
    auto_recalculate:
      type: boolean
      label: 'Auto recalculate shipping costs when the shipping address changes'
    require_shipping_profile:
      type: boolean
      label: 'Hide shipping costs until an address is entered'

commerce_shipping.commerce_shipping_method.plugin.*:
  type: commerce_shipping_method_configuration

commerce_shipping.commerce_shipping_method.plugin.flat_rate:
  type: commerce_shipping_method_configuration
  mapping:
    rate_label:
      type: label
      label: 'Rate label'
    rate_amount:
      type: field.value.commerce_price
      label: 'Rate amount'

commerce_shipping.commerce_shipping_method.plugin.flat_rate_per_item:
  type: commerce_shipping_method_configuration
  mapping:
    rate_label:
      type: label
      label: 'Rate label'
    rate_description:
      type: label
      label: 'Rate description'
    rate_amount:
      type: field.value.commerce_price
      label: 'Rate amount'

commerce_shipping_method_configuration:
  type: mapping
  mapping:
    default_package_type:
      type: string
      label: 'Default package type'
    services:
      type: sequence
      label: 'Services'
      orderby: value
      sequence:
        type: string
    workflow:
      type: string
      label: 'Shipment workflow'

commerce_shipping.commerce_shipment_type.*:
  type: commerce_config_entity_bundle
  label: 'Shipment type'
  mapping:
    profileType:
      type: string
      label: 'The profile type'
    sendConfirmation:
      type: boolean
      label: 'Send Confirmation'
    confirmationBcc:
      type: string
      label: 'The confirmation BCC email'

commerce_shipping.commerce_package_type.*:
  type: config_entity
  label: 'Package type'
  mapping:
    id:
      type: string
      label: 'Machine-readable name'
    label:
      type: label
      label: 'Label'
    dimensions:
      type: field.value.physical_dimensions
      label: 'Dimensions'
    weight:
      type: field.value.physical_measurement
      label: 'Weight'

commerce_tax.commerce_tax_type.plugin.shipping:
  type: commerce_tax_type_configuration
  mapping:
    strategy:
      type: string
      label: 'Strategy'
    store_filter:
      type: string
      label: 'Store filter'
    stores:
      type: sequence
      label: 'Stores'
      orderby: value
      sequence:
        type: string
        label: 'Store'

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc