Reference Experience

Add a conversational interface to the Elastic Path platform by implementing this reference experience of an Amazon Lex chatbot. Learn how to integrate the Reference Chatbot with the React PWA Reference Storefront.

Then call
com.elasticpath.cmclient.conditionbuilder.impl.tag.ConditionBuilderFactoryImpl
from e,g
com.elasticpath.cmclient.store.targetedselling.conditionalexpression.editors.ShopperConditionBuilderSection

Making the Condition Builder State Policy Aware

The plugin's State Policy is not automatically applied to the constituent controls of the Condition Builder composite. You must add a StateChangeTarget to the state policy container and override StateChangeTarget's setState to call EpControlFactory.changeEpStateForComposite. The first parameter to the changeEpStateForComposite is the Condition Builder composite. The second parameter is the new state.

The following example shows how to apply the state policy to those controls.