You are here

commerce_cart.schema.yml in Commerce Core 8.2

modules/cart/config/schema/commerce_cart.schema.yml

File

modules/cart/config/schema/commerce_cart.schema.yml
View source
  1. commerce_order.commerce_order_type.*.third_party.commerce_cart:
  2. type: mapping
  3. label: 'Shopping cart settings'
  4. mapping:
  5. cart_block_view:
  6. type: string
  7. label: 'Shopping cart block view'
  8. cart_form_view:
  9. type: string
  10. label: 'Shopping cart form view'
  11. cart_expiration:
  12. type: mapping
  13. label: 'Shopping cart expiration'
  14. mapping:
  15. number:
  16. type: integer
  17. label: 'Interval'
  18. unit:
  19. type: string
  20. label: 'Unit'
  21. block.settings.commerce_cart:
  22. type: block_settings
  23. label: 'Cart block'
  24. mapping:
  25. dropdown:
  26. type: boolean
  27. label: 'Display cart contents in dropdown'
  28. views.field.commerce_order_item_edit_quantity:
  29. type: views.field.field
  30. mapping:
  31. allow_decimal:
  32. type: boolean
  33. label: 'Allow decimal quantity'