You are here

uc_quote.schema.yml in Ubercart 8.4

shipping/uc_quote/config/schema/uc_quote.schema.yml

File

shipping/uc_quote/config/schema/uc_quote.schema.yml
View source
  1. # Schema for the configuration files of the uc_quote module.
  2. uc_quote.settings:
  3. type: config_object
  4. label: 'Store settings'
  5. mapping:
  6. display_debug:
  7. type: boolean
  8. label: 'Flag to set debug preference'
  9. require_quote:
  10. type: boolean
  11. label: 'Flag to require quote for checkout'
  12. shipping_type:
  13. type: string
  14. label: ''
  15. type_weight:
  16. type: mapping
  17. label: ''
  18. mapping:
  19. small_package:
  20. type: integer
  21. label: ''
  22. ship_from_address:
  23. type: mapping
  24. label: ''
  25. mapping:
  26. first_name:
  27. type: string
  28. label: ''
  29. last_name:
  30. type: string
  31. label: ''
  32. company:
  33. type: string
  34. label: ''
  35. street1:
  36. type: string
  37. label: ''
  38. street2:
  39. type: string
  40. label: ''
  41. city:
  42. type: string
  43. label: ''
  44. zone:
  45. type: string
  46. label: ''
  47. country:
  48. type: string
  49. label: ''
  50. postal_code:
  51. type: string
  52. label: ''
  53. phone:
  54. type: string
  55. label: ''
  56. uc_quote.method.*:
  57. type: config_entity
  58. label: 'Shipping method config'
  59. mapping:
  60. id:
  61. type: string
  62. label: 'ID'
  63. label:
  64. type: label
  65. label: 'Label'
  66. weight:
  67. type: integer
  68. label: 'Weight'
  69. plugin:
  70. type: string
  71. label: 'Plugin'
  72. settings:
  73. type: quote_method.settings.[%parent.plugin]
  74. quote_method.settings.*:
  75. type: quote_method_settings
  76. quote_method.settings.flatrate:
  77. type: mapping
  78. label: 'Shipping quote method configuration settings'
  79. mapping:
  80. base_rate:
  81. type: float
  82. label: 'Base rate (per order rate)'
  83. product_rate:
  84. type: float
  85. label: 'Per product rate'
  86. field:
  87. type: string
  88. label: 'Product field holding override values'
  89. quote_method.settings.percentage_rate:
  90. type: mapping
  91. label: 'Shipping quote method configuration settings'
  92. mapping:
  93. base_rate:
  94. type: float
  95. label: 'Base rate (per order rate)'
  96. product_rate:
  97. type: float
  98. label: 'Per product rate'
  99. field:
  100. type: string
  101. label: 'Product field holding override values'
  102. quote_method.settings.weightquote:
  103. type: mapping
  104. label: 'Shipping quote method configuration settings'
  105. mapping:
  106. base_rate:
  107. type: float
  108. label: 'Base rate (per order rate)'
  109. product_rate:
  110. type: float
  111. label: 'Per product rate'
  112. field:
  113. type: string
  114. label: 'Product field holding override values'
  115. uc_cart_pane.quotes:
  116. type: mapping
  117. label: 'Shipping quotes cart pane configuration settings'