An extension can contain site settings, which are configurable parameters that are globally accessible to the storefront code. Site settings are added to the Site view model and are available for use by all widgets. Site settings allow you to create a single setting that controls a feature across multiple widgets.

A site settings extension creates a custom settings panel in the administration interface after it has been uploaded. This panel allows merchandisers to configure the settings. To see a site settings panel, go to the Settings page and click the name of the site settings extension under Extension Settings. For example, the illustration below shows a Sample Site Settings extension that allows a merchandiser to configure a variety of settings.

This illustration is described in the preceding text.

Any site settings you create can be referenced from a widget’s HTML template using a data-bind attribute. Examples for creating the data-bind are provided later in this section.


Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices