Editor - Settings - Checkoutfields

This is the mode that opens when the function showCheckoutFields() is used in the view theme/views/editor/settings/includes/general.html and allows you to manage two fields specific to checkout fields that are enabled and required.

Main models

  • checkoutfields: contains in an array all the checkout fields of the project.

Utility Functions

  • hideCheckoutFields(): This function is used to close the modal
  • updateCheckoutField(field): this function allows updating enabled and required of the checkout fields.

Example of base theme