Feature Pack 7 or later

Troubleshooting: Missing product attribute or swatch values

Problem

If a product with defining attribute dictionary attributes contains 100 or more SKUs, the search REST services product view byId and byIds methods return only the first 100 SKUs.

As a result, some attribute values or swatches are missing from product listings and product display pages.

Solution

A default value of 100 is set for performance reasons when multiple products exist with multiple SKUs.

To resolve this issue, increase the following group.limit value in the WebSphere Commerce search configuration file (wc-search.xml) to a higher number. For example, to increase the value to 1000:

<_config:profile name="IBM_findCatalogEntrySKUs" indexName="CatalogEntry">
   <_config:group>
      <_config:param name="group.limit" value="1000"/>
   </_config:group>
</_config:profile>

Similarly, there is a limit on the number of attachments that is set to 100 by default. If your catalog contains multiple SKUs, it likely contains many attachments, since swatch images are stored as attachments.

To resolve this issue, increase the following group.limit value in the WebSphere Commerce search configuration file (wc-search.xml) to a higher number. For example, to increase the value to 1000:

<_config:profile name="IBM_findCatalogEntryAssociatedAssets" indexName="UnstructuredContent">
   <_config:group>
      <_config:param name="group.limit" value="1000"/> 
   </_config:group>
</_config:profile>

For more information, see Changing properties in the WebSphere Commerce search configuration file (wc-search.xml) (Search EAR).