Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

State Policies

State Policies

UI widgets in the Commerce Manager client can have one of three states:

  • editable (the user can view and modify the value displayed in the widget)
  • read-only (the user can only view the value)
  • disabled (the widget is disabled and the user cannot view or modify the value)

The state of a widget at a given time depends on several factors. For example, if a text widget displays product data, only users who are assigned to a catalog that contains that product should be allowed to see that value and only users with the Manage Products and SKUs permission should be allowed to modify that value. Furthermore, if the Change Sets feature is enabled and that product is in a locked Change Set, only users who are assigned to that Change Set should be allowed to see that value.

Managing the states of different widgets can become very complex when you have many controls displaying data from different sources in the same dialog. State Policies provide a way to manage the state of UI widgets in the Commerce Manager client.