Troubleshooting: Missing Store configuration properties in Management Center
After you migrate your Madison store or Elite store to HCL Commerce Version 9.1, Store configuration features in Management Center for HCL Commerce go missing.
Problem
Your store properties view file is missing the necessary configuration that pertains to the missing property in Management Center. For example, the Wish List property under Store configuration. This is usually the result of a missed step during the Management Center migration process.
Solution
To fix this problem you must determine the property name of the missing store feature, and then
add the necessary code to your StorePropertiesView.xml file.
- Run the following SQL statement to obtain a list of store
features.
select name from emspot where usagetype='STOREFEATURE';
- From the list of returned store features, determine the name of the missing
store feature. For example, if you are missing the Wish List from Management Center, you use the
wishList
feature name. - Open the following file for
editing.
workspace_dir/LOBTools/WebContent/WEB-INF/src/xml/commerce/store/propertiesViews/StorePropertiesView.xml
- Locate the following section of
code:
<PropertyTabPane name="Configurations" text="${storeResources.ConfigurationsPanel.title}"> <EnablementOrCondition conditionId="configurationsTab">
- Under the
<EnablementOrCondition conditionId="configurationsTab">
condition, add the following object path:<EnablementCondition objectPath="StoreFlow[name=wishList]" propertyName="hiddenFeature" enablementValue="false" />
The following code is an example of the updated code:PropertyTabPane name="Configurations" text="${storeResources.ConfigurationsPanel.title}"> <EnablementOrCondition conditionId="configurationsTab"> <EnablementCondition objectPath="StoreFlow[name=FacebookIntegration]" propertyName="hiddenFeature" enablementValue="false" /> <EnablementCondition objectPath="StoreFlow[name=StoreLocator]" propertyName="hiddenFeature" enablementValue="false" /> <EnablementCondition objectPath="StoreFlow[name=BOPIS]" propertyName="hiddenFeature" enablementValue="false" /> <EnablementCondition objectPath="StoreFlow[name=SOAWishlist]" propertyName="hiddenFeature" enablementValue="false" /> <EnablementCondition objectPath="StoreFlow[name=RecurringOrders]" propertyName="hiddenFeature" enablementValue="false" /> <EnablementCondition objectPath="StoreFlow[name=UseSynonyms]" propertyName="hiddenFeature" enablementValue="false" /> <EnablementCondition objectPath="StoreFlow[name=on-behalf-of-csr]" propertyName="hiddenFeature" enablementValue="false" /> <EnablementCondition objectPath="StoreFlow[name=Subscription]" propertyName="hiddenFeature" enablementValue="false" /> <EnablementCondition objectPath="StoreFlow[name=CDNCaching]" propertyName="hiddenFeature" enablementValue="false" /> <EnablementCondition objectPath="StoreFlow[name=wishList]" propertyName="hiddenFeature" enablementValue="false" /> </EnablementOrCondition> <PropertyPane baseDefinition="cmc/store/ConfigurationsFlexFlow"/> </PropertyTabPane>
- Locate the following flex flow configuration section of
code:
<PropertyPane definitionName="cmc/store/ConfigurationsFlexFlow">
- Add a
PropertyGroup
under thePropertyPane
section by inserting the following section code:<PropertyGroup name="groupWishlist" collapsable="false"> <EnablementCondition objectPath="StoreFlow[name=wishList]" propertyName="hiddenFeature" enablementValue="false" /> <PropertyCheckbox helpText="${storeResources.WishList.SOAwishlistEnabled.description}" name="NewWishList.checkbox" objectPath="StoreFlow[name=wishList]" promptText="${storeResources.Wishlist.enabled.label}" propertyName="enabled"/> </PropertyGroup>
The following code is an example of how the file looks after you add the Wish List properties code.<PropertyPane definitionName="cmc/store/ConfigurationsFlexFlow"> <PropertyGroup collapsable="false" name="group"> <PropertyStaticText text="${storeResources.ConfigurationsPanel.description}"/> ...... ...... <PropertyGroup name="groupWishlist" collapsable="false"> <EnablementCondition objectPath="StoreFlow[name=wishList]" propertyName="hiddenFeature" enablementValue="false" /> <PropertyCheckbox helpText="${storeResources.WishList.SOAwishlistEnabled.description}" name="NewWishList.checkbox" objectPath="StoreFlow[name=wishList]" promptText="${storeResources.Wishlist.enabled.label}" propertyName="enabled"/> </PropertyGroup> </PropertyGroup> </PropertyPane>
- Save and close the file.