Feature Pack 7 or later

Enabling interim fix JR54241

Interim fix JR54241 covers multiple issues that are related to the display of SKU information on your storefront.

  • Resolves an issue where the Product details page continues to display SKU information after a shopper removes a selected defining attribute. Enable this fix to change your store behavior so that the Product details page displays product information instead of SKU information when a selected defining attribute is removed.
  • Resolves an issue where a single SKU page with no defining attributes constantly reloads.
  • Resolves an issue where thumbnail angle images do not display for single SKU items that do not have any defining attributes.
    Note: After you enable this fix, when you remove defining attributes from an existing product, and the product is left with a single SKU, thumbnail angle images still might not display for the single SKU item. To fix the problem, run the Database Cleanup utility. You need to run the utility because some of the SKUs that are markedfordelete are not removed from the database. If the SKUs are not removed, then the product is still considered to contain multiple SKUs. Therefore, the single remaining SKU does not properly display the thumbnail angle images.

Before you begin

Ensure that the latest cumulative interim fix is installed

Procedure

  1. Compare and merge store-related changes that are included with this fix.
    For more information, see Enabling store-related interim fixes.
  2. Open the WC_eardir/Stores.war/storedir/ShoppingArea/CatalogSection/CatalogEntrySubsection/ProductDisplay.jsp file.
  3. Set the displaySKUContextData variable to true.
    For example, change
    <c:set var="displaySKUContextData" value="false" scope="request" />
    to
    <c:set var="displaySKUContextData" value="true" scope="request" />
  4. Open the WC_eardir/Stores.war/Widgets/Common/EnvironmentSetup.jspf file.
  5. Set the env_displaySKUContextData variable to true.
    For example, change
    <c:set var="env_displaySKUContextData" value="false" scope="request" />
    to
    <c:set var="env_displaySKUContextData" value="true" scope="request" />
  6. If JSP caching for widgets is enabled, you need to update the cachespec.xml file.
    1. Open the WC_eardir/Stores.war/WEB-INF/cachespec.xml file.
    2. Comment out or delete the <dependency-id>ignoreDoNotConsume</dependency-id> code snippet to turn off caching for the defining attributes widget:
    For example, the code snippet is commented out in the following sample:
    <cache-entry>            
        <class>servlet</class>      
        <name>/Widgets/com.ibm.commerce.store.widgets.PDP_DefiningAttributes/DefiningAttributes.jsp</name>  
        <property name="save-attributes">false</property>          
        <property name="consume-subfragments">true</property>             
        <property name="do-not-consume">true</property>  
        <!--  will be reset to false, since ignoreDoNotConsume dependency-id  is present -->            
        <property name="do-not-cache">true</property>             
        <cache-id>      
            <component id="langId" type="parameter">                  
                <required>true</required>                
            </component>          
        </cache-id>            
        <dependency-id>storeId:productId      
            <component id="storeId" type="parameter">              
                <required>true</required>                
            </component>      
            <component id="catEntryIdentifier" type="parameter">          
                 <required>true</required>                
            </component>  
        </dependency-id>            
        <dependency-id>productId      
            <component id="catEntryIdentifier" type="parameter">          
                <required>true</required>                
            </component>  
        </dependency-id>                                      
        <!--<dependency-id>ignoreDoNotConsume</dependency-id>-->    
    </cache-entry>