Widgets

Use widgets in any Customer Service Center customizable area. Commonly used widgets include attribute_layout attribute_form, attribute_listing, text, link, tabs.

Widgets are always named directly and configured by registering them with a type.

Name Type Description
config object an object that contains widget-specific configurations
type string the required widget type

The following is an example of widget registration:

"widgets": {
    "description": {
      "type": "attribute_listing",
      "config": {
        "attributes": [
          "system_attribute",
          "c_customAttribute"
        ],
        "columns": 2
      }
    },
    "my_layout" : {
      "type" : "attribute_layout"
    },
    "option-selector": {
      "type": "product_option"
    },
    "quantity-selector": {
      "type": "product_quantity"
    }
  }

Widgets include:

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.